ADVENTURE API
HOMESTAYS API

Get Booked Ticket

get
Get Booked Ticket

https://traveloapi.com/yourapi/bus/get_book_ticket
Request
Response
Path Parameters
gatkey
required
string
gatkey (provided by traveloapi)
opPNR
required
string
Ticket number generated after successful booking.
200: OK
{
"opPNR": "TRVLABRS978477",
"cancellationPolicy": "[{\"cutoffTime\":\"1\",\"refundInPercentage\":\"10\"},{\"cutoffTime\":\"2\",\"refundInPercentage\":\"50\"},{\"cutoffTime\":\"4\",\"refundInPercentage\":\"90\"}]",
"departureTime": "10:00PM",
"service_type": "Volvo B9R Multi-Axle Semi Sleeper",
"serviceId": "SVR 2016(UP TO MARTHAHALLI)",
"serviceTaxAmount": 0,
"etstnumber": "TRVLOETS611B0PT12668",
"sourceCity": "Hyderabad",
"destinationCity": "Bangalore",
"boardingPoint": "K.P.H.B - 10:00 PM",
"routeScheduleId": "3312",
"droppingPoint": null,
"serviceProvider": "Apple I Bus",
"totalFareWithTaxes": 790,
"commPCT": 9,
"refundAmount": 0,
"journeyDate": "Mon,27-Jun-2016",
"travelerDetails": [
{
"gender": "M",
"fare": 790,
"lastName": "sarkar",
"age": 26,
"seatNo": "43",
"name": "dip"
}
],
"cancelDate": null,
"bookingDate": 1465651385000,
"ticketStatus": "CONFIRMED",
"inventoryType": "0",
"apiStatus": {
"success": true,
"message": "SUCCESS"
},
"serviceProviderContact": "Beside J.C.Brothers Ph. 9397981444"
}
404: Not Found
{
"message": "error"
}