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

NameDescriptionTypeAdditional information
pageNumber

integer

None.

pageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ClubRecord
NameDescriptionTypeAdditional 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-10-21T09:01:52.8240494+01:00",
    "updated": "2024-10-21T09:01:52.8240494+01: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": "5f74d60c-ae3c-4b3d-92f2-facd2586f582",
    "category_id": "bd832093-8758-4f27-82c2-e8051e6b98da",
    "class_archived": true,
    "round_archived": true,
    "category_archived": true
  },
  {
    "name": "sample string 1",
    "date_shot": "2024-10-21T09:01:52.8240494+01:00",
    "updated": "2024-10-21T09:01:52.8240494+01: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": "5f74d60c-ae3c-4b3d-92f2-facd2586f582",
    "category_id": "bd832093-8758-4f27-82c2-e8051e6b98da",
    "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>bd832093-8758-4f27-82c2-e8051e6b98da</category_id>
    <class_archived>true</class_archived>
    <class_id>5f74d60c-ae3c-4b3d-92f2-facd2586f582</class_id>
    <date_shot>2024-10-21T09:01:52.8240494+01: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-10-21T09:01:52.8240494+01:00</updated>
  </ClubRecord>
  <ClubRecord>
    <bow_class>sample string 6</bow_class>
    <category>sample string 7</category>
    <category_archived>true</category_archived>
    <category_id>bd832093-8758-4f27-82c2-e8051e6b98da</category_id>
    <class_archived>true</class_archived>
    <class_id>5f74d60c-ae3c-4b3d-92f2-facd2586f582</class_id>
    <date_shot>2024-10-21T09:01:52.8240494+01: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-10-21T09:01:52.8240494+01: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>bd832093-8758-4f27-82c2-e8051e6b98da</category_id><class_archived>true</class_archived><class_id>5f74d60c-ae3c-4b3d-92f2-facd2586f582</class_id><date_shot>2024-10-21T09:01:52.8240494+01: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-10-21T09:01:52.8240494+01:00</updated></ClubRecord><ClubRecord><bow_class>sample string 6</bow_class><category>sample string 7</category><category_archived>true</category_archived><category_id>bd832093-8758-4f27-82c2-e8051e6b98da</category_id><class_archived>true</class_archived><class_id>5f74d60c-ae3c-4b3d-92f2-facd2586f582</class_id><date_shot>2024-10-21T09:01:52.8240494+01: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-10-21T09:01:52.8240494+01:00</updated></ClubRecord></ArrayOfClubRecord>