Booking Functions

If you want to be able to book through a different channel than the Booking Pad website, you can do this by calling the following booking functions.


bookSlotBySlotId

Type Name Description
Method bookSlotBySlotId When you load up an event, you will get a list of booking slots on the event. You can book any of these slots (if they are not already booked) by calling this function.
Return True True is returned if the booking was successful. Otherwise an error will be returned.
Parameter 1 sessionId This is the sessionId you got from logging in.
Parameter 2 Event Id This is the id of the event you want to book into.
Parameter 3 Slot Id This is the id of the slot you want to book.
Parameter 4 Name The name of the person booking the slot.
Parameter 5 Booker Info 1 This is the first additional filed the booker can fill in. Normally this will be email, but can be configured on a site by site basis.
Parameter 6 Booker Info 2 This is the second additional filed the booker can fill in. Normally this will be phone, but can be configured on a site by site basis.
Parameter 7 Booker Info Large This is the third additional filed the booker can fill in. Normally this will be notes, but can be configured on a site by site basis.

bookSlotByName

Type Name Description
Method bookSlotByName In Booking Pad, you can create slots with names on them. You can have multiple slots with the same name. This method enables you to book slots by this name.
Return True True is returned if the booking was successful. Otherwise an error will be returned.
Parameter 1 sessionId This is the sessionId you got from logging in.
Parameter 2 Event Id This is the id of the event you want to book into.
Parameter 3 Slot Name This is the name of the slot you want to book.
Parameter 4 Name The name of the person booking the slot.
Parameter 5 Booker Info 1 This is the first additional filed the booker can fill in. Normally this will be email, but can be configured on a site by site basis.
Parameter 6 Booker Info 2 This is the second additional filed the booker can fill in. Normally this will be phone, but can be configured on a site by site basis.
Parameter 7 Booker Info Large This is the third additional filed the booker can fill in. Normally this will be notes, but can be configured on a site by site basis.