GET api/currenthandicaps?id={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
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 |
---|---|---|---|
achieved | date |
None. |
|
archer_archived | boolean |
None. |
|
archer_id | globally unique identifier |
None. |
|
bow_class | string |
None. |
|
class_archived | boolean |
None. |
|
class_id | globally unique identifier |
None. |
|
handicap | integer |
None. |
|
handicap_id | globally unique identifier |
None. |
|
name | string |
None. |
|
season_id | globally unique identifier |
None. |
|
type | string |
None. |
|
type_id | globally unique identifier |
None. |
|
updated | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "achieved": "2024-05-21T11:12:46.3547569+01:00", "archer_archived": true, "archer_id": "367c1faa-22ba-4641-8509-7f6587bd0990", "bow_class": "sample string 4", "class_archived": true, "class_id": "19361c33-c981-4c5b-980e-c5d676acae77", "handicap": 7, "handicap_id": "b40ad5e4-3664-4cfa-bd3a-d305b04d8c56", "name": "sample string 9", "season_id": "85634494-c903-4a2b-ac20-2c194795dbc3", "type": "sample string 11", "type_id": "5182dbf9-be62-4574-a199-3546e4632d9c", "updated": "2024-05-21T11:12:46.3547569+01:00" }, { "achieved": "2024-05-21T11:12:46.3547569+01:00", "archer_archived": true, "archer_id": "367c1faa-22ba-4641-8509-7f6587bd0990", "bow_class": "sample string 4", "class_archived": true, "class_id": "19361c33-c981-4c5b-980e-c5d676acae77", "handicap": 7, "handicap_id": "b40ad5e4-3664-4cfa-bd3a-d305b04d8c56", "name": "sample string 9", "season_id": "85634494-c903-4a2b-ac20-2c194795dbc3", "type": "sample string 11", "type_id": "5182dbf9-be62-4574-a199-3546e4632d9c", "updated": "2024-05-21T11:12:46.3547569+01:00" } ]
application/xml, text/xml
Sample:
<ArrayOfHandicap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API"> <Handicap> <achieved>2024-05-21T11:12:46.3547569+01:00</achieved> <archer_archived>true</archer_archived> <archer_id>367c1faa-22ba-4641-8509-7f6587bd0990</archer_id> <bow_class>sample string 4</bow_class> <class_archived>true</class_archived> <class_id>19361c33-c981-4c5b-980e-c5d676acae77</class_id> <handicap>7</handicap> <handicap_id>b40ad5e4-3664-4cfa-bd3a-d305b04d8c56</handicap_id> <name>sample string 9</name> <season_id>85634494-c903-4a2b-ac20-2c194795dbc3</season_id> <type>sample string 11</type> <type_id>5182dbf9-be62-4574-a199-3546e4632d9c</type_id> <updated>2024-05-21T11:12:46.3547569+01:00</updated> </Handicap> <Handicap> <achieved>2024-05-21T11:12:46.3547569+01:00</achieved> <archer_archived>true</archer_archived> <archer_id>367c1faa-22ba-4641-8509-7f6587bd0990</archer_id> <bow_class>sample string 4</bow_class> <class_archived>true</class_archived> <class_id>19361c33-c981-4c5b-980e-c5d676acae77</class_id> <handicap>7</handicap> <handicap_id>b40ad5e4-3664-4cfa-bd3a-d305b04d8c56</handicap_id> <name>sample string 9</name> <season_id>85634494-c903-4a2b-ac20-2c194795dbc3</season_id> <type>sample string 11</type> <type_id>5182dbf9-be62-4574-a199-3546e4632d9c</type_id> <updated>2024-05-21T11:12:46.3547569+01:00</updated> </Handicap> </ArrayOfHandicap>