PUT api/archers?archer_id={archer_id}
Updates an archer in the database given the archer_id of the archer
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| archer_id | globally unique identifier |
Required |
Body Parameters
ArcherData| Name | Description | Type | Additional information |
|---|---|---|---|
| address | string |
None. |
|
| archived | boolean |
None. |
|
| category_id | globally unique identifier |
Required |
|
| class_id | globally unique identifier |
Required |
|
| coachinglevel | string |
None. |
|
| consent | boolean |
Required |
|
| date_of_birth | date |
Required |
|
| string |
None. |
||
| emergencycontact | string |
None. |
|
| emergencyphone | string |
None. |
|
| grade_id | globally unique identifier |
None. |
|
| joined | date |
Required |
|
| junior | boolean |
Required |
|
| membership_id | string |
None. |
|
| name | string |
Required |
|
| no_age_checks | boolean |
None. |
|
| no_joined_checks | boolean |
None. |
|
| notes | string |
None. |
|
| phone | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"address": "sample string 1",
"archived": true,
"category_id": "6731603b-93b2-4309-af9c-7cd8abee8820",
"class_id": "d175cf76-4d2b-4fbd-92ad-eaa70c5491f2",
"coachinglevel": "sample string 5",
"consent": true,
"date_of_birth": "2025-12-16T23:54:39.8027635+00:00",
"email": "sample string 8",
"emergencycontact": "sample string 9",
"emergencyphone": "sample string 10",
"grade_id": "b86e9ab6-017d-48bd-a7ce-630c36ba73c3",
"joined": "2025-12-16T23:54:39.8027635+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
Sample:
<ArcherData 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> <archived>true</archived> <category_id>6731603b-93b2-4309-af9c-7cd8abee8820</category_id> <class_id>d175cf76-4d2b-4fbd-92ad-eaa70c5491f2</class_id> <coachinglevel>sample string 5</coachinglevel> <consent>true</consent> <date_of_birth>2025-12-16T23:54:39.8027635+00:00</date_of_birth> <email>sample string 8</email> <emergencycontact>sample string 9</emergencycontact> <emergencyphone>sample string 10</emergencyphone> <grade_id>b86e9ab6-017d-48bd-a7ce-630c36ba73c3</grade_id> <joined>2025-12-16T23:54:39.8027635+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> </ArcherData>
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. |