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": "0319e980-9f9e-4cf0-8b48-62fda98762ce",
"category_id": "440d67ac-ea13-4ad6-9076-f495607e13f0",
"class_id": "61b22408-4c97-4c6b-a919-8fce23a3068d",
"date_shot": "2025-12-24T03:24:42.8868395+00:00",
"golds": 1,
"hits": 1,
"location": "sample string 5",
"round_id": "6cb3ac3c-c1c7-4eff-b6e8-dbacafd881bc",
"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>0319e980-9f9e-4cf0-8b48-62fda98762ce</archer_id> <category_id>440d67ac-ea13-4ad6-9076-f495607e13f0</category_id> <class_id>61b22408-4c97-4c6b-a919-8fce23a3068d</class_id> <date_shot>2025-12-24T03:24:42.8868395+00:00</date_shot> <golds>1</golds> <hits>1</hits> <location>sample string 5</location> <round_id>6cb3ac3c-c1c7-4eff-b6e8-dbacafd881bc</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. |