GET api/ClubRecords/{id}?pageNumber={pageNumber}&pageSize={pageSize}

Lists club records filtered by the provided id in GUID format. For example class_id will list all club records 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 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-21T08:26:32.53992+01:00",
    "updated": "2024-10-21T08:26:32.53992+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": "3bc87ba0-e6aa-4ead-bc31-5627a1c5272f",
    "category_id": "59c8258c-fc2a-49c6-9b11-4a1988b413f9",
    "class_archived": true,
    "round_archived": true,
    "category_archived": true
  },
  {
    "name": "sample string 1",
    "date_shot": "2024-10-21T08:26:32.53992+01:00",
    "updated": "2024-10-21T08:26:32.53992+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": "3bc87ba0-e6aa-4ead-bc31-5627a1c5272f",
    "category_id": "59c8258c-fc2a-49c6-9b11-4a1988b413f9",
    "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>59c8258c-fc2a-49c6-9b11-4a1988b413f9</category_id>
    <class_archived>true</class_archived>
    <class_id>3bc87ba0-e6aa-4ead-bc31-5627a1c5272f</class_id>
    <date_shot>2024-10-21T08:26:32.53992+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-21T08:26:32.53992+01:00</updated>
  </ClubRecord>
  <ClubRecord>
    <bow_class>sample string 6</bow_class>
    <category>sample string 7</category>
    <category_archived>true</category_archived>
    <category_id>59c8258c-fc2a-49c6-9b11-4a1988b413f9</category_id>
    <class_archived>true</class_archived>
    <class_id>3bc87ba0-e6aa-4ead-bc31-5627a1c5272f</class_id>
    <date_shot>2024-10-21T08:26:32.53992+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-21T08:26:32.53992+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>59c8258c-fc2a-49c6-9b11-4a1988b413f9</category_id><class_archived>true</class_archived><class_id>3bc87ba0-e6aa-4ead-bc31-5627a1c5272f</class_id><date_shot>2024-10-21T08:26:32.53992+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-21T08:26:32.53992+01:00</updated></ClubRecord><ClubRecord><bow_class>sample string 6</bow_class><category>sample string 7</category><category_archived>true</category_archived><category_id>59c8258c-fc2a-49c6-9b11-4a1988b413f9</category_id><class_archived>true</class_archived><class_id>3bc87ba0-e6aa-4ead-bc31-5627a1c5272f</class_id><date_shot>2024-10-21T08:26:32.53992+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-21T08:26:32.53992+01:00</updated></ClubRecord></ArrayOfClubRecord>