ClubManager.Api

<back to all web services

ZapierBookingRequest

The following routes are available for this service:
POST/zapier/v1/booking
ZapierBookingRequest Parameters:
NameParameterData TypeRequiredDescription
TitlebodystringNo
ForenamesbodystringNo
SurnamebodystringNo
EmailAddressbodystringNo
MobilePhonebodystringNo
HomePhonebodystringNo
DateOfBirthbodyDateTime?No
Tagsbodystring[]No
OptInEmailbodyboolNo
OptInSmsbodyboolNo
BookingTemplateIdbodyint?No
NamebodystringNo
StartDatebodystringNo
Durationbodyint?No
EndDatebodystringNo
StaffIdbodyint?No
StaffNamebodystringNo
FacilityIdbodyint?No
MaxAttendeesbodyint?No
NotesbodystringNo
AddToExistingbodybool?No
ZapierBookingResponse Parameters:
NameParameterData TypeRequiredDescription
MemberIdformintNo
MemberKeyformGuidNo
MemberCreatedformboolNo
BookingIdformintNo
BookingCreatedformboolNo
BookingAttendeeIdformintNo
NameformstringNo
StartDateformDateTimeNo
EndDateformDateTimeNo
StaffIdformint?No
StaffNameformstringNo
InstructorMatchedformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
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: text/csv
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}