POST
https://api.moveinsync.com/spot-service/{{Client BUID}}/intergation/booking
HEADERS
Bodyraw (json)
{
"requester": {
"name": "{{requesterName}}",
"email": "{{requesterEmail}}",
"mobile": "{{requesterMobile}}"
},
"booker": {
"name": "{{bookerName}}",
"email": "{{bookerEmail}}",
"mobile": "{{bookerMobile}}"
},
"spotBookings": {
"city": "{{bookingCity}}",
"spotBookingType": "{{spotBookingType}}",
"destinationCity": "{{destinationCity}}",
"vehicleType": "{{vehicleType}}",
"reason": "{{bookingReason}}",
"flightDetails": "{{flightDetails}}",
"vendor": "{{vendor}}",
"guardReq": "{{guardRequired}}",
"riders": [
{
"name": "{{riderName}}",
"email": "{{riderEmail}}",
"phoneCode": "{{riderPhoneCode}}",
"mobile": "{{riderMobile}}",
"gender": "{{riderGender}}"
}
],
"stops": [
{
"address": "{{stop1Address}}",
"time": "{{stop1Time}}",
"priorityOrder": 1,
"geoCord": "{{stop1GeoCoordinates}}",
"landmark": "{{stop1Landmark}}",
"pointType": "START",
"riderMailIds": [
{
"email": "{{riderEmail}}",
"boardingType": "{{boardingType}}"
}
]
},
{
"address": "{{stop2Address}}",
"time": "{{stop2Time}}",
"priorityOrder": 2,
"geoCord": "{{stop2GeoCoordinates}}",
"landmark": "{{stop2Landmark}}",
"addressType": "{{stop2AddressType}}",
"riderMailIds": "{{riderMailIds}}"
},
{
"address": "{{stop3Address}}",
"time": "{{stop3Time}}",
"priorityOrder": 3,
"geoCord": "{{stop3GeoCoordinates}}",
"landmark": "{{stop3Landmark}}",
"addressType": "{{stop3AddressType}}",
"pointType": "END",
"riderMailIds": [
{
"email": "{{riderEmail}}",
"boardingType": "{{boardingType}}"
}
]
}
]
},
"bunit": "{{businessUnit}}",
"bookingReferenceId": "{{bookingReferenceId}}"
}POST
https://api.moveinsync.com/spot-service/{{Client BUID}}/intergation/booking
HEADERS
Bodyraw (json)
{
"modifier": "{{requestingUserEmail}}",
"bookingId": "{{bookingId}}",
"reason": "{{cancellationReason}}"
}POST
https://api.moveinsync.com/spot-service/{{Client BUID}}/intergation/booking
HEADERS
Bodyraw (json)
{
"booker": {
"name": "{{bookerName}}",
"email": "{{bookerEmail}}",
"mobile": "{{bookerMobile}}"
},
"modifier": {
"name": "{{modifierName}}",
"email": "{{modifierEmail}}",
"mobile": "{{modifierMobile}}"
},
"bookingId": "{{bookingId}}",
"reason": "{{modificationReason}}",
"spotBookings": [
{
"city": "{{bookingCity}}",
"spotBookingType": "{{spotBookingType}}",
"destinationCity": "{{destinationCity}}",
"vehicleType": "{{vehicleType}}",
"reason": "{{bookingReason}}",
"flightDetails": "{{flightDetails}}",
"vendor": "{{vendor}}",
"guardReq": {{guardRequired}},
"riders": [
{
"name": "{{riderName}}",
"email": "{{riderEmail}}",
"phoneCode": "{{riderPhoneCode}}",
"mobile": "{{riderMobile}}"
}
],
"stops": [
{
"address": "{{stop1Address}}",
"time": "{{stop1Time}}",
"priorityOrder": 1,
"geoCord": "{{stop1GeoCoordinates}}",
"pointType": "START",
"riderMailIds": [
{
"email": "{{riderEmail}}",
"boardingType": "{{boardingType}}"
}
]
},
{
"address": "{{stop2Address}}",
"time": "{{stop2Time}}",
"priorityOrder": 2,
"geoCord": "{{stop2GeoCoordinates}}",
"addressType": "{{stop2AddressType}}",
"riderMailIds": "{{riderMailIds}}"
},
{
"address": "{{stop3Address}}",
"time": "{{stop3Time}}",
"priorityOrder": 3,
"geoCord": "{{stop3GeoCoordinates}}",
"addressType": "{{stop3AddressType}}",
"pointType": "END",
"riderMailIds": [
{
"email": "{{riderEmail}}",
"boardingType": "{{boardingType}}"
}
]
}
]
}
]
}Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article