| POST | /zapier/v1/booking |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Title | body | string | No | |
| Forenames | body | string | No | |
| Surname | body | string | No | |
| EmailAddress | body | string | No | |
| MobilePhone | body | string | No | |
| HomePhone | body | string | No | |
| DateOfBirth | body | DateTime? | No | |
| Tags | body | string[] | No | |
| OptInEmail | body | bool | No | |
| OptInSms | body | bool | No | |
| BookingTemplateId | body | int? | No | |
| Name | body | string | No | |
| StartDate | body | string | No | |
| Duration | body | int? | No | |
| EndDate | body | string | No | |
| StaffId | body | int? | No | |
| StaffName | body | string | No | |
| FacilityId | body | int? | No | |
| MaxAttendees | body | int? | No | |
| Notes | body | string | No | |
| AddToExisting | body | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MemberId | form | int | No | |
| MemberKey | form | Guid | No | |
| MemberCreated | form | bool | No | |
| BookingId | form | int | No | |
| BookingCreated | form | bool | No | |
| BookingAttendeeId | form | int | No | |
| Name | form | string | No | |
| StartDate | form | DateTime | No | |
| EndDate | form | DateTime | No | |
| StaffId | form | int? | No | |
| StaffName | form | string | No | |
| InstructorMatched | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /zapier/v1/booking HTTP/1.1
Host: api.clubmanagercentral.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Title: String,
Forenames: String,
Surname: String,
EmailAddress: String,
MobilePhone: String,
HomePhone: String,
DateOfBirth: 0001-01-01,
Tags:
[
String
],
OptInEmail: False,
OptInSms: False,
BookingTemplateId: 0,
Name: String,
StartDate: String,
Duration: 0,
EndDate: String,
StaffId: 0,
StaffName: String,
FacilityId: 0,
MaxAttendees: 0,
Notes: String,
AddToExisting: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
MemberId: 0,
MemberKey: 00000000000000000000000000000000,
MemberCreated: False,
BookingId: 0,
BookingCreated: False,
BookingAttendeeId: 0,
Name: String,
StartDate: 0001-01-01,
EndDate: 0001-01-01,
StaffId: 0,
StaffName: String,
InstructorMatched: False
}