GET api/types?pageNumber={pageNumber}&pageSize={pageSize}
Lists all 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 | string |
None. |
|
| type_archived | boolean |
None. |
|
| type_id | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"type": "sample string 1",
"type_archived": true,
"type_id": "197b4688-605f-4f7e-99d5-d74112bd0a11"
},
{
"type": "sample string 1",
"type_archived": true,
"type_id": "197b4688-605f-4f7e-99d5-d74112bd0a11"
}
]
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>197b4688-605f-4f7e-99d5-d74112bd0a11</type_id>
</ArcheryType>
<ArcheryType>
<type>sample string 1</type>
<type_archived>true</type_archived>
<type_id>197b4688-605f-4f7e-99d5-d74112bd0a11</type_id>
</ArcheryType>
</ArrayOfArcheryType>