PUT api/awards?award_id={award_id}
Updates an award in the database given the unique id of the award
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
award_id | globally unique identifier |
Required |
Body Parameters
AwardDataName | Description | Type | Additional information |
---|---|---|---|
achieved | date |
Required |
|
archer_id | globally unique identifier |
Required |
|
award | string |
Required |
|
category_id | globally unique identifier |
None. |
|
class_id | globally unique identifier |
None. |
|
round_id | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "achieved": "2025-08-27T06:03:47.2906486+01:00", "archer_id": "f3124cae-04f5-413d-b08d-f3de20b6bf07", "award": "sample string 3", "category_id": "5857ec1d-5bf3-4c8a-a43f-db341f3d2daa", "class_id": "fab2ebe3-ed42-4166-97a1-494eb765e78a", "round_id": "c2f7621e-7b59-402e-80ce-4f753b68abb6" }
application/xml, text/xml
Sample:
<AwardData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models"> <achieved>2025-08-27T06:03:47.2906486+01:00</achieved> <archer_id>f3124cae-04f5-413d-b08d-f3de20b6bf07</archer_id> <award>sample string 3</award> <category_id>5857ec1d-5bf3-4c8a-a43f-db341f3d2daa</category_id> <class_id>fab2ebe3-ed42-4166-97a1-494eb765e78a</class_id> <round_id>c2f7621e-7b59-402e-80ce-4f753b68abb6</round_id> </AwardData>
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. |