Book

This method confirms the previously tentative booked ticket. Client need to call the book method with all the requested details along with the seat numbers and boarding point. The system will return the confirmed ticket details including Ticket number

Service URL (REST) to be used:
Book 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 TraceId String Unique identifier for identifying every unique search Required for audit purpose from Search Response. Mandatory
5 SrdvIndex Integer From the Search response. Mandatory
6 ResultIndex Integer Define the result number. Mandatory
Seat Block Response
Level Element Format Comments Mandatory
1 Error{} Object Error Mandatory
1.1 ErrorCode Integer Code corresponding to the Error Mandatory
1.2 ErrorMessage String Contains error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0. Mandatory
2 TraceId String Unique identifier for identifying every unique search Required for audit purpose. Mandatory
3 SrdvIndex String Unique API Index Mandatory
4 ResultIndex String Define the result number Mandatory
5 BookingId Integer Unique Booking ID generated on creation of successful booking. Mandatory
6 Result{} Object Contains the response result of the bus booking request. Mandatory
6.1 BusBookingStatus String Shows the booking status. Possible values: Success, Failed, Pending. Mandatory
6.2 TicketNo String Unique ticket number generated after successful booking. Mandatory
6.3 TravelOperatorPNR String PNR number assigned by the travel/bus operator. Mandatory