menu

BUS SEAT LAYOUT

This method give the seat details of the user selected bus. Client need to pass the ResultIndex in the requsest and in response, he gets the complete seat details of requested bus like how many seats are available, how many seats are reserver for ladies and price details.

Service URL (REST) to be used:

https://BusBE.tektravels.com/Busservice.svc/rest/GetBusSeatLayOut

Bus Seatlayout Request

Level

Parameter

Data Type

Description

Mandatory

1

EndUserIp

String

IP Address of the end user

Yes

2

TokenId

String

Authenticate method give Token ID. Token Id to be echoed back in further requests. For more details of

Token id

Yes

3

TraceId

String

Unique identifier for identifying every

unique search Required for audit purpose

Yes

4

ResultIndex

Integer

Result Index for which seat layout is requested

Yes

Bus Seatlayout Response

Bus BusGetSeatLayout Response

Level

Parameter

Data Type

Description

Mandatory

1

TraceId

String

Unique identifier for identifying every unique search Required for audit purpose

Yes

2

SeatLayoutDetails

Object

Yes

2.1

AvailableSeats

Integer

Define seat availability possible values are True or False

Yes

3

SeatLayout

Object

Yes

3.1

SeatDetails

Array

Array of seat details

Yes

3.2

ColumnNo

Integer

Yes

3.3

Height

Integer

Seat height

Yes

3.4

IsLadiesSeat

Boolean

Define Seat reserved for ladies possible values are True or False

Yes

3.5

IsMalesSeat

Boolean

Define Seat reserved for male. Possible values are True or False

Yes

3.6

IsUpper

Boolean

Yes

3.7

RowNo

Integer

Define the seat row number in which row seat lies e.g. 1

Yes

3.8

SeatIndex

Integer

Yes

3.9

SeatName

String

Valid seat name (e.g. 9)

Yes

3.10

SeatStatus

Boolean

Define Seat is Available or not possible values are True or False

Yes

3.11

SeatType

Enumeration

Define the type of seat possible value can be seat = 1, sleeper = 2, seatCumSleeper = 3, UpperBerth = 4,LowerBerth = 5

Yes

3.12

Width

Integer

Possible Values are 1 or 2

Yes

4

Price

Integer

Yes

4.1

CurrencyCode

String

Currency in which minimum bus price is returned

Yes

4.2

BasePrice

Decimal

Base price of bus

Yes

4.3

Tax

Decimal

Tax applicable on bus price

Yes

4.4

OtherCharges

Decimal

Other charges applicable on bus price

Yes

4.5

Discount

Decimal

Discount applicable on bus price

Yes

4.6

PublishedPrice

Decimal

This price would be different only if Bus Price is on PUBLISHED. In case of NET, Published Price would be same

as Offered Price)

Yes

4.7

PublishedPriceRou ndedOff

Decimal

This price is for display purpose onl

Yes

4.8

OfferedPrice

Decimal

Offered Price of the Bus

Yes

4.9

OfferedPriceRound edOff

Decimal

Offered Price (rounded off) of the Bus

Yes

4.10

AgentCommission

Decimal

TBO will part this amount if bus price is on Published

Yes

4.11

AgentMarkUp

Decimal

Agent will earn this amount if Bus markup is set from backend

Yes

4.12

ServiceTax

Decimal

Service tax applicable for the bus

Yes

4.13

TDS

Decimal

TDS applicable on Commission Earned.

This would be deducted only when

commission is parted to the agent

Yes

5

GST

Object

Define the CGST and IGST rate and amount applicable on the bus price

Yes

5.1

CGSTAmount

Decimal

CGST amount

Yes

5.2

CGSTRate

Decimal

Rate of CGST

Yes

5.3

CessAmount

Decimal

Cess amount

Yes

5.4

CessRate

Decimal

Percentage Rate of cess

Yes

5.5

IGSTAmount

Decimal

IGST amount

Yes

5.6

IGSTRate

Decimal

Percentage Rate of IGST

Yes

5.7

SGSTAmount

Decimal

SGST S amount

Yes

5.8

SGSTRate

Decimal

Percentage Rate of SGST

Yes

5.9

TaxableAmount

Decimal

Total taxable amount

Yes

6

ResponseStatus

Enumeration

Define the status of response whether its successful, failed. (Successful = 1, Failed = 2)

Yes

7

Error

Object

Yes

7.1

ErrorCode

Integer

Code corresponding to the Error

Yes

7.2

ErrorMessage

String

Contains error description corresponding to ErrorCode. Error Message would be blank in case

ErrorCode=0)

Yes