PUT api/clubrecords?record_id={record_id}
Updates a club record in the database given the unique record_id of the score record
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| record_id | globally unique identifier |
Required |
Body Parameters
ClubRecordData| 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 |
|
| round_id | globally unique identifier |
Required |
|
| score | integer |
Required |
|
| status | StatusOptions |
Required |
|
| tens | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"archer_id": "f60c2ebb-8261-40ad-83af-6d2912304932",
"category_id": "351f5d28-f00d-4e9b-a4da-0f8cae2ef8ba",
"class_id": "50cae9d3-b8b8-4e6a-8642-f43fad45a20c",
"date_shot": "2025-12-11T10:31:44.9063855+00:00",
"golds": 1,
"hits": 1,
"location": "sample string 5",
"round_id": "8de07e3a-4e15-450b-a90c-5b45e1a18cf6",
"score": 1,
"status": 1,
"tens": 1
}
application/xml, text/xml
Sample:
<ClubRecordData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models"> <archer_id>f60c2ebb-8261-40ad-83af-6d2912304932</archer_id> <category_id>351f5d28-f00d-4e9b-a4da-0f8cae2ef8ba</category_id> <class_id>50cae9d3-b8b8-4e6a-8642-f43fad45a20c</class_id> <date_shot>2025-12-11T10:31:44.9063855+00:00</date_shot> <golds>1</golds> <hits>1</hits> <location>sample string 5</location> <round_id>8de07e3a-4e15-450b-a90c-5b45e1a18cf6</round_id> <score>1</score> <status>Club_Record</status> <tens>1</tens> </ClubRecordData>
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. |