menu

BUS GETBOOKING DETAIL

This method gets the booking information based on Busid or Confirmation No or Trace ID

Note: You may use trace id (which was used during booking) to retrieve booking details in case you do not have a valid bus-id or confirmation number.

Service URL (REST) to be used:

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

GetBooking 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 please check authenticate method

Yes

3

TraceId

String

Unique identifier for identifying every unique search Required for audit purpose

Yes

4

BusId

Long

Bus id of successful Booking

Yes

5

IsBaseCurrencyRequired

Boolean

This node will be required when preferred currency is on. This reserved for future use

NO

GetBooking Response

Level

Parameter

Data Type

Description

Mandatory

1

GetBookingDetailResult

Yes

2

Error

Object

Code corresponding to the Error

Yes

2.1

ErrorCode

Integer

Code corresponding to the Error

Yes

2.2

ErrorMessage

String

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

ErrorCode=0

Yes

3

Itinerary

Object

Yes

3.1

IsDomestic

Boolean

Possible value true or false

Yes

3.2

TicketNo

String

Unique Ticket number of the successful booking

Yes

3.3

ArrivalTime

Date time

Approx arrival time at the destination.

Yes

3.4

BlockDuration

Integer

Maximum allowed time between block to Book otherwise booking will be unblock for more detail of Block time refer to

block method

Yes

3.5

BusId

Integer

Yes

3.6

BusType

Enumeration

Define bus type (e.g. Leyland A/C Seater/Sleeper Executive

Luxury (2+2), etc

Yes

3.7

DateOfJourney

Date time

Travel Date (Ex: 2019/06/30)

Format: (YYYY/mm/dd)

Yes

3.8

DepartureTime

Date time

Define the bus departure date and time

Yes

3.9

Destination

String

Destination city

Yes

3.10

DestinationId

Integer

Destination city id

Yes

3.11

NoOfSeats

Integer

Number of seats book in ticket

Yes

3.12

Origin

String

Origin city

Yes

4

Passenger[]

Array

Array of passenger details like name, email, Gender

etc

Yes

4.1

Title

Enumeration

Title of passenger

Yes

4.2

FirstName

String

First name of passenger

Yes

4.3

LastName

String

Last name of passenger

Yes

4.4

Email

String

Email address of passenger

Yes

4.5

Phoneno

Integer

Phone no of passenger

Yes

4.6

Gender

Enumeration

Gender of passenger Possible values Male = 1,Female = 2

Yes

4.7

IdType

Enumeration

Id proof type

Yes

4.8

IdNumber

String

Id proof number

Yes

4.9

Address

String

Address of the passenger

Yes

4.10

Age

Integer

Age of the passenger

Yes

4.11.

Seat

Object

Yes

4.11.1

IsLadiesSeat

Boolean

Define Seat reserved for

ladies possible values are True or False

Yes

4.11.2

SeatFare

Decimal

Price of the seat

Yes

4.11.3

SeatId

Integer

SeatId

Yes

4.11.4

SeatName

String

Seat no (e.g. 9)

Yes

4.11.5

SeatStatus

Boolean

Define Seat is Available or not

possible values are True

or False

Yes

4.11.6

SeatType

Enumeration

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

Yes

4.11.7

Price

Object

Yes

4.11.7.1

CurrencyCode

String

Currency in which minimum bus price is returned

Yes

4.11.7.2

BasePrice

Decimal

Base price of bus

Yes

4.11.7.3

Tax

Decimal

Tax applicable on bus price

Yes

4.11.7.4

OtherCharges

Decimal

Other charges applicable on bus price

Yes

4.11.7.5

Discount

Decimal

Discount applicable on

bus price

Yes

4.11.7.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.11.7.7

PublishedPriceRoundedOff

Decimal

This price is for display purpose onl

Yes

4.11.7.8

OfferedPrice

Decimal

Offered Price of the Bus

Yes

4.11.7.9

OfferedPriceRoundedOff

Decimal

Offered Price (rounded off) of the Bus

Yes

4.11.7.10

AgentCommission

Decimal

TBO will part this amount

if bus price is on Published

Yes

4.11.7.11

AgentMarkUp

Decimal

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

Yes

4.11.7.12

TDS

Decimal

TDS applicable on Commission Earned. This would be deducted only when commission is

parted to the agent

Yes

4.12

GST

Decimal

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

price

Yes

4.12.1

CGSTAmount

Decimal

CGST amount

Yes

4.12.2

CGSTRate

Decimal

Rate of CGST

Yes

4.12.3

CessAmount

Decimal

Cess amount

Yes

4.12.4

CessRate

Decimal

Rate of cess

Yes

4.12.5

IGSTAmount

Decimal

IGST amount

Yes

4.12.6

IGSTRate

Decimal

Rate of IGST

Yes

4.12.7

SGSTAmount

Decimal

SGST S amount

Yes

4.12.8

SGSTRate

Decimal

Rate of SGST

Yes

4.12.9

TaxableAmount

Decimal

Total taxable amount

Yes

4.13

RouteId

Integer

RouteId

Yes

4.15

SourceId

Integer

SourceId

Yes

4.16

Status

Enumeration

Status of the ticket possible value can be Tentative = 1, Confirmed = 2, Cancelled = 3, Failed = 4, Pending = 5

Yes

4.17

TravelName

String

Transporter name

Yes

4.18

TravelOperatorPNR

String

Unique Ticket number of the successful booking

Yes

4.19

BoardingPointsDetails

Array

Array of boarding point detail like boarding point name and time

Yes

4.19.1

CityPointAddress

String

Address of Bording point (e.g., Baramunda Bus

Terminus)

Yes

4.19.2

CityPointContactNumber

Integer

Contact details of bus operator (e.g., 9437136588)

Yes

4.19.3

CityPointId

Integer

Id of the boarding point (e.g. 43289)

Yes

4.19.4

CityPointLandmark

String

Landmark near of

boarding point

Yes

4.19.5

CityPointLocation

String

Name of the boarding point

Yes

4.19.6

CityPointName

String

Name of the bording point (e.g., Baramunda Bus Terminus)

Yes

4.19.7

CityPointTime

Integer

Time of the boarding point at this location

Yes

4.20

CancelPolicy[]

Array

Array of cancellation details

Yes

4.20.1

CancellationCharge

Decimal

Define cancellation charges it’s value can be in percentage or fixed depending on the

CancellationChargeType

Yes

4.20.2

CancellationChargeType

Enumeration

Tells whether cancellation charge in Amount or percentage Possible value Amount = 1, Percentage = 2

Yes

4.20.3

PolicyString

Yes

4.20.4

TimeBeforeDept

Yes

4.20.5

FromDate

Date Time

From date

Yes

4.20.6

ToDate

Date Time

To date

Yes

4.21.

DropingPointdetails

Array

Dropping point details

Yes

4.21.1

CityPointAddress

String

Name of the dropping point (e.g., Baripada Bus

Stand)

Yes

4.21.2

CityPointContactNumber

Long

Contact details of bus operator (e.g., 9437136588)

Yes

4.21.3

CityPointId

Id of the Dropping point (e.g. 43289)

Yes

4.21.4

CityPointLandmark

Landmark near of

Yes

Dropping point

4.21.5

CityPointLocation

Integer

Name of the dropping point

Yes

4.21.6

CityPointName

Sting

Name of the dropping point (e.g., Baramunda Bus Terminus)

Yes

4.21.7

CityPointTime

Date time

Time of the dropping

point at this location

Yes

4.22

InvoiceNumber

Sting

InvoiceNumber

Yes

4.23

InvoiceCreatedOn

Date time

Invoice creation date

Yes

4.24

InvoiceCreatedBy

Integer

Member id of agency who created booking

Yes

4.25

InvoiceAmount

Decimal

Booking amount deducted

by TBO from agency account

Yes

4.26

InvoiceCreatedByName

String

Invoice creator name it can be agency or agency staff whose account

created on TBO portal

Yes

4.27

InvoiceLastModifiedBy

String

MemberId of agency or agency staff who last perform action on the booking

Yes

4.28

InvoiceLastModifiedByName

String

Name of agency or agency staff who last perform action on the

booking

Yes

4.29

InvoiceStatus

Enumeration

Yes

4.30

BookingHistory[]

Array

History of booking creation

Yes

4.30.1

CreatedBy

Integer

Member id who created the booking

Yes

4.30.2

CreatedByName

String

Booking creator name

Yes

4.30.3

CreatedOn

Date time

Booking creation date

Yes

4.30.4

LastModifiedBy

Integer

Member id of user who last modified the booking

Yes

4.30.5

LastModifiedByName

String

Name of user who last modified the booking

Yes

4.30.6

LastModifiedOn

Date time

Date on which booking modified

Yes

4.30.7

Remarks

String

History of the operation

performed on the bookings

Yes

5

ResponseStatus

Define the status of response whether its successful or failed. Successful = 1,Failed = 2, InCorrectUserName = 3, InCorrectPassword = 4, PasswordExpired = 5)

Yes

6

TraceId

String

Unique identifier for identifying every unique search Required for audit

purpose

Yes