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": "2025-12-20T22:44:33.0277056+00:00",
"achievement": "sample string 2",
"age_group_id": "eaca710b-f0cf-405f-bd85-6e98302e4266",
"class_id": "52121b11-6e85-4793-bf8c-e19bd88d6039",
"location": "sample string 5",
"member_id": "091e5e30-507b-44e6-8090-b935f1d111a1",
"round_id": "63c41bde-2f1a-401e-893f-583a30450383"
}
multipart/form-data
Sample:
{"achieved":"2025-12-20T22:44:33.0277056+00:00","achievement":"sample string 2","age_group_id":"eaca710b-f0cf-405f-bd85-6e98302e4266","class_id":"52121b11-6e85-4793-bf8c-e19bd88d6039","location":"sample string 5","member_id":"091e5e30-507b-44e6-8090-b935f1d111a1","round_id":"63c41bde-2f1a-401e-893f-583a30450383"}
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>2025-12-20T22:44:33.0277056+00:00</achieved> <achievement>sample string 2</achievement> <age_group_id>eaca710b-f0cf-405f-bd85-6e98302e4266</age_group_id> <class_id>52121b11-6e85-4793-bf8c-e19bd88d6039</class_id> <location>sample string 5</location> <member_id>091e5e30-507b-44e6-8090-b935f1d111a1</member_id> <round_id>63c41bde-2f1a-401e-893f-583a30450383</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. |