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 .jsv suffix or ?format=jsv

HTTP + 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
}