PUT api/members?member_id={member_id}
Updates aa member in the database given the member_id of the member
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
member_id | globally unique identifier |
Required |
Body Parameters
MemberDetailsName | 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": "1eca012f-01d0-437e-89e4-7c015f958f97", "archived": true, "class_id": "56420bb6-5ddb-4095-9968-6c41f042721a", "coachinglevel": "sample string 5", "consent": true, "date_of_birth": "2025-08-02T09:47:47.220462+01:00", "email": "sample string 8", "emergencycontact": "sample string 9", "emergencyphone": "sample string 10", "grade_id": "c2c9568d-7d15-48e4-b597-4949a778f72c", "joined": "2025-08-02T09:47:47.220462+01: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":"1eca012f-01d0-437e-89e4-7c015f958f97","archived":true,"class_id":"56420bb6-5ddb-4095-9968-6c41f042721a","coachinglevel":"sample string 5","consent":true,"date_of_birth":"2025-08-02T09:47:47.220462+01:00","email":"sample string 8","emergencycontact":"sample string 9","emergencyphone":"sample string 10","grade_id":"c2c9568d-7d15-48e4-b597-4949a778f72c","joined":"2025-08-02T09:47:47.220462+01: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>1eca012f-01d0-437e-89e4-7c015f958f97</age_group_id> <archived>true</archived> <class_id>56420bb6-5ddb-4095-9968-6c41f042721a</class_id> <coachinglevel>sample string 5</coachinglevel> <consent>true</consent> <date_of_birth>2025-08-02T09:47:47.220462+01:00</date_of_birth> <email>sample string 8</email> <emergencycontact>sample string 9</emergencycontact> <emergencyphone>sample string 10</emergencyphone> <grade_id>c2c9568d-7d15-48e4-b597-4949a778f72c</grade_id> <joined>2025-08-02T09:47:47.220462+01: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
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. |