Cancel Bus Booking

The ticket cancellation must be requested on a per-passenger basis. A separate cancellation request is required for each individual PAX, and only a single SeatName can be passed in each cancellation request.
In scenarios where "PartialCancellationAllowed": false (which indicates that the operator does not allow partial cancellation), if the customer initiates cancellation for the primary passenger seat(IsLeadpax: True), the entire ticket will be cancelled automatically.

Service URL (REST) to be used:
Cancel Bus Booking Request
Level Element Format Comments Mandatory
1 ClientId String Client ID is provided to the agency at the time of registration. Mandatory
2 UserName String User name is provided to the agency at the time of registration. Mandatory
3 Password String Password is provided to the agency at the time of registration. Mandatory
4 EndUserIp String IP address of the End User Mandatory
5 TraceId String Unique identifier for identifying every unique search Required for audit purpose from Search Response. Mandatory
6 SeatName String Allocated seat name or number for the passenger. Mandatory
7 Remarks String Remark for cancellation. Mandatory
Cancel Bus Booking Response
Level Element Format Comments Mandatory
1 Error {} Object Error Object containing ErrorCode and ErrorMessage Mandatory
1.1 ErrorCode Integer Code corresponding to the Error Mandatory
1.2 ErrorMessage String Contains error description corresponding to ErrorCode. Blank if ErrorCode = 0 Mandatory
2 Status String Current status of the cancellation request (e.g., In Process) Mandatory
3 CancelId Integer Unique cancellation request identifier Mandatory
4 TraceId Integer Unique identifier for tracking the request, required for audit purpose Mandatory