ImpSdk.createReservation

developed by Saurabh Chauhan
Name Description
createReservation SDK for Create Reservation.

Demonstration:





createReservation()
input properties
requestdata: object The input data as json, ex: {"firstname": "Test","lastname": "Test","email": "Test1@mail.com","groupSize": 5,"slotTitle": "04/18/2016 8:30PM - 8:45PM","slotId": "103fdf40-07e7-11e6-b64e-27c004706f66"}
callback: function Callback function to be called when Create Reservation response is ready.
output properties
callback: function Callback function is returned with Error and Data( Ex: callback(error, responsedata) )
error: Error Error object with error details( For success: it is null )
responsedata: object {"email":"ac.bd@abc.def","slotId":"4305f5f0-08d1-11e6-ae0c-d13738317950","lastname":"Chauhan","firstname":"Saurabh","groupSize":5,"slotTitle":"7:15AM - 7:15AM","confNumber":"ac30e2c0-08d5-11e6-8c11-8f28018317c4","id":4}