POST api/members
Adds a member to the database.
Request Information
URI Parameters
None.
Body Parameters
MemberDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| address |
Sets the member address. |
string |
None. |
| age_group_id |
Sets the identifier of the member age group. |
globally unique identifier |
Required |
| archived |
Sets if the member is archived. |
boolean |
None. |
| class_id |
Sets the identifier of the member bow class. |
globally unique identifier |
Required |
| coachinglevel |
Sets the member coaching level. |
string |
None. |
| consent |
Sets if the member consents to communications |
boolean |
Required |
| date_of_birth |
Sets the member date of birth. If only know age then use 01/01/YYYY where YYYY is the birth year calculated by taking age this year away from the current year |
date |
Required |
|
Sets the member email. |
string |
None. |
|
| emergencycontact |
Sets the member emergency contact. |
string |
None. |
| emergencyphone |
Sets the member emergency contact phone #. |
string |
None. |
| grade_id |
Sets the identifier of the member grade. |
globally unique identifier |
None. |
| joined |
Sets the date the member joined. |
date |
Required |
| junior |
Sets if the member is junior (under 18). |
boolean |
Required |
| membership_id |
Sets the membership ID |
string |
None. |
| name |
Sets the member name. |
string |
Required |
| no_age_checks |
Sets if no age checks are to be undertaken. |
boolean |
None. |
| no_joined_checks |
Sets if no date joined checks are to be undertaken. |
boolean |
None. |
| notes |
Sets any notes. |
string |
None. |
| phone |
Sets the member phone #. |
string |
None. |
Request Formats
application/json, text/json
{
"address": "sample string 1",
"age_group_id": "79090c78-d6a1-4999-863d-4967aacad89d",
"archived": true,
"class_id": "755165c7-89d7-4ddc-91d7-677406af4d72",
"coachinglevel": "sample string 5",
"consent": true,
"date_of_birth": "2025-12-20T22:43:19.8868188+00:00",
"email": "sample string 8",
"emergencycontact": "sample string 9",
"emergencyphone": "sample string 10",
"grade_id": "9b2fd99d-5403-423e-8b00-58326ab8b273",
"joined": "2025-12-20T22:43:19.8868188+00:00",
"junior": true,
"membership_id": "sample string 14",
"name": "sample string 15",
"no_age_checks": true,
"no_joined_checks": true,
"notes": "sample string 18",
"phone": "sample string 19"
}
multipart/form-data
{"address":"sample string 1","age_group_id":"79090c78-d6a1-4999-863d-4967aacad89d","archived":true,"class_id":"755165c7-89d7-4ddc-91d7-677406af4d72","coachinglevel":"sample string 5","consent":true,"date_of_birth":"2025-12-20T22:43:19.8868188+00:00","email":"sample string 8","emergencycontact":"sample string 9","emergencyphone":"sample string 10","grade_id":"9b2fd99d-5403-423e-8b00-58326ab8b273","joined":"2025-12-20T22:43:19.8868188+00:00","junior":true,"membership_id":"sample string 14","name":"sample string 15","no_age_checks":true,"no_joined_checks":true,"notes":"sample string 18","phone":"sample string 19"}
application/xml, text/xml
<MemberDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API.Models"> <address>sample string 1</address> <age_group_id>79090c78-d6a1-4999-863d-4967aacad89d</age_group_id> <archived>true</archived> <class_id>755165c7-89d7-4ddc-91d7-677406af4d72</class_id> <coachinglevel>sample string 5</coachinglevel> <consent>true</consent> <date_of_birth>2025-12-20T22:43:19.8868188+00:00</date_of_birth> <email>sample string 8</email> <emergencycontact>sample string 9</emergencycontact> <emergencyphone>sample string 10</emergencyphone> <grade_id>9b2fd99d-5403-423e-8b00-58326ab8b273</grade_id> <joined>2025-12-20T22:43:19.8868188+00:00</joined> <junior>true</junior> <membership_id>sample string 14</membership_id> <name>sample string 15</name> <no_age_checks>true</no_age_checks> <no_joined_checks>true</no_joined_checks> <notes>sample string 18</notes> <phone>sample string 19</phone> </MemberDetails>
application/x-www-form-urlencoded
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. |