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 |
---|---|---|---|
archer_archived | boolean |
None. |
|
archer_id | globally unique identifier |
None. |
|
bow_class | string |
None. |
|
category | string |
None. |
|
category_archived | boolean |
None. |
|
category_id | globally unique identifier |
None. |
|
class_archived | boolean |
None. |
|
class_id | globally unique identifier |
None. |
|
classification | string |
None. |
|
date_shot | date |
None. |
|
golds | integer |
None. |
|
handicap | integer |
None. |
|
hits | integer |
None. |
|
location | string |
None. |
|
name | string |
None. |
|
qualifying | boolean |
None. |
|
record_id | globally unique identifier |
None. |
|
record_status | boolean |
None. |
|
round | string |
None. |
|
round_archived | boolean |
None. |
|
round_id | globally unique identifier |
None. |
|
score | integer |
None. |
|
scoresheets | Collection of string |
None. |
|
season | string |
None. |
|
season_archived | boolean |
None. |
|
season_id | globally unique identifier |
None. |
|
status | string |
None. |
|
tens | integer |
None. |
|
type_id | globally unique identifier |
None. |
|
user_1 | string |
None. |
|
user_2 | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "archer_archived": true, "archer_id": "29702d54-c060-44da-a777-0a97fc97f1d0", "bow_class": "sample string 3", "category": "sample string 4", "category_archived": true, "category_id": "df70ace3-8e74-4ef1-913a-cd674be07bfa", "class_archived": true, "class_id": "462970ea-7dd1-4539-b197-b2bfc5e65e1a", "classification": "sample string 9", "date_shot": "2024-12-24T13:22:31.1224296+00:00", "golds": 11, "handicap": 12, "hits": 13, "location": "sample string 14", "name": "sample string 15", "qualifying": true, "record_id": "f01dc737-7856-4869-ade9-bb71d0ce2896", "record_status": true, "round": "sample string 19", "round_archived": true, "round_id": "353ea747-64ef-4310-84cd-1047a7c476b9", "score": 22, "scoresheets": [ "sample string 1", "sample string 2" ], "season": "sample string 23", "season_archived": true, "season_id": "14d27e0c-56d1-48ab-b083-6cf49543f33a", "status": "sample string 26", "tens": 27, "type_id": "76cf127e-5988-45e5-bd82-36e9905c12c2", "user_1": "sample string 29", "user_2": "sample string 30" }, { "archer_archived": true, "archer_id": "29702d54-c060-44da-a777-0a97fc97f1d0", "bow_class": "sample string 3", "category": "sample string 4", "category_archived": true, "category_id": "df70ace3-8e74-4ef1-913a-cd674be07bfa", "class_archived": true, "class_id": "462970ea-7dd1-4539-b197-b2bfc5e65e1a", "classification": "sample string 9", "date_shot": "2024-12-24T13:22:31.1224296+00:00", "golds": 11, "handicap": 12, "hits": 13, "location": "sample string 14", "name": "sample string 15", "qualifying": true, "record_id": "f01dc737-7856-4869-ade9-bb71d0ce2896", "record_status": true, "round": "sample string 19", "round_archived": true, "round_id": "353ea747-64ef-4310-84cd-1047a7c476b9", "score": 22, "scoresheets": [ "sample string 1", "sample string 2" ], "season": "sample string 23", "season_archived": true, "season_id": "14d27e0c-56d1-48ab-b083-6cf49543f33a", "status": "sample string 26", "tens": 27, "type_id": "76cf127e-5988-45e5-bd82-36e9905c12c2", "user_1": "sample string 29", "user_2": "sample string 30" } ]
application/xml, text/xml
Sample:
<ArrayOfScore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models"> <Score> <archer_archived>true</archer_archived> <archer_id>29702d54-c060-44da-a777-0a97fc97f1d0</archer_id> <bow_class>sample string 3</bow_class> <category>sample string 4</category> <category_archived>true</category_archived> <category_id>df70ace3-8e74-4ef1-913a-cd674be07bfa</category_id> <class_archived>true</class_archived> <class_id>462970ea-7dd1-4539-b197-b2bfc5e65e1a</class_id> <classification>sample string 9</classification> <date_shot>2024-12-24T13:22:31.1224296+00:00</date_shot> <golds>11</golds> <handicap>12</handicap> <hits>13</hits> <location>sample string 14</location> <name>sample string 15</name> <qualifying>true</qualifying> <record_id>f01dc737-7856-4869-ade9-bb71d0ce2896</record_id> <record_status>true</record_status> <round>sample string 19</round> <round_archived>true</round_archived> <round_id>353ea747-64ef-4310-84cd-1047a7c476b9</round_id> <score>22</score> <scoresheets xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </scoresheets> <season>sample string 23</season> <season_archived>true</season_archived> <season_id>14d27e0c-56d1-48ab-b083-6cf49543f33a</season_id> <status>sample string 26</status> <tens>27</tens> <type_id>76cf127e-5988-45e5-bd82-36e9905c12c2</type_id> <user_1>sample string 29</user_1> <user_2>sample string 30</user_2> </Score> <Score> <archer_archived>true</archer_archived> <archer_id>29702d54-c060-44da-a777-0a97fc97f1d0</archer_id> <bow_class>sample string 3</bow_class> <category>sample string 4</category> <category_archived>true</category_archived> <category_id>df70ace3-8e74-4ef1-913a-cd674be07bfa</category_id> <class_archived>true</class_archived> <class_id>462970ea-7dd1-4539-b197-b2bfc5e65e1a</class_id> <classification>sample string 9</classification> <date_shot>2024-12-24T13:22:31.1224296+00:00</date_shot> <golds>11</golds> <handicap>12</handicap> <hits>13</hits> <location>sample string 14</location> <name>sample string 15</name> <qualifying>true</qualifying> <record_id>f01dc737-7856-4869-ade9-bb71d0ce2896</record_id> <record_status>true</record_status> <round>sample string 19</round> <round_archived>true</round_archived> <round_id>353ea747-64ef-4310-84cd-1047a7c476b9</round_id> <score>22</score> <scoresheets xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </scoresheets> <season>sample string 23</season> <season_archived>true</season_archived> <season_id>14d27e0c-56d1-48ab-b083-6cf49543f33a</season_id> <status>sample string 26</status> <tens>27</tens> <type_id>76cf127e-5988-45e5-bd82-36e9905c12c2</type_id> <user_1>sample string 29</user_1> <user_2>sample string 30</user_2> </Score> </ArrayOfScore>