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-08-06T02:38:46.7071649+01:00",
"achievement": "sample string 2",
"age_group_id": "099e0ab4-019c-4188-961f-a1e0aeb5d503",
"class_id": "ac47c853-ab7c-451d-9077-fb1e0c01159d",
"location": "sample string 5",
"member_id": "0889aced-dfe7-44ee-9c3f-e2c126d7c549",
"round_id": "22e1a61c-a47f-43c7-81a9-e111b2d5cd03"
}
multipart/form-data
Sample:
{"achieved":"2026-08-06T02:38:46.7071649+01:00","achievement":"sample string 2","age_group_id":"099e0ab4-019c-4188-961f-a1e0aeb5d503","class_id":"ac47c853-ab7c-451d-9077-fb1e0c01159d","location":"sample string 5","member_id":"0889aced-dfe7-44ee-9c3f-e2c126d7c549","round_id":"22e1a61c-a47f-43c7-81a9-e111b2d5cd03"}
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-08-06T02:38:46.7071649+01:00</achieved> <achievement>sample string 2</achievement> <age_group_id>099e0ab4-019c-4188-961f-a1e0aeb5d503</age_group_id> <class_id>ac47c853-ab7c-451d-9077-fb1e0c01159d</class_id> <location>sample string 5</location> <member_id>0889aced-dfe7-44ee-9c3f-e2c126d7c549</member_id> <round_id>22e1a61c-a47f-43c7-81a9-e111b2d5cd03</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. |