POST api/achievements
Request Information
URI Parameters
None.
Body Parameters
AchievementDetailsName | 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-08-02T09:45:44.9154384+01:00", "achievement": "sample string 2", "age_group_id": "022e4d85-864d-432f-b6dc-0bcd41f1f007", "class_id": "20a9ac88-7f43-49f9-9e74-0b526ec10803", "location": "sample string 5", "member_id": "05a8e1b5-4eaf-4bc1-b3a5-5f4d5a8e463a", "round_id": "c27a9a3d-4cec-4633-99fd-7fe7899b611f" }
multipart/form-data
Sample:
{"achieved":"2025-08-02T09:45:44.9154384+01:00","achievement":"sample string 2","age_group_id":"022e4d85-864d-432f-b6dc-0bcd41f1f007","class_id":"20a9ac88-7f43-49f9-9e74-0b526ec10803","location":"sample string 5","member_id":"05a8e1b5-4eaf-4bc1-b3a5-5f4d5a8e463a","round_id":"c27a9a3d-4cec-4633-99fd-7fe7899b611f"}
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-08-02T09:45:44.9154384+01:00</achieved> <achievement>sample string 2</achievement> <age_group_id>022e4d85-864d-432f-b6dc-0bcd41f1f007</age_group_id> <class_id>20a9ac88-7f43-49f9-9e74-0b526ec10803</class_id> <location>sample string 5</location> <member_id>05a8e1b5-4eaf-4bc1-b3a5-5f4d5a8e463a</member_id> <round_id>c27a9a3d-4cec-4633-99fd-7fe7899b611f</round_id> </AchievementDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |