# Get Booked Ticket

## &#x20;Get Booked Ticket

<mark style="color:blue;">`GET`</mark> `https://traveloapi.com/yourapi/bus/get_book_ticket`    &#x20;

#### Path Parameters

| Name   | Type   | Description                                       |
| ------ | ------ | ------------------------------------------------- |
| gatkey | string | gatkey (provided by traveloapi)                   |
| opPNR  | string | Ticket number generated after successful booking. |

{% tabs %}
{% tab title="200 " %}

```javascript
{

  "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"

}
```

{% endtab %}

{% tab title="404 " %}

```javascript
{
    "message": "error"
}
```

{% endtab %}
{% endtabs %}
