POST api/achievements
Request Information
URI Parameters
None.
Body Parameters
AchievementDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| achieved |
Sets the date achieved. |
date |
Required |
| achievement |
Sets the achievement. |
string |
Required |
| age_group_id |
Sets the identifier of the age group. |
globally unique identifier |
None. |
| class_id |
Sets the identifier of the class. |
globally unique identifier |
None. |
| location | string |
Required |
|
| member_id |
Sets the identifier of the member. |
globally unique identifier |
Required |
| round_id |
Sets the identifier of the round. |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"achieved": "2026-05-06T11:10:56.183025+01:00",
"achievement": "sample string 2",
"age_group_id": "659a82e7-f89d-4be0-b7f0-41ecfbc6163d",
"class_id": "6801f7bc-f699-4024-9785-0d1d768d28c6",
"location": "sample string 5",
"member_id": "f1d30824-1e53-4788-8112-92ed7973c071",
"round_id": "380e2120-a3be-4ec5-b859-9dbc014e4734"
}
multipart/form-data
Sample:
{"achieved":"2026-05-06T11:10:56.183025+01:00","achievement":"sample string 2","age_group_id":"659a82e7-f89d-4be0-b7f0-41ecfbc6163d","class_id":"6801f7bc-f699-4024-9785-0d1d768d28c6","location":"sample string 5","member_id":"f1d30824-1e53-4788-8112-92ed7973c071","round_id":"380e2120-a3be-4ec5-b859-9dbc014e4734"}
application/xml, text/xml
Sample:
<AchievementDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models"> <achieved>2026-05-06T11:10:56.183025+01:00</achieved> <achievement>sample string 2</achievement> <age_group_id>659a82e7-f89d-4be0-b7f0-41ecfbc6163d</age_group_id> <class_id>6801f7bc-f699-4024-9785-0d1d768d28c6</class_id> <location>sample string 5</location> <member_id>f1d30824-1e53-4788-8112-92ed7973c071</member_id> <round_id>380e2120-a3be-4ec5-b859-9dbc014e4734</round_id> </AchievementDetails>
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. |