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
ClubRecordDetails| 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 class. |
globally unique identifier |
Required |
| date_shot |
Sets the date shot. |
date |
Required |
| golds |
Sets the number of golds. |
integer |
None. |
| hits |
Sets the number of hits. |
integer |
None. |
| location |
Sets the location. |
string |
Required |
| member_id |
Gets or sets the identifier of the member. |
globally unique identifier |
Required |
| round_id |
Sets the identifier of the round. |
globally unique identifier |
Required |
| score |
Sets the score. |
integer |
Required |
| status |
Sets the status. |
StatusOptions |
Required |
| tens |
Sets the number of tens. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"age_group_id": "bc31a4d7-fb57-4fd7-a883-2c92917ff44e",
"class_id": "db00fddb-a824-4d83-b553-fe5ee3d94c3f",
"date_shot": "2025-12-20T22:47:44.8400634+00:00",
"golds": 1,
"hits": 1,
"location": "sample string 4",
"member_id": "f5e067dc-b8e2-4563-a43d-1f3bd7b938c2",
"round_id": "1b98a631-ba2e-475e-bfc0-aba22c84be2d",
"score": 1,
"status": 1,
"tens": 1
}
multipart/form-data
Sample:
{"age_group_id":"bc31a4d7-fb57-4fd7-a883-2c92917ff44e","class_id":"db00fddb-a824-4d83-b553-fe5ee3d94c3f","date_shot":"2025-12-20T22:47:44.8400634+00:00","golds":1,"hits":1,"location":"sample string 4","member_id":"f5e067dc-b8e2-4563-a43d-1f3bd7b938c2","round_id":"1b98a631-ba2e-475e-bfc0-aba22c84be2d","score":1,"status":1,"tens":1}
application/xml, text/xml
Sample:
<ClubRecordDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models"> <age_group_id>bc31a4d7-fb57-4fd7-a883-2c92917ff44e</age_group_id> <class_id>db00fddb-a824-4d83-b553-fe5ee3d94c3f</class_id> <date_shot>2025-12-20T22:47:44.8400634+00:00</date_shot> <golds>1</golds> <hits>1</hits> <location>sample string 4</location> <member_id>f5e067dc-b8e2-4563-a43d-1f3bd7b938c2</member_id> <round_id>1b98a631-ba2e-475e-bfc0-aba22c84be2d</round_id> <score>1</score> <status>Club_Record</status> <tens>1</tens> </ClubRecordDetails>
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. |