POST api/members

Adds a member to the database.

Request Information

URI Parameters

None.

Body Parameters

MemberDetails
NameDescriptionTypeAdditional 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

email

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

Sample:
{
  "address": "sample string 1",
  "age_group_id": "39bd5155-432d-4f9c-bc65-d0fdc3a53141",
  "archived": true,
  "class_id": "a8f3b9f5-fa39-47b3-bd60-1b9fd0a4eb4d",
  "coachinglevel": "sample string 5",
  "consent": true,
  "date_of_birth": "2025-08-02T09:44:06.1700911+01:00",
  "email": "sample string 8",
  "emergencycontact": "sample string 9",
  "emergencyphone": "sample string 10",
  "grade_id": "9d8afd00-c779-42a4-9d46-eb63a69dc01e",
  "joined": "2025-08-02T09:44:06.1700911+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

Sample:
{"address":"sample string 1","age_group_id":"39bd5155-432d-4f9c-bc65-d0fdc3a53141","archived":true,"class_id":"a8f3b9f5-fa39-47b3-bd60-1b9fd0a4eb4d","coachinglevel":"sample string 5","consent":true,"date_of_birth":"2025-08-02T09:44:06.1700911+01:00","email":"sample string 8","emergencycontact":"sample string 9","emergencyphone":"sample string 10","grade_id":"9d8afd00-c779-42a4-9d46-eb63a69dc01e","joined":"2025-08-02T09:44:06.1700911+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

Sample:
<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>39bd5155-432d-4f9c-bc65-d0fdc3a53141</age_group_id>
  <archived>true</archived>
  <class_id>a8f3b9f5-fa39-47b3-bd60-1b9fd0a4eb4d</class_id>
  <coachinglevel>sample string 5</coachinglevel>
  <consent>true</consent>
  <date_of_birth>2025-08-02T09:44:06.1700911+01:00</date_of_birth>
  <email>sample string 8</email>
  <emergencycontact>sample string 9</emergencycontact>
  <emergencyphone>sample string 10</emergencyphone>
  <grade_id>9d8afd00-c779-42a4-9d46-eb63a69dc01e</grade_id>
  <joined>2025-08-02T09:44:06.1700911+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:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.