POST api/scores
Adds a score to the database. Score only can be submitted as application/json or application/xml To add a scoresheet: Include score as score object in request body as multi part form data. The file must be first.
Request Information
URI Parameters
None.
Body Parameters
ScoreDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| age_group_id |
Sets the identifier of the age group. |
globally unique identifier |
Required |
| class_id |
Sets the identifier of the bow class. |
globally unique identifier |
Required |
| date_shot |
Sets the date shot. |
date |
Required |
| distances |
Sets the list of distances shot. |
Collection of DistanceScore |
None. |
| member_id |
Sets the identifier of the member. |
globally unique identifier |
Required |
| golds |
Sets the number of golds. |
integer |
None. |
| hits |
Sets the number of hits. |
integer |
None. |
| location |
Sets the location.' |
string |
Required |
| notes |
Sets notes. |
string |
None. |
| qualifying |
Sets if the score qualifies for handicap and classification (UK relevance only). |
boolean |
Required |
| record_qualifying |
Sets if the score qualifies for club record. |
boolean |
Required |
| record_status |
Sets if the score was shot at a record status, national or international competition. |
boolean |
Required |
| round_id |
Sets the identifier of the round. |
globally unique identifier |
Required |
| score |
Sets the score. |
integer |
Required |
| status |
Sets the status of the score. |
ScoreStatusOptions |
Required |
| user_1 |
Sets the value of the first user defined field |
string |
None. |
| user_2 |
Sets the value of the second user defined field. |
string |
None. |
| Xs |
Sets the number of Xs. |
integer |
None. |
Request Formats
application/json, text/json
{
"age_group_id": "7e207198-3bdc-42bb-a32f-4590e3e6c26f",
"class_id": "a2ae50d6-6db3-43aa-9398-920df418132a",
"date_shot": "2025-12-20T22:39:43.0046607+00:00",
"distances": [
{
"arrows": "sample string 1",
"bow": "sample string 2",
"distance": "sample string 3",
"face": "sample string 4",
"golds": 5,
"hits": 6,
"score": 7,
"sightmark": "sample string 8",
"Xs": 9
},
{
"arrows": "sample string 1",
"bow": "sample string 2",
"distance": "sample string 3",
"face": "sample string 4",
"golds": 5,
"hits": 6,
"score": 7,
"sightmark": "sample string 8",
"Xs": 9
}
],
"member_id": "2111318a-c8ef-4b58-af75-bfc89783995b",
"golds": 5,
"hits": 6,
"location": "sample string 7",
"notes": "sample string 8",
"qualifying": true,
"record_qualifying": true,
"record_status": true,
"round_id": "078b4f0d-f213-40d6-845f-a89700a8caf7",
"score": 13,
"status": 1,
"user_1": "sample string 14",
"user_2": "sample string 15",
"Xs": 16
}
multipart/form-data
{"age_group_id":"7e207198-3bdc-42bb-a32f-4590e3e6c26f","class_id":"a2ae50d6-6db3-43aa-9398-920df418132a","date_shot":"2025-12-20T22:39:43.0046607+00:00","distances":[{"arrows":"sample string 1","bow":"sample string 2","distance":"sample string 3","face":"sample string 4","golds":5,"hits":6,"score":7,"sightmark":"sample string 8","Xs":9},{"arrows":"sample string 1","bow":"sample string 2","distance":"sample string 3","face":"sample string 4","golds":5,"hits":6,"score":7,"sightmark":"sample string 8","Xs":9}],"member_id":"2111318a-c8ef-4b58-af75-bfc89783995b","golds":5,"hits":6,"location":"sample string 7","notes":"sample string 8","qualifying":true,"record_qualifying":true,"record_status":true,"round_id":"078b4f0d-f213-40d6-845f-a89700a8caf7","score":13,"status":1,"user_1":"sample string 14","user_2":"sample string 15","Xs":16}
application/xml, text/xml
<ScoreDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models">
<Xs>16</Xs>
<age_group_id>7e207198-3bdc-42bb-a32f-4590e3e6c26f</age_group_id>
<class_id>a2ae50d6-6db3-43aa-9398-920df418132a</class_id>
<date_shot>2025-12-20T22:39:43.0046607+00:00</date_shot>
<distances>
<DistanceScore>
<Xs>9</Xs>
<arrows>sample string 1</arrows>
<bow>sample string 2</bow>
<distance>sample string 3</distance>
<face>sample string 4</face>
<golds>5</golds>
<hits>6</hits>
<score>7</score>
<sightmark>sample string 8</sightmark>
</DistanceScore>
<DistanceScore>
<Xs>9</Xs>
<arrows>sample string 1</arrows>
<bow>sample string 2</bow>
<distance>sample string 3</distance>
<face>sample string 4</face>
<golds>5</golds>
<hits>6</hits>
<score>7</score>
<sightmark>sample string 8</sightmark>
</DistanceScore>
</distances>
<golds>5</golds>
<hits>6</hits>
<location>sample string 7</location>
<member_id>2111318a-c8ef-4b58-af75-bfc89783995b</member_id>
<notes>sample string 8</notes>
<qualifying>true</qualifying>
<record_qualifying>true</record_qualifying>
<record_status>true</record_status>
<round_id>078b4f0d-f213-40d6-845f-a89700a8caf7</round_id>
<score>13</score>
<status>Practice</status>
<user_1>sample string 14</user_1>
<user_2>sample string 15</user_2>
</ScoreDetails>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |