ImpSdk.getAvailableSlots

developed by Saurabh Chauhan
Name Description
getAvailableSlots SDK for Getting Available Time Slots for campaignId.

Demonstration:

getAvailableSlots()
input properties
requestdata: ​object The input data as json, ex: {campaignId:1, location: "Macys Building"}
callback: function Callback function to be called when get Available Slots 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 Data object in JSON format with Available Slots details( Ex: "result": [{"date": "04/18/2016","time": "7:00PM - 7:15PM","slotId": "103fdf40-07e7-11e6-b64e-27c004706f66","availableSlots": 30}].