| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"Title":"String","Forenames":"String","Surname":"String","EmailAddress":"String","MobilePhone":"String","HomePhone":"String","DateOfBirth":"0001-01-01T00:00:00.0000000","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: application/json
Content-Length: length
{"MemberId":0,"MemberKey":"00000000000000000000000000000000","MemberCreated":false,"BookingId":0,"BookingCreated":false,"BookingAttendeeId":0,"Name":"String","StartDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000","StaffId":0,"StaffName":"String","InstructorMatched":false}