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 can be - of 4 – HotelCancel | Mandatory |
3 | BookingMode | Integer | Possible values can be of 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 | Simple result data | Mandatory |
7 | EndUserIp | String | IP Address of the end user | Mandatory |
8 | ClientId | String | Client ID provided to the agency at registration | Mandatory |
9 | UserName | String | Client ID provided to the agency at registration | Mandatory |
10 | Password | String | Client ID provided to the agency at registration | Mandatory |
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | Error[] | Array | Error | Mandatory |
1.1 | ErrorCode | String | Error Code | Mandatory |
1.2 | ErrorMessage | String | Error Message | Mandatory |
2 | ResponseStatus | Enumeration | Response Status (NotSet = 0, Successfull = 1, Failed = 2, InValidRequest = 3, InValidSession = 4, InValidCredentials = 5) |
Mandatory |
3 | SrdvType | String | Simple result data version Type | Mandatory |
4 | SrdvIndex | String | Simple result data | Mandatory |
5 | TraceId | String | Trace ID | Mandatory |
6 | ChangeRequestId | Integer | Change Request Id | Mandatory |
7 | ChangeRequestStatus | Enumeration | Change Request Status (NotSet = 0, Pending = 1, InProgress = 2, Processed = 3, Rejected = 4) |
Mandatory |