Bus Send Change
These methods are to be called to send cancellation or change requests and to check the cancellation status.
Service URL (REST) to be used: https://staging.travelxmlapi.com/V3/busservice/busrest/bus_booking_change
Bus Send Change REQUEST
Element |
Format |
Meaning |
Mandatory/Optional |
---|---|---|---|
UserIp |
String |
IP Address of the end user |
Yes |
Search_Token |
String |
Authenticate method give Token ID. Token Id to be echoed back in further requests. For more details of Token id please check authenticate method |
Yes |
BusId |
Long |
Bus id of successful Booking |
Yes |
Remarks |
String |
Remark for cancellation |
Yes |
RequestType |
Enumeration |
Possible value can be BusCancel=11 |
Yes |
Bus Send Change RESPONSE
Element |
Format |
Meaning |
Mandatory/Optional |
---|---|---|---|
UserIp |
String |
IP Address of the end user |
Yes |
Search_Token |
String |
Authenticate method give Token ID. Token Id to be echoed back in further requests. For more details of Token id please check authenticate method |
Yes |
Error |
Object |
Yes |
|
ErrorCode |
String |
Code corresponding to the Error |
Yes |
ErrorMessage |
String |
Contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0 |
Yes |
Result |
Array |
Array of results |
Yes |
CancellationCharge |
Decimal |
Cancellation charges applied |
Yes |
CancellationFees |
Decimal |
Yes |
|
CancellationServiceCharge |
Decimal |
Cancellation charges applicable on booking that may vary depending on the cancellation policy of the booking |
Yes |
ChangeRequestId |
Yes |
||
ChangeRequestStatus |
Enumeration |
Yes |
|
CreditNoteCreatedOn |
Date time |
Credit note creation date |
Yes |
TotalPrice |
Decimal |
Price of ticket |
Yes |
RefundedAmount |
Decimal |
Refunded amount after cancellation charges |
Yes |
CancellationCharge |
Decimal |
Cancellation charges applied |
Yes |
TotalServiceCharge |
Decimal |
Applicable service charges |
Yes |
TotalGSTAmount |
Object |
Yes |
|
GST |
Decimal |
Define the CGST and IGST rate and amount applicable on the bus price |
Yes |
CGSTAmount |
Decimal |
CGST amount |
Yes |
CGSTRate |
Decimal |
Rate of CGST |
Yes |
CessAmount |
Decimal |
Cess amount |
Yes |
CessRate |
Decimal |
Rate of cess |
Yes |
IGSTAmount |
Decimal |
IGST amount |
Yes |
IGSTRate |
Decimal |
Rate of IGST |
Yes |
SGSTAmount |
Decimal |
SGST S amount |
Yes |
SGSTRate |
Decimal |
Rate of SGST |
Yes |
TaxableAmount |
Decimal |
Total taxable amount |
Yes |