GET api/types?pageNumber={pageNumber}&pageSize={pageSize}

Lists all types.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

integer

None.

pageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ArcheryType
NameDescriptionTypeAdditional 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": "bef352eb-4764-44bc-b195-0fd66800cd35"
  },
  {
    "type": "sample string 1",
    "type_archived": true,
    "type_id": "bef352eb-4764-44bc-b195-0fd66800cd35"
  }
]

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>bef352eb-4764-44bc-b195-0fd66800cd35</type_id>
  </ArcheryType>
  <ArcheryType>
    <type>sample string 1</type>
    <type_archived>true</type_archived>
    <type_id>bef352eb-4764-44bc-b195-0fd66800cd35</type_id>
  </ArcheryType>
</ArrayOfArcheryType>