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 ArcheryTypeName | 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": "cf9971e5-ae8f-41d3-b03e-ae3cb7745e97" }, { "type": "sample string 1", "type_archived": true, "type_id": "cf9971e5-ae8f-41d3-b03e-ae3cb7745e97" } ]
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>cf9971e5-ae8f-41d3-b03e-ae3cb7745e97</type_id> </ArcheryType> <ArcheryType> <type>sample string 1</type> <type_archived>true</type_archived> <type_id>cf9971e5-ae8f-41d3-b03e-ae3cb7745e97</type_id> </ArcheryType> </ArrayOfArcheryType>