GET api/age-groups?pageNumber={pageNumber}&pageSize={pageSize}

Lists all age groups.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

integer

None.

pageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Age_Group
NameDescriptionTypeAdditional information
active

Gets if the age group is active.

boolean

None.

age

Gets the age limit of the age group.

integer

None.

age_group

Gets the age group.

string

None.

age_group_archived

Gets if the age group is archived.

boolean

None.

age_group_id

Gets the identifier of the age group.

globally unique identifier

None.

gender

Gets the gender of the age group.

string

None.

junior

Gets if the age group is junior (Under 18).

boolean

None.

locale

Gets the locale of the age group.

string

None.

lookup

Gets the lookup value of the age group. UK relevance only.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "active": true,
    "age": 2,
    "age_group": "sample string 3",
    "age_group_archived": true,
    "age_group_id": "24111c59-63b1-4221-8383-e9fc4fbe25a2",
    "gender": "sample string 6",
    "junior": true,
    "locale": "sample string 8",
    "lookup": "sample string 9"
  },
  {
    "active": true,
    "age": 2,
    "age_group": "sample string 3",
    "age_group_archived": true,
    "age_group_id": "24111c59-63b1-4221-8383-e9fc4fbe25a2",
    "gender": "sample string 6",
    "junior": true,
    "locale": "sample string 8",
    "lookup": "sample string 9"
  }
]

multipart/form-data

Sample:
[{"active":true,"age":2,"age_group":"sample string 3","age_group_archived":true,"age_group_id":"24111c59-63b1-4221-8383-e9fc4fbe25a2","gender":"sample string 6","junior":true,"locale":"sample string 8","lookup":"sample string 9"},{"active":true,"age":2,"age_group":"sample string 3","age_group_archived":true,"age_group_id":"24111c59-63b1-4221-8383-e9fc4fbe25a2","gender":"sample string 6","junior":true,"locale":"sample string 8","lookup":"sample string 9"}]

application/xml, text/xml

Sample:
<ArrayOfAge_Group xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API">
  <Age_Group>
    <active>true</active>
    <age>2</age>
    <age_group>sample string 3</age_group>
    <age_group_archived>true</age_group_archived>
    <age_group_id>24111c59-63b1-4221-8383-e9fc4fbe25a2</age_group_id>
    <gender>sample string 6</gender>
    <junior>true</junior>
    <locale>sample string 8</locale>
    <lookup>sample string 9</lookup>
  </Age_Group>
  <Age_Group>
    <active>true</active>
    <age>2</age>
    <age_group>sample string 3</age_group>
    <age_group_archived>true</age_group_archived>
    <age_group_id>24111c59-63b1-4221-8383-e9fc4fbe25a2</age_group_id>
    <gender>sample string 6</gender>
    <junior>true</junior>
    <locale>sample string 8</locale>
    <lookup>sample string 9</lookup>
  </Age_Group>
</ArrayOfAge_Group>