Sample Json
https://bus.srdvtest.com/v8/rest/Book
Book Request JSON
{ "ClientId":"XXXX", "UserName":"XXXX", "Password":"XXXX", "ResultIndex":"XXXX", "TraceId":"XXXX", "BoardingPointId":1, "DroppingPointId":1, "RefID":"1", "Passenger":[ { "LeadPassenger":true, "PassengerId":0, "Title":"Mr", "FirstName":"Amit", "LastName":"Singh", "Email":"amit@srdvtechnologies.com", "Phoneno":"9643737502", "Gender":"1", "IdType":null, "IdNumber":null, "Address":"Modinagar", "Age":"22", "Seat":{ "ColumnNo":"001", "Height":1, "IsLadiesSeat":false, "IsMalesSeat":false, "IsUpper":false, "RowNo":"000", "SeatFare":400, "SeatIndex":2, "SeatName":"2", "SeatStatus":true, "SeatType":1, "Width":1, "Price":{ "CurrencyCode":"INR", "BasePrice":400, "Tax":0, "OtherCharges":0, "Discount":0, "PublishedPrice":400, "PublishedPriceRoundedOff":400, "OfferedPrice":380, "OfferedPriceRoundedOff":380, "AgentCommission":20, "AgentMarkUp":0, "TDS":8, "GST":{ "CGSTAmount":0, "CGSTRate":0, "CessAmount":0, "CessRate":0, "IGSTAmount":0, "IGSTRate":18, "SGSTAmount":0, "SGSTRate":0, "TaxableAmount":0 } } } }, { "LeadPassenger":false, "PassengerId":0, "Title":"Mr", "FirstName":"ramesh", "LastName":"Tomar", "Email":"ramesh@srdvtechnologies.com", "Phoneno":"1234567890", "Gender":"1", "IdType":null, "IdNumber":null, "Address":"Modinagar", "Age":"28", "Seat":{ "ColumnNo":"002", "Height":1, "IsLadiesSeat":false, "IsMalesSeat":false, "IsUpper":false, "RowNo":"000", "SeatFare":400, "SeatIndex":3, "SeatName":"3", "SeatStatus":true, "SeatType":1, "Width":1, "Price":{ "CurrencyCode":"INR", "BasePrice":400, "Tax":0, "OtherCharges":0, "Discount":0, "PublishedPrice":400, "PublishedPriceRoundedOff":400, "OfferedPrice":380, "OfferedPriceRoundedOff":380, "AgentCommission":20, "AgentMarkUp":0, "TDS":8, "GST":{ "CGSTAmount":0, "CGSTRate":0, "CessAmount":0, "CessRate":0, "IGSTAmount":0, "IGSTRate":18, "SGSTAmount":0, "SGSTRate":0, "TaxableAmount":0 } } } } ] }
Book Response JSON
{ "Error":{ "ErrorCode":0, "ErrorMessage":"" }, "Result":{ "TraceId":"XXXX", "BusBookingStatus":"Confirmed", "InvoiceAmount":776, "BusId":8364, "TicketNo":"944JUHUS", "TravelOperatorPNR":"944JUHUS" } }