Skip to content

Requests

Schemas that define requests.

CreateBookingRequest

messagestring

message to host

Example:"If you need to call, please consider we are in European time zone"
productTypeUuidstring, (uuid)

UUID of product type

Example:"efedb1fc-f150-5eaa-bf6e-fc202f6114bd"
customerobject(Booking Customer)

Booking person contact data

Example:
{ "email": "example@bemyguest.com.sg", "firstName": "Example", "lastName": "Customer", "phone": "+65 0000 0000", "salutation": "Mr." }
adultsinteger, int32

Number of adults, can be 0 when minPax = 0

Example:1
childreninteger, int32

Number of children

Example:0
seniorsinteger, int32

Number of seniors

Example:0
timeSlotUuidstring, (uuid)

UUID of timeslot. If timeslots provided.

Example:"cd15153e-dfd1-5077-8aa3-115bec58e86e"
arrivalDatestring, (date)

Date

Example:"2018-03-10"
partnerReferencestring

Your own id of booking

Example:"OUR_BOOKING_NO_001"
optionsobject(BookingOptions)

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

Example:
{ "perBooking": [], "perPax": [] }
{ "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": [] } }