-
Notifications
You must be signed in to change notification settings - Fork 0
CT Local Activities Book Itinerary
SoumyaSian edited this page Mar 14, 2018
·
10 revisions
confirm_activity_booking
KEYWORD | DESCRIPTION |
---|---|
ITINERARY_ID | Itinerary Id from create itinerary API |
USER_DETAILS | Object containing User Details |
TITLE | User Title Ex: Mr or Ms or Mrs |
FIRS_TNAME | User's first name |
LAST_NAME | User's last name |
USER_NAME | User's email. Booking confirmation will be sent to this email |
MOBILE_NUMBER | User's mobile number. SMS Confirmation will be sent to this mobile number |
BOOKING_REF | Booking reference for the Current Booking |
{
"itinerary_id":"$ITINERARY_ID",
"$user_details":{
"title" : "$TITLE",
"firstName": "$FIRST_NAME",
"lastName" : "$LAST_NAME",
"userName" : "$USER_NAME",
"mobileNumber" : "$MOBILE_NUMBER",
"bookingRef" : "$BOOKING_REF"
}
}
KEY | DESCRIPTION |
---|---|
TRIP_ID | Cleartrip ID for The trip |
VOUCHER_NO | Cleartrip voucher number |
{“success”:
{
“trip_id”:“$TRIP_ID”,
“voucher_no”:“$VOUCHER_NO”
}
}
Some error messages, you might get an invalid search request. The HTTP response code, in this case, will be 400.
Status | Error message | Description |
---|---|---|
400 | Itinerary ID not found. Invalid Itinerary ID | Invalid Itinerary Id or Itinerary id is missing |
400 | Booking failed | Booking failed |