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
ScoreDataName | 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": "a9621509-93e1-4a29-83cc-9b72b6909db3", "category_id": "81661709-4173-441a-81b4-8b259c41fec1", "class_id": "f2e9dbca-5b71-47a7-85bb-54046bc50d96", "date_shot": "2025-10-13T22:15:52.6855782+01:00", "golds": 5, "hits": 6, "location": "sample string 7", "qualifying": true, "record_qualifying": true, "record_status": true, "round_id": "d174aa6f-f9c4-45e8-b87a-494b9a0ff58a", "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>a9621509-93e1-4a29-83cc-9b72b6909db3</archer_id> <category_id>81661709-4173-441a-81b4-8b259c41fec1</category_id> <class_id>f2e9dbca-5b71-47a7-85bb-54046bc50d96</class_id> <date_shot>2025-10-13T22:15:52.6855782+01: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>d174aa6f-f9c4-45e8-b87a-494b9a0ff58a</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
HttpResponseMessageName | 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. |