menu

Hotel SendChangeRequest Details

This method is used to cancel a hold or vouchered booking.

Service URL (REST) to be used: http://HotelBE.tektravels.com/internalhotelservice.svc/rest/SendChangeRequest

SendChange Request
Level Element Format Comments Mandatory/ Optional
1 EndUserIp String IP Address of the end user Mandatory
2 TokenId String Token ID Mandatory
(Token Id to be echoed back from Authenticate response)
3 BookingId Integer Unique booking id received in book response of the successful booking Mandatory
4 RequestType Enumeration Request Type Mandatory Possible values can be - 4 HotelCancel
5 Remarks String Remarks for cancelling the booking Mandatory
Remarks for cancelling the booking
SendChangeRequest Response
Level Element Format Comments Mandatory/ Optional
1 TraceId String Trace ID Mandatory
2 ChangeRequestI d Integer Change Request Id Mandatory
3 ChangeRequestS tatus Enumeration Change Request Status Mandatory NotSet = 0, Pending = 1, InProgress = 2, Processed = 3, Rejected = 4
4 ResponseStatus Enumeration Response status Mandatory NotSet = 0, Successfull = 1, Failed = 2, InValidRequest = 3, InValidSession = 4, InValidCredentials = 5
5 Error
5.1 ErrorCode Integer Code corresponding to the Error Mandatory
5.2 ErrorMessage String Contains error message Mandatory (Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0)