GET api/archers?id={id}&pageNumber={pageNumber}&pageSize={pageSize}

Lists archer data by the provided id in GUID format. For example class_id will list all archer records with that class id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

A GUID (Globally Unique Identifier) in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

globally unique identifier

Required

pageNumber

integer

None.

pageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Archer
NameDescriptionTypeAdditional information
address

string

None.

archer_archived

boolean

None.

archer_id

globally unique identifier

None.

bow_class

string

None.

category

string

None.

category_id

globally unique identifier

None.

class_id

globally unique identifier

None.

coachinglevel

string

None.

consent

boolean

None.

date_of_birth

date

None.

email

string

None.

emergencycontact

string

None.

emergencyphone

string

None.

joined

date

None.

junior

boolean

None.

membership_id

string

None.

name

string

None.

notes

string

None.

phone

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "address": "sample string 1",
    "archer_archived": true,
    "archer_id": "b1b161f1-f927-4b79-8737-196342aad333",
    "bow_class": "sample string 4",
    "category": "sample string 5",
    "category_id": "acf7aeea-1fb9-47e0-b83d-3796bf7512a8",
    "class_id": "316d518a-1e59-47fb-bade-ae2f7a1a356e",
    "coachinglevel": "sample string 8",
    "consent": true,
    "date_of_birth": "2024-05-21T12:57:54.0360785+01:00",
    "email": "sample string 11",
    "emergencycontact": "sample string 12",
    "emergencyphone": "sample string 13",
    "joined": "2024-05-21T12:57:54.0360785+01:00",
    "junior": true,
    "membership_id": "sample string 16",
    "name": "sample string 17",
    "notes": "sample string 18",
    "phone": "sample string 19"
  },
  {
    "address": "sample string 1",
    "archer_archived": true,
    "archer_id": "b1b161f1-f927-4b79-8737-196342aad333",
    "bow_class": "sample string 4",
    "category": "sample string 5",
    "category_id": "acf7aeea-1fb9-47e0-b83d-3796bf7512a8",
    "class_id": "316d518a-1e59-47fb-bade-ae2f7a1a356e",
    "coachinglevel": "sample string 8",
    "consent": true,
    "date_of_birth": "2024-05-21T12:57:54.0360785+01:00",
    "email": "sample string 11",
    "emergencycontact": "sample string 12",
    "emergencyphone": "sample string 13",
    "joined": "2024-05-21T12:57:54.0360785+01:00",
    "junior": true,
    "membership_id": "sample string 16",
    "name": "sample string 17",
    "notes": "sample string 18",
    "phone": "sample string 19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfArcher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models">
  <Archer>
    <address>sample string 1</address>
    <archer_archived>true</archer_archived>
    <archer_id>b1b161f1-f927-4b79-8737-196342aad333</archer_id>
    <bow_class>sample string 4</bow_class>
    <category>sample string 5</category>
    <category_id>acf7aeea-1fb9-47e0-b83d-3796bf7512a8</category_id>
    <class_id>316d518a-1e59-47fb-bade-ae2f7a1a356e</class_id>
    <coachinglevel>sample string 8</coachinglevel>
    <consent>true</consent>
    <date_of_birth>2024-05-21T12:57:54.0360785+01:00</date_of_birth>
    <email>sample string 11</email>
    <emergencycontact>sample string 12</emergencycontact>
    <emergencyphone>sample string 13</emergencyphone>
    <joined>2024-05-21T12:57:54.0360785+01:00</joined>
    <junior>true</junior>
    <membership_id>sample string 16</membership_id>
    <name>sample string 17</name>
    <notes>sample string 18</notes>
    <phone>sample string 19</phone>
  </Archer>
  <Archer>
    <address>sample string 1</address>
    <archer_archived>true</archer_archived>
    <archer_id>b1b161f1-f927-4b79-8737-196342aad333</archer_id>
    <bow_class>sample string 4</bow_class>
    <category>sample string 5</category>
    <category_id>acf7aeea-1fb9-47e0-b83d-3796bf7512a8</category_id>
    <class_id>316d518a-1e59-47fb-bade-ae2f7a1a356e</class_id>
    <coachinglevel>sample string 8</coachinglevel>
    <consent>true</consent>
    <date_of_birth>2024-05-21T12:57:54.0360785+01:00</date_of_birth>
    <email>sample string 11</email>
    <emergencycontact>sample string 12</emergencycontact>
    <emergencyphone>sample string 13</emergencyphone>
    <joined>2024-05-21T12:57:54.0360785+01:00</joined>
    <junior>true</junior>
    <membership_id>sample string 16</membership_id>
    <name>sample string 17</name>
    <notes>sample string 18</notes>
    <phone>sample string 19</phone>
  </Archer>
</ArrayOfArcher>