Send Change Request/ Hotel Cancel

These methods are to be called to send cancellation or change requests and to check the cancellation status.

Service URL (REST) to be used:
Send Change Request
Level Element Format Comments Mandatory
1 BookingId Integer Unique booking id received in book response of the successful booking Mandatory
2 RequestType Enumeration Possible values : 4 – HotelCancel Mandatory
3 BookingMode Integer Possible values : 5. Mandatory
4 Remarks String Remarks need to be send at the time of cancellation Mandatory
5 SrdvType String Simple result data version Type Mandatory
6 SrdvIndex String Unique identifier for the hotel search result record. Mandatory
7 EndUserIp String Public IP address of the end user initiating the hotel search request. Used for security, tracking, and compliance purposes. Mandatory
8 ClientId String Client ID provided to the agency at registration Mandatory
9 UserName String User Name provided to the agency at registration Mandatory
10 Password String Password provided to the agency at registration Mandatory
Send Change Response
Level Element Format Comments Mandatory
1 Error{} Object Object containing error information returned during booking processing. Mandatory
1.1 ErrorCode String Unique system-generated error code identifying the reason for booking failure or validation error. Mandatory
1.2 ErrorMessage String Detailed description of the error encountered during the booking process Mandatory
2 ResponseStatus Enumeration Response Status (NotSet = 0, Successful = 1, Failed = 2, InValidRequest = 3, InValidSession = 4, InValidCredentials = 5) Mandatory
3 SrdvType String Response type identifier indicating the version or category of data returned by the SRDV system Mandatory
4 SrdvIndex String Unique identifier for the hotel search result record. Mandatory
5 TraceId String Unique transaction identifier used for request tracking, troubleshooting, and support purposes. Mandatory
6 ChangeRequestId Integer Unique identifier assigned to the booking modification or cancellation request. Mandatory
7 ChangeRequestStatus Enumeration Change Request Status ( NotSet = 0, Pending = 1, InProgress = 2, Processed = 3, Rejected = 4 ) Mandatory