GET api/types?pageNumber={pageNumber}&pageSize={pageSize}
Lists all archery types.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageNumber | integer |
None. |
|
| pageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ArcheryType| Name | Description | Type | Additional information |
|---|---|---|---|
| type |
Gets or sets the archery type (eg Indoor) |
string |
Required |
| type_archived |
Gets or sets if the type is archived. |
boolean |
None. |
| type_id |
Gets identifier of the type. |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"type": "sample string 1",
"type_archived": true,
"type_id": "5424df83-1275-45ce-b765-f8591cf8b545"
},
{
"type": "sample string 1",
"type_archived": true,
"type_id": "5424df83-1275-45ce-b765-f8591cf8b545"
}
]
multipart/form-data
Sample:
[{"type":"sample string 1","type_archived":true,"type_id":"5424df83-1275-45ce-b765-f8591cf8b545"},{"type":"sample string 1","type_archived":true,"type_id":"5424df83-1275-45ce-b765-f8591cf8b545"}]
application/xml, text/xml
Sample:
<ArrayOfArcheryType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API">
<ArcheryType>
<type>sample string 1</type>
<type_archived>true</type_archived>
<type_id>5424df83-1275-45ce-b765-f8591cf8b545</type_id>
</ArcheryType>
<ArcheryType>
<type>sample string 1</type>
<type_archived>true</type_archived>
<type_id>5424df83-1275-45ce-b765-f8591cf8b545</type_id>
</ArcheryType>
</ArrayOfArcheryType>