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

NameDescriptionTypeAdditional information
record_id

globally unique identifier

Required

Body Parameters

ClubRecordData
NameDescriptionTypeAdditional 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": "4bdd4dd4-6dfe-4c73-990b-fccc9bad2f4e",
  "category_id": "e1ef345f-ba1e-472a-9847-a4f208c1e6c6",
  "class_id": "c6fa982f-1485-4402-b714-066da5a32165",
  "date_shot": "2024-12-24T13:04:43.5508896+00:00",
  "golds": 1,
  "hits": 1,
  "location": "sample string 5",
  "round_id": "c7369b3d-a297-4c50-a6cc-4701516be807",
  "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>4bdd4dd4-6dfe-4c73-990b-fccc9bad2f4e</archer_id>
  <category_id>e1ef345f-ba1e-472a-9847-a4f208c1e6c6</category_id>
  <class_id>c6fa982f-1485-4402-b714-066da5a32165</class_id>
  <date_shot>2024-12-24T13:04:43.5508896+00:00</date_shot>
  <golds>1</golds>
  <hits>1</hits>
  <location>sample string 5</location>
  <round_id>c7369b3d-a297-4c50-a6cc-4701516be807</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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.