GET api/Handicaps/{id}?pageNumber={pageNumber}&pageSize={pageSize}
Lists all handicaps filtered by the provided id in GUID format. For example class_id will list all handicaps with that class id.
Request Information
URI Parameters
Name | Description | Type | Additional 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 HandicapName | Description | Type | Additional 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": "c140e16a-ec13-4b65-a8c8-721667e5fb06", "season_id": "d94842c8-2a21-41b2-9e70-930dfc75eb42", "handicap": 4, "bow_class": "sample string 5", "achieved": "2024-11-28T08:34:56.7975361+00:00", "updated": "2024-11-28T08:34:56.7975361+00:00", "type": "sample string 8", "class_archived": true }, { "name": "sample string 1", "class_id": "c140e16a-ec13-4b65-a8c8-721667e5fb06", "season_id": "d94842c8-2a21-41b2-9e70-930dfc75eb42", "handicap": 4, "bow_class": "sample string 5", "achieved": "2024-11-28T08:34:56.7975361+00:00", "updated": "2024-11-28T08:34:56.7975361+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:34:56.7975361+00:00</achieved> <bow_class>sample string 5</bow_class> <class_archived>true</class_archived> <class_id>c140e16a-ec13-4b65-a8c8-721667e5fb06</class_id> <handicap>4</handicap> <name>sample string 1</name> <season_id>d94842c8-2a21-41b2-9e70-930dfc75eb42</season_id> <type>sample string 8</type> <updated>2024-11-28T08:34:56.7975361+00:00</updated> </Handicap> <Handicap> <achieved>2024-11-28T08:34:56.7975361+00:00</achieved> <bow_class>sample string 5</bow_class> <class_archived>true</class_archived> <class_id>c140e16a-ec13-4b65-a8c8-721667e5fb06</class_id> <handicap>4</handicap> <name>sample string 1</name> <season_id>d94842c8-2a21-41b2-9e70-930dfc75eb42</season_id> <type>sample string 8</type> <updated>2024-11-28T08:34:56.7975361+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:34:56.7975361+00:00</achieved><bow_class>sample string 5</bow_class><class_archived>true</class_archived><class_id>c140e16a-ec13-4b65-a8c8-721667e5fb06</class_id><handicap>4</handicap><name>sample string 1</name><season_id>d94842c8-2a21-41b2-9e70-930dfc75eb42</season_id><type>sample string 8</type><updated>2024-11-28T08:34:56.7975361+00:00</updated></Handicap><Handicap><achieved>2024-11-28T08:34:56.7975361+00:00</achieved><bow_class>sample string 5</bow_class><class_archived>true</class_archived><class_id>c140e16a-ec13-4b65-a8c8-721667e5fb06</class_id><handicap>4</handicap><name>sample string 1</name><season_id>d94842c8-2a21-41b2-9e70-930dfc75eb42</season_id><type>sample string 8</type><updated>2024-11-28T08:34:56.7975361+00:00</updated></Handicap></ArrayOfHandicap>