Skip to content

Requests

Schemas that define requests.

CreateBookingRequest

messagestring

message to host

productTypeUuidstring, (uuid)

UUID of product type

customerobject(Booking Customer)

Booking person contact data

adultsinteger, int32

Number of adults, can be 0 when minPax = 0

childreninteger, int32

Number of children

seniorsinteger, int32

Number of seniors

timeSlotUuidstring, (uuid)

UUID of timeslot. If timeslots provided.

arrivalDatestring, (date)

Date

partnerReferencestring

Your own id of booking

optionsobject(BookingOptions)

Structure of a booking options object as used when creating a new booking

{ "message": "If you need to call, please consider we are in European time zone", "productTypeUuid": "efedb1fc-f150-5eaa-bf6e-fc202f6114bd", "customer": { "email": "example@bemyguest.com.sg", "firstName": "Example", "lastName": "Customer", "phone": "+65 0000 0000", "salutation": "Mr." }, "adults": 1, "children": 0, "seniors": 0, "timeSlotUuid": "cd15153e-dfd1-5077-8aa3-115bec58e86e", "arrivalDate": "2018-03-10", "partnerReference": "OUR_BOOKING_NO_001", "options": { "perPax": [], "perBooking": [] } }