POST api/Matches
Request Information
URI Parameters
None.
Body Parameters
Match| Name | Description | Type | Additional information |
|---|---|---|---|
| MatchID | integer |
None. |
|
| Compcode | string |
String length: inclusive between 0 and 10 |
|
| MatchType | string |
String length: inclusive between 0 and 1 |
|
| MatchNo | integer |
None. |
|
| Red1 | integer |
None. |
|
| Red2 | integer |
None. |
|
| Red3 | integer |
None. |
|
| Blue1 | integer |
None. |
|
| Blue2 | integer |
None. |
|
| Blue3 | integer |
None. |
|
| SchedDateTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"MatchID": 1,
"Compcode": "sample string 2",
"MatchType": "sample string 3",
"MatchNo": 4,
"Red1": 5,
"Red2": 6,
"Red3": 7,
"Blue1": 8,
"Blue2": 9,
"Blue3": 10,
"SchedDateTime": "2025-12-06T12:16:38.5177122+00:00"
}
application/xml, text/xml
Sample:
<Match xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fires2024API.Models"> <Blue1>8</Blue1> <Blue2>9</Blue2> <Blue3>10</Blue3> <Compcode>sample string 2</Compcode> <MatchID>1</MatchID> <MatchNo>4</MatchNo> <MatchType>sample string 3</MatchType> <Red1>5</Red1> <Red2>6</Red2> <Red3>7</Red3> <SchedDateTime>2025-12-06T12:16:38.5177122+00:00</SchedDateTime> </Match>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MatchDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| MatchType | string |
None. |
|
| MatchNo | integer |
None. |
|
| Red1 | integer |
None. |
|
| Red2 | integer |
None. |
|
| Red3 | integer |
None. |
|
| Blue1 | integer |
None. |
|
| Blue2 | integer |
None. |
|
| Blue3 | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"MatchType": "sample string 1",
"MatchNo": 2,
"Red1": 3,
"Red2": 4,
"Red3": 5,
"Blue1": 6,
"Blue2": 7,
"Blue3": 8
}
application/xml, text/xml
Sample:
<MatchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fires2024API.Models"> <Blue1>6</Blue1> <Blue2>7</Blue2> <Blue3>8</Blue3> <MatchNo>2</MatchNo> <MatchType>sample string 1</MatchType> <Red1>3</Red1> <Red2>4</Red2> <Red3>5</Red3> </MatchDTO>