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

Lists current handicaps filtered by the provided id in GUID format. For example class_id will list all current handicaps 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 Handicap
NameDescriptionTypeAdditional information
name

string

None.

class_id

globally unique identifier

None.

season_id

globally unique identifier

None.

handicap

integer

None.

bow_class

string

None.

achieved

date

None.

updated

date

None.

type

string

None.

class_archived

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "class_id": "bf6a4f0e-2930-4a36-81ad-6c7754860382",
    "season_id": "b6f81a7a-eac1-4da2-ab1a-031c767ef1e7",
    "handicap": 4,
    "bow_class": "sample string 5",
    "achieved": "2024-10-21T09:09:05.2702716+01:00",
    "updated": "2024-10-21T09:09:05.2702716+01:00",
    "type": "sample string 8",
    "class_archived": true
  },
  {
    "name": "sample string 1",
    "class_id": "bf6a4f0e-2930-4a36-81ad-6c7754860382",
    "season_id": "b6f81a7a-eac1-4da2-ab1a-031c767ef1e7",
    "handicap": 4,
    "bow_class": "sample string 5",
    "achieved": "2024-10-21T09:09:05.2702716+01:00",
    "updated": "2024-10-21T09:09:05.2702716+01:00",
    "type": "sample string 8",
    "class_archived": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfHandicap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App">
  <Handicap>
    <achieved>2024-10-21T09:09:05.2702716+01:00</achieved>
    <bow_class>sample string 5</bow_class>
    <class_archived>true</class_archived>
    <class_id>bf6a4f0e-2930-4a36-81ad-6c7754860382</class_id>
    <handicap>4</handicap>
    <name>sample string 1</name>
    <season_id>b6f81a7a-eac1-4da2-ab1a-031c767ef1e7</season_id>
    <type>sample string 8</type>
    <updated>2024-10-21T09:09:05.2702716+01:00</updated>
  </Handicap>
  <Handicap>
    <achieved>2024-10-21T09:09:05.2702716+01:00</achieved>
    <bow_class>sample string 5</bow_class>
    <class_archived>true</class_archived>
    <class_id>bf6a4f0e-2930-4a36-81ad-6c7754860382</class_id>
    <handicap>4</handicap>
    <name>sample string 1</name>
    <season_id>b6f81a7a-eac1-4da2-ab1a-031c767ef1e7</season_id>
    <type>sample string 8</type>
    <updated>2024-10-21T09:09:05.2702716+01:00</updated>
  </Handicap>
</ArrayOfHandicap>

multipart/form-data

Sample:
<ArrayOfHandicap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App"><Handicap><achieved>2024-10-21T09:09:05.2702716+01:00</achieved><bow_class>sample string 5</bow_class><class_archived>true</class_archived><class_id>bf6a4f0e-2930-4a36-81ad-6c7754860382</class_id><handicap>4</handicap><name>sample string 1</name><season_id>b6f81a7a-eac1-4da2-ab1a-031c767ef1e7</season_id><type>sample string 8</type><updated>2024-10-21T09:09:05.2702716+01:00</updated></Handicap><Handicap><achieved>2024-10-21T09:09:05.2702716+01:00</achieved><bow_class>sample string 5</bow_class><class_archived>true</class_archived><class_id>bf6a4f0e-2930-4a36-81ad-6c7754860382</class_id><handicap>4</handicap><name>sample string 1</name><season_id>b6f81a7a-eac1-4da2-ab1a-031c767ef1e7</season_id><type>sample string 8</type><updated>2024-10-21T09:09:05.2702716+01:00</updated></Handicap></ArrayOfHandicap>