# Bus Seat Layout

## Get Bus Seat Layout

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

#### Path Parameters

| Name            | Type   | Description                                    |
| --------------- | ------ | ---------------------------------------------- |
| gatkey          | string | gatkey (provided by Traveloapi)                |
| sourceCity      | string | sourceCity Name                                |
| destinationCity | string | destinationCity Nmae                           |
| date            | string | yyyy-MM-dd                                     |
| inventoryType   | string | InventoryType value from bus search response   |
| routeScheduleId | string | routeScheduleId value from bus search response |

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

```javascript
{

  "seats": [

    {

      "ladiesSeat": false,

      "fare": 1000,

      "zIndex": 0,

      "serviceTaxAmount": 60,

      "commission": null,

      "operatorServiceChargeAbsolute": 0,

      "operatorServiceChargePercent": 0,

      "totalFareWithTaxes": 1060,

      "bookedBy": null,

      "ac": false,

      "sleeper": false,

      "serviceTaxPer": 4.94,

      "width": 1,

      "available": true,

      "row": 0,

      "column": 0,

      "length": 1,

      "id": "A1"

    },

```

{% endtab %}

{% tab title="404 " %}

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

{% endtab %}
{% endtabs %}

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

#### Path Parameters

| Name          | Type   | Description              |
| ------------- | ------ | ------------------------ |
| inventoryType | string | from bus search response |

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

```
```

{% endtab %}
{% endtabs %}
