GET api/scores?id={id}&pageNumber={pageNumber}&pageSize={pageSize}
Lists all score records filtered by the provided id in GUID format. For example class_id will list all score records 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 ScoreName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
date_shot | 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. |
|
classification | string |
None. |
|
handicap | integer |
None. |
|
record_status | boolean |
None. |
|
qualifying | boolean |
None. |
|
archer_id | globally unique identifier |
None. |
|
record_id | globally unique identifier |
None. |
|
class_id | globally unique identifier |
None. |
|
category_id | globally unique identifier |
None. |
|
round_id | globally unique identifier |
None. |
|
season_id | globally unique identifier |
None. |
|
class_archived | boolean |
None. |
|
round_archived | boolean |
None. |
|
category_archived | boolean |
None. |
|
season_archived | boolean |
None. |
|
season | string |
None. |
|
user_1 | string |
None. |
|
user_2 | string |
None. |
|
status | string |
None. |
|
notes | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "date_shot": "2024-11-28T08:33:50.7566676+00:00", "round": "sample string 3", "location": "sample string 4", "bow_class": "sample string 5", "category": "sample string 6", "score": 7, "hits": 8, "golds": 9, "tens": 10, "classification": "sample string 11", "handicap": 12, "record_status": true, "qualifying": true, "archer_id": "f21f74b2-e868-4de2-89ac-f1222082055e", "record_id": "cf36ee3e-410e-4b71-9a82-587c7f3d26d7", "class_id": "060bc5d9-cb37-4335-9c9f-1b3653acf4f1", "category_id": "8a08d718-8319-4fd8-8b37-f1a4a410c911", "round_id": "35bee185-9c68-4ff2-b5e4-5f95fd48088b", "season_id": "772d3502-f42a-4bdd-8454-4939d04a095c", "class_archived": true, "round_archived": true, "category_archived": true, "season_archived": true, "season": "sample string 25", "user_1": "sample string 26", "user_2": "sample string 27", "status": "sample string 28", "notes": "sample string 29" }, { "name": "sample string 1", "date_shot": "2024-11-28T08:33:50.7566676+00:00", "round": "sample string 3", "location": "sample string 4", "bow_class": "sample string 5", "category": "sample string 6", "score": 7, "hits": 8, "golds": 9, "tens": 10, "classification": "sample string 11", "handicap": 12, "record_status": true, "qualifying": true, "archer_id": "f21f74b2-e868-4de2-89ac-f1222082055e", "record_id": "cf36ee3e-410e-4b71-9a82-587c7f3d26d7", "class_id": "060bc5d9-cb37-4335-9c9f-1b3653acf4f1", "category_id": "8a08d718-8319-4fd8-8b37-f1a4a410c911", "round_id": "35bee185-9c68-4ff2-b5e4-5f95fd48088b", "season_id": "772d3502-f42a-4bdd-8454-4939d04a095c", "class_archived": true, "round_archived": true, "category_archived": true, "season_archived": true, "season": "sample string 25", "user_1": "sample string 26", "user_2": "sample string 27", "status": "sample string 28", "notes": "sample string 29" } ]
application/xml, text/xml
Sample:
<ArrayOfScore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App.Models"> <Score> <archer_id>f21f74b2-e868-4de2-89ac-f1222082055e</archer_id> <bow_class>sample string 5</bow_class> <category>sample string 6</category> <category_archived>true</category_archived> <category_id>8a08d718-8319-4fd8-8b37-f1a4a410c911</category_id> <class_archived>true</class_archived> <class_id>060bc5d9-cb37-4335-9c9f-1b3653acf4f1</class_id> <classification>sample string 11</classification> <date_shot>2024-11-28T08:33:50.7566676+00:00</date_shot> <golds>9</golds> <handicap>12</handicap> <hits>8</hits> <location>sample string 4</location> <name>sample string 1</name> <notes>sample string 29</notes> <qualifying>true</qualifying> <record_id>cf36ee3e-410e-4b71-9a82-587c7f3d26d7</record_id> <record_status>true</record_status> <round>sample string 3</round> <round_archived>true</round_archived> <round_id>35bee185-9c68-4ff2-b5e4-5f95fd48088b</round_id> <score>7</score> <season>sample string 25</season> <season_archived>true</season_archived> <season_id>772d3502-f42a-4bdd-8454-4939d04a095c</season_id> <status>sample string 28</status> <tens>10</tens> <user_1>sample string 26</user_1> <user_2>sample string 27</user_2> </Score> <Score> <archer_id>f21f74b2-e868-4de2-89ac-f1222082055e</archer_id> <bow_class>sample string 5</bow_class> <category>sample string 6</category> <category_archived>true</category_archived> <category_id>8a08d718-8319-4fd8-8b37-f1a4a410c911</category_id> <class_archived>true</class_archived> <class_id>060bc5d9-cb37-4335-9c9f-1b3653acf4f1</class_id> <classification>sample string 11</classification> <date_shot>2024-11-28T08:33:50.7566676+00:00</date_shot> <golds>9</golds> <handicap>12</handicap> <hits>8</hits> <location>sample string 4</location> <name>sample string 1</name> <notes>sample string 29</notes> <qualifying>true</qualifying> <record_id>cf36ee3e-410e-4b71-9a82-587c7f3d26d7</record_id> <record_status>true</record_status> <round>sample string 3</round> <round_archived>true</round_archived> <round_id>35bee185-9c68-4ff2-b5e4-5f95fd48088b</round_id> <score>7</score> <season>sample string 25</season> <season_archived>true</season_archived> <season_id>772d3502-f42a-4bdd-8454-4939d04a095c</season_id> <status>sample string 28</status> <tens>10</tens> <user_1>sample string 26</user_1> <user_2>sample string 27</user_2> </Score> </ArrayOfScore>
multipart/form-data
Sample:
<ArrayOfScore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App.Models"><Score><archer_id>f21f74b2-e868-4de2-89ac-f1222082055e</archer_id><bow_class>sample string 5</bow_class><category>sample string 6</category><category_archived>true</category_archived><category_id>8a08d718-8319-4fd8-8b37-f1a4a410c911</category_id><class_archived>true</class_archived><class_id>060bc5d9-cb37-4335-9c9f-1b3653acf4f1</class_id><classification>sample string 11</classification><date_shot>2024-11-28T08:33:50.7566676+00:00</date_shot><golds>9</golds><handicap>12</handicap><hits>8</hits><location>sample string 4</location><name>sample string 1</name><notes>sample string 29</notes><qualifying>true</qualifying><record_id>cf36ee3e-410e-4b71-9a82-587c7f3d26d7</record_id><record_status>true</record_status><round>sample string 3</round><round_archived>true</round_archived><round_id>35bee185-9c68-4ff2-b5e4-5f95fd48088b</round_id><score>7</score><season>sample string 25</season><season_archived>true</season_archived><season_id>772d3502-f42a-4bdd-8454-4939d04a095c</season_id><status>sample string 28</status><tens>10</tens><user_1>sample string 26</user_1><user_2>sample string 27</user_2></Score><Score><archer_id>f21f74b2-e868-4de2-89ac-f1222082055e</archer_id><bow_class>sample string 5</bow_class><category>sample string 6</category><category_archived>true</category_archived><category_id>8a08d718-8319-4fd8-8b37-f1a4a410c911</category_id><class_archived>true</class_archived><class_id>060bc5d9-cb37-4335-9c9f-1b3653acf4f1</class_id><classification>sample string 11</classification><date_shot>2024-11-28T08:33:50.7566676+00:00</date_shot><golds>9</golds><handicap>12</handicap><hits>8</hits><location>sample string 4</location><name>sample string 1</name><notes>sample string 29</notes><qualifying>true</qualifying><record_id>cf36ee3e-410e-4b71-9a82-587c7f3d26d7</record_id><record_status>true</record_status><round>sample string 3</round><round_archived>true</round_archived><round_id>35bee185-9c68-4ff2-b5e4-5f95fd48088b</round_id><score>7</score><season>sample string 25</season><season_archived>true</season_archived><season_id>772d3502-f42a-4bdd-8454-4939d04a095c</season_id><status>sample string 28</status><tens>10</tens><user_1>sample string 26</user_1><user_2>sample string 27</user_2></Score></ArrayOfScore>