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

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 Score
NameDescriptionTypeAdditional 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": "a8772d4c-125f-49f5-8992-0f3ea53d61f9",
    "bow_class": "sample string 3",
    "category": "sample string 4",
    "category_archived": true,
    "category_id": "084bcaf0-bc05-4a31-8c63-02d995e31532",
    "class_archived": true,
    "class_id": "82c414e3-2b0b-47dd-8c9e-2a4f5df032b4",
    "classification": "sample string 9",
    "date_shot": "2024-05-22T03:26:19.3131481+01:00",
    "golds": 11,
    "handicap": 12,
    "hits": 13,
    "location": "sample string 14",
    "name": "sample string 15",
    "qualifying": true,
    "record_id": "fe312689-8432-46ca-b7f0-69b622fe50e6",
    "record_status": true,
    "round": "sample string 19",
    "round_archived": true,
    "round_id": "a136aa52-34bf-4cb1-b772-11efe74329f5",
    "score": 22,
    "scoresheets": [
      "sample string 1",
      "sample string 2"
    ],
    "season": "sample string 23",
    "season_archived": true,
    "season_id": "987ecfea-410c-49e6-a467-966aa9ae4a6e",
    "status": "sample string 26",
    "tens": 27,
    "type_id": "86221a44-2db5-4172-8f63-a33700fef5e0",
    "user_1": "sample string 29",
    "user_2": "sample string 30"
  },
  {
    "archer_archived": true,
    "archer_id": "a8772d4c-125f-49f5-8992-0f3ea53d61f9",
    "bow_class": "sample string 3",
    "category": "sample string 4",
    "category_archived": true,
    "category_id": "084bcaf0-bc05-4a31-8c63-02d995e31532",
    "class_archived": true,
    "class_id": "82c414e3-2b0b-47dd-8c9e-2a4f5df032b4",
    "classification": "sample string 9",
    "date_shot": "2024-05-22T03:26:19.3131481+01:00",
    "golds": 11,
    "handicap": 12,
    "hits": 13,
    "location": "sample string 14",
    "name": "sample string 15",
    "qualifying": true,
    "record_id": "fe312689-8432-46ca-b7f0-69b622fe50e6",
    "record_status": true,
    "round": "sample string 19",
    "round_archived": true,
    "round_id": "a136aa52-34bf-4cb1-b772-11efe74329f5",
    "score": 22,
    "scoresheets": [
      "sample string 1",
      "sample string 2"
    ],
    "season": "sample string 23",
    "season_archived": true,
    "season_id": "987ecfea-410c-49e6-a467-966aa9ae4a6e",
    "status": "sample string 26",
    "tens": 27,
    "type_id": "86221a44-2db5-4172-8f63-a33700fef5e0",
    "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>a8772d4c-125f-49f5-8992-0f3ea53d61f9</archer_id>
    <bow_class>sample string 3</bow_class>
    <category>sample string 4</category>
    <category_archived>true</category_archived>
    <category_id>084bcaf0-bc05-4a31-8c63-02d995e31532</category_id>
    <class_archived>true</class_archived>
    <class_id>82c414e3-2b0b-47dd-8c9e-2a4f5df032b4</class_id>
    <classification>sample string 9</classification>
    <date_shot>2024-05-22T03:26:19.3131481+01: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>fe312689-8432-46ca-b7f0-69b622fe50e6</record_id>
    <record_status>true</record_status>
    <round>sample string 19</round>
    <round_archived>true</round_archived>
    <round_id>a136aa52-34bf-4cb1-b772-11efe74329f5</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>987ecfea-410c-49e6-a467-966aa9ae4a6e</season_id>
    <status>sample string 26</status>
    <tens>27</tens>
    <type_id>86221a44-2db5-4172-8f63-a33700fef5e0</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>a8772d4c-125f-49f5-8992-0f3ea53d61f9</archer_id>
    <bow_class>sample string 3</bow_class>
    <category>sample string 4</category>
    <category_archived>true</category_archived>
    <category_id>084bcaf0-bc05-4a31-8c63-02d995e31532</category_id>
    <class_archived>true</class_archived>
    <class_id>82c414e3-2b0b-47dd-8c9e-2a4f5df032b4</class_id>
    <classification>sample string 9</classification>
    <date_shot>2024-05-22T03:26:19.3131481+01: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>fe312689-8432-46ca-b7f0-69b622fe50e6</record_id>
    <record_status>true</record_status>
    <round>sample string 19</round>
    <round_archived>true</round_archived>
    <round_id>a136aa52-34bf-4cb1-b772-11efe74329f5</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>987ecfea-410c-49e6-a467-966aa9ae4a6e</season_id>
    <status>sample string 26</status>
    <tens>27</tens>
    <type_id>86221a44-2db5-4172-8f63-a33700fef5e0</type_id>
    <user_1>sample string 29</user_1>
    <user_2>sample string 30</user_2>
  </Score>
</ArrayOfScore>