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
AwardData| Name | 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": "2026-01-12T22:57:39.6899045+00:00",
"archer_id": "d3c0f436-bad4-4206-956f-bc45bfcc5d31",
"award": "sample string 3",
"category_id": "df16cf9a-e8a6-450f-8ea3-4763a151665b",
"class_id": "f9523bba-841d-4acc-9e39-ce9764480b47",
"round_id": "841c5ab4-1d30-46b6-bd44-268bbefafc84"
}
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>2026-01-12T22:57:39.6899045+00:00</achieved> <archer_id>d3c0f436-bad4-4206-956f-bc45bfcc5d31</archer_id> <award>sample string 3</award> <category_id>df16cf9a-e8a6-450f-8ea3-4763a151665b</category_id> <class_id>f9523bba-841d-4acc-9e39-ce9764480b47</class_id> <round_id>841c5ab4-1d30-46b6-bd44-268bbefafc84</round_id> </AwardData>
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. |