GET api/rounds?pageNumber={pageNumber}&pageSize={pageSize}
Lists all rounds.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageNumber | integer |
None. |
|
| pageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of Round| Name | Description | Type | Additional information |
|---|---|---|---|
| active |
Gets if the round is active. |
boolean |
None. |
| locale |
Gets the locale of the round. |
string |
None. |
| lookup |
Gets the lookup value. UK relevance only |
string |
None. |
| max_score |
Gets the maximum score. |
integer |
None. |
| round |
Gets the round name. |
string |
None. |
| round_archived |
Gets if the round is archived. |
boolean |
None. |
| round_id |
Gets the identifier of the round. |
globally unique identifier |
None. |
| type |
Gets the type of the round. |
string |
None. |
| type_id |
Gets the identifier of the round type. |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"active": true,
"locale": "sample string 2",
"lookup": "sample string 3",
"max_score": 4,
"round": "sample string 5",
"round_archived": true,
"round_id": "05c2aecd-b874-4f75-a01e-e6695a0ef196",
"type": "sample string 8",
"type_id": "1fd66f71-0f0a-415f-8a3e-46ae64508489"
},
{
"active": true,
"locale": "sample string 2",
"lookup": "sample string 3",
"max_score": 4,
"round": "sample string 5",
"round_archived": true,
"round_id": "05c2aecd-b874-4f75-a01e-e6695a0ef196",
"type": "sample string 8",
"type_id": "1fd66f71-0f0a-415f-8a3e-46ae64508489"
}
]
multipart/form-data
Sample:
[{"active":true,"locale":"sample string 2","lookup":"sample string 3","max_score":4,"round":"sample string 5","round_archived":true,"round_id":"05c2aecd-b874-4f75-a01e-e6695a0ef196","type":"sample string 8","type_id":"1fd66f71-0f0a-415f-8a3e-46ae64508489"},{"active":true,"locale":"sample string 2","lookup":"sample string 3","max_score":4,"round":"sample string 5","round_archived":true,"round_id":"05c2aecd-b874-4f75-a01e-e6695a0ef196","type":"sample string 8","type_id":"1fd66f71-0f0a-415f-8a3e-46ae64508489"}]
application/xml, text/xml
Sample:
<ArrayOfRound xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API">
<Round>
<active>true</active>
<locale>sample string 2</locale>
<lookup>sample string 3</lookup>
<max_score>4</max_score>
<round>sample string 5</round>
<round_archived>true</round_archived>
<round_id>05c2aecd-b874-4f75-a01e-e6695a0ef196</round_id>
<type>sample string 8</type>
<type_id>1fd66f71-0f0a-415f-8a3e-46ae64508489</type_id>
</Round>
<Round>
<active>true</active>
<locale>sample string 2</locale>
<lookup>sample string 3</lookup>
<max_score>4</max_score>
<round>sample string 5</round>
<round_archived>true</round_archived>
<round_id>05c2aecd-b874-4f75-a01e-e6695a0ef196</round_id>
<type>sample string 8</type>
<type_id>1fd66f71-0f0a-415f-8a3e-46ae64508489</type_id>
</Round>
</ArrayOfRound>