PUT api/scores?record_id={record_id}
Updates a score record in the database given the unique id of the score record
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| record_id | globally unique identifier |
Required |
Body Parameters
ScoreData| Name | Description | Type | Additional information |
|---|---|---|---|
| archer_id | globally unique identifier |
Required |
|
| category_id | globally unique identifier |
Required |
|
| class_id | globally unique identifier |
Required |
|
| date_shot | date |
Required |
|
| golds | integer |
None. |
|
| hits | integer |
None. |
|
| location | string |
Required |
|
| qualifying | boolean |
Required |
|
| record_qualifying | boolean |
Required |
|
| record_status | boolean |
Required |
|
| round_id | globally unique identifier |
Required |
|
| score | integer |
Required |
|
| status | string |
Required |
|
| tens | integer |
None. |
|
| user_1 | string |
None. |
|
| user_2 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"archer_id": "3c4dcde6-f9a8-4a9b-bb0e-9e55e2f602b6",
"category_id": "3a027657-c8e0-4ffc-9135-aef7ce33bdbb",
"class_id": "ea79287d-4398-4f43-943e-fffc4b78d16d",
"date_shot": "2026-01-12T23:00:08.9378782+00:00",
"golds": 5,
"hits": 6,
"location": "sample string 7",
"qualifying": true,
"record_qualifying": true,
"record_status": true,
"round_id": "a2846bc4-fb41-4551-b29e-959eedec81a5",
"score": 12,
"status": "sample string 13",
"tens": 14,
"user_1": "sample string 15",
"user_2": "sample string 16"
}
application/xml, text/xml
Sample:
<ScoreData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models"> <archer_id>3c4dcde6-f9a8-4a9b-bb0e-9e55e2f602b6</archer_id> <category_id>3a027657-c8e0-4ffc-9135-aef7ce33bdbb</category_id> <class_id>ea79287d-4398-4f43-943e-fffc4b78d16d</class_id> <date_shot>2026-01-12T23:00:08.9378782+00:00</date_shot> <golds>5</golds> <hits>6</hits> <location>sample string 7</location> <qualifying>true</qualifying> <record_qualifying>true</record_qualifying> <record_status>true</record_status> <round_id>a2846bc4-fb41-4551-b29e-959eedec81a5</round_id> <score>12</score> <status>sample string 13</status> <tens>14</tens> <user_1>sample string 15</user_1> <user_2>sample string 16</user_2> </ScoreData>
application/x-www-form-urlencoded
Sample:
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. |