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-10-21T08:35:24.2503616+01: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": "f621ac21-c90f-42d6-ab75-c7939a95fb4c", "record_id": "ace735bb-58ec-441d-a266-77943f73209a", "class_id": "c8eb666f-0e18-4623-a0c0-436cef500764", "category_id": "1fadf323-fb56-464d-ab94-a5076f277736", "round_id": "597fd832-b754-4b0e-870c-748f37e597f2", "season_id": "6d99e0dc-8186-42e1-b78e-7b1766483090", "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-10-21T08:35:24.2503616+01: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": "f621ac21-c90f-42d6-ab75-c7939a95fb4c", "record_id": "ace735bb-58ec-441d-a266-77943f73209a", "class_id": "c8eb666f-0e18-4623-a0c0-436cef500764", "category_id": "1fadf323-fb56-464d-ab94-a5076f277736", "round_id": "597fd832-b754-4b0e-870c-748f37e597f2", "season_id": "6d99e0dc-8186-42e1-b78e-7b1766483090", "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>f621ac21-c90f-42d6-ab75-c7939a95fb4c</archer_id> <bow_class>sample string 5</bow_class> <category>sample string 6</category> <category_archived>true</category_archived> <category_id>1fadf323-fb56-464d-ab94-a5076f277736</category_id> <class_archived>true</class_archived> <class_id>c8eb666f-0e18-4623-a0c0-436cef500764</class_id> <classification>sample string 11</classification> <date_shot>2024-10-21T08:35:24.2503616+01: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>ace735bb-58ec-441d-a266-77943f73209a</record_id> <record_status>true</record_status> <round>sample string 3</round> <round_archived>true</round_archived> <round_id>597fd832-b754-4b0e-870c-748f37e597f2</round_id> <score>7</score> <season>sample string 25</season> <season_archived>true</season_archived> <season_id>6d99e0dc-8186-42e1-b78e-7b1766483090</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>f621ac21-c90f-42d6-ab75-c7939a95fb4c</archer_id> <bow_class>sample string 5</bow_class> <category>sample string 6</category> <category_archived>true</category_archived> <category_id>1fadf323-fb56-464d-ab94-a5076f277736</category_id> <class_archived>true</class_archived> <class_id>c8eb666f-0e18-4623-a0c0-436cef500764</class_id> <classification>sample string 11</classification> <date_shot>2024-10-21T08:35:24.2503616+01: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>ace735bb-58ec-441d-a266-77943f73209a</record_id> <record_status>true</record_status> <round>sample string 3</round> <round_archived>true</round_archived> <round_id>597fd832-b754-4b0e-870c-748f37e597f2</round_id> <score>7</score> <season>sample string 25</season> <season_archived>true</season_archived> <season_id>6d99e0dc-8186-42e1-b78e-7b1766483090</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>f621ac21-c90f-42d6-ab75-c7939a95fb4c</archer_id><bow_class>sample string 5</bow_class><category>sample string 6</category><category_archived>true</category_archived><category_id>1fadf323-fb56-464d-ab94-a5076f277736</category_id><class_archived>true</class_archived><class_id>c8eb666f-0e18-4623-a0c0-436cef500764</class_id><classification>sample string 11</classification><date_shot>2024-10-21T08:35:24.2503616+01: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>ace735bb-58ec-441d-a266-77943f73209a</record_id><record_status>true</record_status><round>sample string 3</round><round_archived>true</round_archived><round_id>597fd832-b754-4b0e-870c-748f37e597f2</round_id><score>7</score><season>sample string 25</season><season_archived>true</season_archived><season_id>6d99e0dc-8186-42e1-b78e-7b1766483090</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>f621ac21-c90f-42d6-ab75-c7939a95fb4c</archer_id><bow_class>sample string 5</bow_class><category>sample string 6</category><category_archived>true</category_archived><category_id>1fadf323-fb56-464d-ab94-a5076f277736</category_id><class_archived>true</class_archived><class_id>c8eb666f-0e18-4623-a0c0-436cef500764</class_id><classification>sample string 11</classification><date_shot>2024-10-21T08:35:24.2503616+01: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>ace735bb-58ec-441d-a266-77943f73209a</record_id><record_status>true</record_status><round>sample string 3</round><round_archived>true</round_archived><round_id>597fd832-b754-4b0e-870c-748f37e597f2</round_id><score>7</score><season>sample string 25</season><season_archived>true</season_archived><season_id>6d99e0dc-8186-42e1-b78e-7b1766483090</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>