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-09-19T22:51:22.6657652+01:00",
"achievement": "sample string 2",
"age_group_id": "db944188-4083-4fe9-b9d7-c2b0d2f62c5f",
"class_id": "8b001d21-63a1-46d3-b165-2c11c2a185f3",
"location": "sample string 5",
"member_id": "f173da96-156a-41c1-9dda-623dedcf6fc1",
"round_id": "312d85dd-87ef-4930-97ce-467ad352b481"
}
multipart/form-data
Sample:
{"achieved":"2026-09-19T22:51:22.6657652+01:00","achievement":"sample string 2","age_group_id":"db944188-4083-4fe9-b9d7-c2b0d2f62c5f","class_id":"8b001d21-63a1-46d3-b165-2c11c2a185f3","location":"sample string 5","member_id":"f173da96-156a-41c1-9dda-623dedcf6fc1","round_id":"312d85dd-87ef-4930-97ce-467ad352b481"}
application/xml, text/xml
Sample:
<AchievementDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_API.Models"> <achieved>2026-09-19T22:51:22.6657652+01:00</achieved> <achievement>sample string 2</achievement> <age_group_id>db944188-4083-4fe9-b9d7-c2b0d2f62c5f</age_group_id> <class_id>8b001d21-63a1-46d3-b165-2c11c2a185f3</class_id> <location>sample string 5</location> <member_id>f173da96-156a-41c1-9dda-623dedcf6fc1</member_id> <round_id>312d85dd-87ef-4930-97ce-467ad352b481</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. |