GET api/ClubRecords?pageNumber={pageNumber}&pageSize={pageSize}
Lists all club records. Maximum 1000 records per page. Specify desired page {pageNumber}and number of records per page {pageSize}. Number of pages is returned in headers.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageNumber | integer |
None. |
|
pageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ClubRecordName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
date_shot | date |
None. |
|
updated | date |
None. |
|
round | string |
None. |
|
location | string |
None. |
|
bow_class | string |
None. |
|
category | string |
None. |
|
score | integer |
None. |
|
hits | integer |
None. |
|
golds | integer |
None. |
|
tens | integer |
None. |
|
class_id | globally unique identifier |
None. |
|
category_id | globally unique identifier |
None. |
|
class_archived | boolean |
None. |
|
round_archived | boolean |
None. |
|
category_archived | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "date_shot": "2024-11-28T08:32:18.5544127+00:00", "updated": "2024-11-28T08:32:18.5544127+00:00", "round": "sample string 4", "location": "sample string 5", "bow_class": "sample string 6", "category": "sample string 7", "score": 1, "hits": 1, "golds": 1, "tens": 1, "class_id": "1402c4a6-ca1a-408f-bc5f-27f573951a09", "category_id": "e83a8c4b-4e15-4bdc-a1ce-9f19f688d45d", "class_archived": true, "round_archived": true, "category_archived": true }, { "name": "sample string 1", "date_shot": "2024-11-28T08:32:18.5544127+00:00", "updated": "2024-11-28T08:32:18.5544127+00:00", "round": "sample string 4", "location": "sample string 5", "bow_class": "sample string 6", "category": "sample string 7", "score": 1, "hits": 1, "golds": 1, "tens": 1, "class_id": "1402c4a6-ca1a-408f-bc5f-27f573951a09", "category_id": "e83a8c4b-4e15-4bdc-a1ce-9f19f688d45d", "class_archived": true, "round_archived": true, "category_archived": true } ]
application/xml, text/xml
Sample:
<ArrayOfClubRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App.Models"> <ClubRecord> <bow_class>sample string 6</bow_class> <category>sample string 7</category> <category_archived>true</category_archived> <category_id>e83a8c4b-4e15-4bdc-a1ce-9f19f688d45d</category_id> <class_archived>true</class_archived> <class_id>1402c4a6-ca1a-408f-bc5f-27f573951a09</class_id> <date_shot>2024-11-28T08:32:18.5544127+00:00</date_shot> <golds>1</golds> <hits>1</hits> <location>sample string 5</location> <name>sample string 1</name> <round>sample string 4</round> <round_archived>true</round_archived> <score>1</score> <tens>1</tens> <updated>2024-11-28T08:32:18.5544127+00:00</updated> </ClubRecord> <ClubRecord> <bow_class>sample string 6</bow_class> <category>sample string 7</category> <category_archived>true</category_archived> <category_id>e83a8c4b-4e15-4bdc-a1ce-9f19f688d45d</category_id> <class_archived>true</class_archived> <class_id>1402c4a6-ca1a-408f-bc5f-27f573951a09</class_id> <date_shot>2024-11-28T08:32:18.5544127+00:00</date_shot> <golds>1</golds> <hits>1</hits> <location>sample string 5</location> <name>sample string 1</name> <round>sample string 4</round> <round_archived>true</round_archived> <score>1</score> <tens>1</tens> <updated>2024-11-28T08:32:18.5544127+00:00</updated> </ClubRecord> </ArrayOfClubRecord>
multipart/form-data
Sample:
<ArrayOfClubRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App.Models"><ClubRecord><bow_class>sample string 6</bow_class><category>sample string 7</category><category_archived>true</category_archived><category_id>e83a8c4b-4e15-4bdc-a1ce-9f19f688d45d</category_id><class_archived>true</class_archived><class_id>1402c4a6-ca1a-408f-bc5f-27f573951a09</class_id><date_shot>2024-11-28T08:32:18.5544127+00:00</date_shot><golds>1</golds><hits>1</hits><location>sample string 5</location><name>sample string 1</name><round>sample string 4</round><round_archived>true</round_archived><score>1</score><tens>1</tens><updated>2024-11-28T08:32:18.5544127+00:00</updated></ClubRecord><ClubRecord><bow_class>sample string 6</bow_class><category>sample string 7</category><category_archived>true</category_archived><category_id>e83a8c4b-4e15-4bdc-a1ce-9f19f688d45d</category_id><class_archived>true</class_archived><class_id>1402c4a6-ca1a-408f-bc5f-27f573951a09</class_id><date_shot>2024-11-28T08:32:18.5544127+00:00</date_shot><golds>1</golds><hits>1</hits><location>sample string 5</location><name>sample string 1</name><round>sample string 4</round><round_archived>true</round_archived><score>1</score><tens>1</tens><updated>2024-11-28T08:32:18.5544127+00:00</updated></ClubRecord></ArrayOfClubRecord>