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": "40e0692d-1914-430a-9c3d-451c06a9cac4",
    "season_id": "45c9219e-3c46-4693-b70a-9662d7ae1d19",
    "handicap": 4,
    "bow_class": "sample string 5",
    "achieved": "2024-11-28T08:37:57.6552231+00:00",
    "updated": "2024-11-28T08:37:57.6552231+00:00",
    "type": "sample string 8",
    "class_archived": true
  },
  {
    "name": "sample string 1",
    "class_id": "40e0692d-1914-430a-9c3d-451c06a9cac4",
    "season_id": "45c9219e-3c46-4693-b70a-9662d7ae1d19",
    "handicap": 4,
    "bow_class": "sample string 5",
    "achieved": "2024-11-28T08:37:57.6552231+00:00",
    "updated": "2024-11-28T08:37:57.6552231+00: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-11-28T08:37:57.6552231+00:00</achieved>
    <bow_class>sample string 5</bow_class>
    <class_archived>true</class_archived>
    <class_id>40e0692d-1914-430a-9c3d-451c06a9cac4</class_id>
    <handicap>4</handicap>
    <name>sample string 1</name>
    <season_id>45c9219e-3c46-4693-b70a-9662d7ae1d19</season_id>
    <type>sample string 8</type>
    <updated>2024-11-28T08:37:57.6552231+00:00</updated>
  </Handicap>
  <Handicap>
    <achieved>2024-11-28T08:37:57.6552231+00:00</achieved>
    <bow_class>sample string 5</bow_class>
    <class_archived>true</class_archived>
    <class_id>40e0692d-1914-430a-9c3d-451c06a9cac4</class_id>
    <handicap>4</handicap>
    <name>sample string 1</name>
    <season_id>45c9219e-3c46-4693-b70a-9662d7ae1d19</season_id>
    <type>sample string 8</type>
    <updated>2024-11-28T08:37:57.6552231+00: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-11-28T08:37:57.6552231+00:00</achieved><bow_class>sample string 5</bow_class><class_archived>true</class_archived><class_id>40e0692d-1914-430a-9c3d-451c06a9cac4</class_id><handicap>4</handicap><name>sample string 1</name><season_id>45c9219e-3c46-4693-b70a-9662d7ae1d19</season_id><type>sample string 8</type><updated>2024-11-28T08:37:57.6552231+00:00</updated></Handicap><Handicap><achieved>2024-11-28T08:37:57.6552231+00:00</achieved><bow_class>sample string 5</bow_class><class_archived>true</class_archived><class_id>40e0692d-1914-430a-9c3d-451c06a9cac4</class_id><handicap>4</handicap><name>sample string 1</name><season_id>45c9219e-3c46-4693-b70a-9662d7ae1d19</season_id><type>sample string 8</type><updated>2024-11-28T08:37:57.6552231+00:00</updated></Handicap></ArrayOfHandicap>