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

Lists all archery 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

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": "36a7bfca-e8f1-47dd-bc6e-a7a3faacb063"
  },
  {
    "type": "sample string 1",
    "type_archived": true,
    "type_id": "36a7bfca-e8f1-47dd-bc6e-a7a3faacb063"
  }
]

multipart/form-data

Sample:
[{"type":"sample string 1","type_archived":true,"type_id":"36a7bfca-e8f1-47dd-bc6e-a7a3faacb063"},{"type":"sample string 1","type_archived":true,"type_id":"36a7bfca-e8f1-47dd-bc6e-a7a3faacb063"}]

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>36a7bfca-e8f1-47dd-bc6e-a7a3faacb063</type_id>
  </ArcheryType>
  <ArcheryType>
    <type>sample string 1</type>
    <type_archived>true</type_archived>
    <type_id>36a7bfca-e8f1-47dd-bc6e-a7a3faacb063</type_id>
  </ArcheryType>
</ArrayOfArcheryType>