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-11-28T08:39:31.7809355+00:00",
    "updated": "2024-11-28T08:39:31.7809355+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": "8126db50-5e73-4ae5-9d1e-1b59ab15ad72",
    "category_id": "df5bfdfe-b490-45f1-821b-e5dd8d07f9f6",
    "class_archived": true,
    "round_archived": true,
    "category_archived": true
  },
  {
    "name": "sample string 1",
    "date_shot": "2024-11-28T08:39:31.7809355+00:00",
    "updated": "2024-11-28T08:39:31.7809355+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": "8126db50-5e73-4ae5-9d1e-1b59ab15ad72",
    "category_id": "df5bfdfe-b490-45f1-821b-e5dd8d07f9f6",
    "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>df5bfdfe-b490-45f1-821b-e5dd8d07f9f6</category_id>
    <class_archived>true</class_archived>
    <class_id>8126db50-5e73-4ae5-9d1e-1b59ab15ad72</class_id>
    <date_shot>2024-11-28T08:39:31.7809355+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:39:31.7809355+00:00</updated>
  </ClubRecord>
  <ClubRecord>
    <bow_class>sample string 6</bow_class>
    <category>sample string 7</category>
    <category_archived>true</category_archived>
    <category_id>df5bfdfe-b490-45f1-821b-e5dd8d07f9f6</category_id>
    <class_archived>true</class_archived>
    <class_id>8126db50-5e73-4ae5-9d1e-1b59ab15ad72</class_id>
    <date_shot>2024-11-28T08:39:31.7809355+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:39:31.7809355+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>df5bfdfe-b490-45f1-821b-e5dd8d07f9f6</category_id><class_archived>true</class_archived><class_id>8126db50-5e73-4ae5-9d1e-1b59ab15ad72</class_id><date_shot>2024-11-28T08:39:31.7809355+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:39:31.7809355+00:00</updated></ClubRecord><ClubRecord><bow_class>sample string 6</bow_class><category>sample string 7</category><category_archived>true</category_archived><category_id>df5bfdfe-b490-45f1-821b-e5dd8d07f9f6</category_id><class_archived>true</class_archived><class_id>8126db50-5e73-4ae5-9d1e-1b59ab15ad72</class_id><date_shot>2024-11-28T08:39:31.7809355+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:39:31.7809355+00:00</updated></ClubRecord></ArrayOfClubRecord>