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-06-21T20:35:56.1066117+01:00",
"achievement": "sample string 2",
"age_group_id": "979030e1-41f7-45c9-a6b6-0632e3c0c9d6",
"class_id": "7ca3b7e0-3e90-43ad-a4e1-a87477b44de2",
"location": "sample string 5",
"member_id": "5d8c7bea-356e-4308-901d-43b076788284",
"round_id": "60e97015-ceaf-43d4-871d-b6265f08191d"
}
multipart/form-data
Sample:
{"achieved":"2026-06-21T20:35:56.1066117+01:00","achievement":"sample string 2","age_group_id":"979030e1-41f7-45c9-a6b6-0632e3c0c9d6","class_id":"7ca3b7e0-3e90-43ad-a4e1-a87477b44de2","location":"sample string 5","member_id":"5d8c7bea-356e-4308-901d-43b076788284","round_id":"60e97015-ceaf-43d4-871d-b6265f08191d"}
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-06-21T20:35:56.1066117+01:00</achieved> <achievement>sample string 2</achievement> <age_group_id>979030e1-41f7-45c9-a6b6-0632e3c0c9d6</age_group_id> <class_id>7ca3b7e0-3e90-43ad-a4e1-a87477b44de2</class_id> <location>sample string 5</location> <member_id>5d8c7bea-356e-4308-901d-43b076788284</member_id> <round_id>60e97015-ceaf-43d4-871d-b6265f08191d</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. |