Generate Voucher Response

Generate Voucher Response

Element
Format
Meaning
Mandatory/Optional
UserIp
String
IP Address of the end user
Mandatory
Search_Token
String
Search Token ID
Mandatory
Currency
String
Currency Value (INR)
Mandatory
Error
[]
ErrorCode
Integer
Error code
Mandatory
ErrorMessage
String
In case of hotel search, if any issue arises, it shows an error message. Otherwise Null.
Mandatory
Currency
String
Preferred currency in which client is expecting price
Mandatory
Result
Integer
Result
Mandatory
VoucherStatus
Boolean
Voucher Status
Mandatory true - Booking is vouchered false - Booking is not Vouchered
ResponseStatus
Enumerati on
Response status
Mandatory NotSet = 0, Successfull = 1, Failed = 2, InValidRequest = 3, InValidSession = 4, InValidCredentials = 5
Status
Enumerati on
Booking status
Mandatory Possible values can be 0 – BookFailed, 1 - Confirmed, 3 – VerifyPrice, 6 – Cancelled
HotelBookingStatus
String
Booking status description
Mandatory Possible values can be – BookFailed, Confirmed, VerifyPrice, Cancelled
InvoiceNumber
Integer
Invoice Number
Mandatory
ConfirmationNo
String
Unique confirmation number of the successful booking
Mandatory
BookingRefNo
String
Booking Reference Number
Mandatory
BookingId
Integer
Unique booking id of the successful booking
Mandatory