Bus GetBooking Details 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 |
|
IsDomestic |
Boolean |
Possible value true or false |
Yes |
|
TicketNo |
String |
Unique Ticket number of the successful booking |
Yes |
|
ArrivalTime |
Date Time |
Approx. arrival time at the destination. |
Yes |
|
BlockDuration |
Integer |
Maximum allowed time between block to Book otherwise booking will be unblock for more detail of Block time refer to block method |
Yes |
|
BookingMode |
Define the bus Booking Mode |
Yes |
|
|
BusId |
Integer |
Yes |
|
|
BusType |
Enumeration |
Define bus type (e.g. Leyland A/C Seater/Sleeper Executive Luxury (2+2), etc |
Yes |
|
DateOfJourney |
Date time |
Travel Date (Ex: 2019/06/30) Format: (YYYY/mm/dd) |
Yes |
|
DepartureTime |
Date time |
Define the bus departure date and time |
Yes |
|
Destination |
String |
Destination city |
Yes |
|
DestinationId |
Integer |
Destination city id |
Yes |
|
NoOfSeats |
Integer |
Number of seats book in ticket |
Yes |
|
Origin |
String |
Origin city |
Yes |
|
Array of passenger details like name, email, Gender etc |
Yes |
||
|
LeadPassenger |
Enumeration |
Title of passenger |
Yes |
|
Title |
Title of passenger |
Yes |
|
|
Address |
String |
Address of the passenger |
Yes |
|
Age |
Integer |
Age of the passenger |
Yes |
|
City |
Integer |
Name of the dropping point (e.g., Baripada Bus Stand) |
Yes |
|
|
String |
Email address of passenger |
Yes |
|
FirstName |
String |
First name of passenger |
Yes |
|
Gender |
String |
Define the gender of passenger Male = 1, Female = 2 |
Yes |
|
IDNumber |
Id proof number |
Yes |
|
|
IDType |
Enumeration |
Id proof type |
Yes |
|
LastName |
String |
Last name of passenger |
Yes |
|
PhoneNo |
Integer |
Phone no of passenger |
Yes |
| Seat |
Object |
Yes |
|
|
IsLadiesSeat |
Boolean |
Define Seats reserved for ladies’ possible values are True or False |
Yes |
|
IsMalesSeat |
Boolean |
Seats reserved for males’ possible values are True or False |
Yes |
|
IsUpper |
Boolean |
Yes |
|
|
SeatFare |
Integer |
Yes |
|
|
SeatId |
Integer |
SeatId |
Yes |
|
SeatName |
String |
This is seat no |
Yes |
|
SeatStatus |
Boolean |
Define Seat is Available or not possible values are True or False |
Yes |
|
SeatType |
Enumeration |
Define the type of seat possible value can be seat = 1, sleeper = 2,seatCumSleeper = 3, UpperBerth = 4,LowerBerth = 5 |
Yes |
| Price |
Object |
Yes |
|
|
CurrencyCode |
String |
Currency in which minimum bus price is returned |
Yes |
|
BasePrice |
Decimal |
Base price of bus |
Yes |
|
Tax |
Decimal |
Tax applicable on bus price |
Yes |
|
OtherCharges |
Decimal |
Other charges applicable on bus price |
Yes |
|
Discount |
Decimal |
Discount applicable on bus price |
Yes |
|
PublishedPrice |
Decimal |
This price would be different only if Bus Price is on PUBLISHED. In case of NET, Published Price would be same as Offered Price) |
Yes |
|
PublishedPriceRoundedOff |
Decimal |
This price is for display purpose only |
Yes |
|
OfferedPrice |
Decimal |
Offered Price of the Bus |
Yes |
|
OfferedPriceRoundedOff |
Decimal |
Offered Price (rounded off) of the Bus |
Yes |
|
AgentCommission |
Decimal |
TBO will part this amount if bus price is on Published |
Yes |
|
AgentMarkUp |
Decimal |
Agent will earn this amount if Bus mark-up is set from backend |
Yes |
|
TDS |
Decimal |
TDS applicable on Commission Earned. This would be deducted only when commission is parted to the agent |
Yes |
| GST |
Object |
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 |