menu

BUS SEARCH

This method gives the list of bus services from the specified source city to the destination city on a specified date.

Service URL (REST) to be used:

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

Bus Search Request

Level

Parameter

Data Type

Description

Mandatory

1

TokenId

String

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

details of Token id

Yes

2

EndUserIp

String

IP Address of the end user

Yes

3

DateOfJourney

Date Time

Travel Date (Ex: 2019/06/30) Format: (YYYY/mm/dd)

Yes

4

OriginId

Integer

City ID of Origin City Ex: 501 (City ID for Bhubaneshwar)

Yes

5

DestinationId

Integer

City ID of Destination City

Ex: 2566 (City ID for Baripada)

Yes

6

PreferredCurrency

String

Preferred Currency in which client is expecting price

No

Bus Search Response

Level

Parameter

Data Type

Description

Mand atory

1

TraceId

String

Unique identifier for identifying every unique search Required for audit

purpose

Yes

2

BusResults[]

Array

Array of results

Yes

2.1

ResultIndex

Integer

Define the result number

Yes

2.2

ArrivalTime

Date Time

Approx. arrival time at the destination.

Yes

2.3

AvailableSeats

Integer

Number of seats Available. (e.g.: 41)

Yes

2.4

DepartureTime

Date Time

Define the bus departure date and time

Yes

2.5

RouteId

Long

Route id of the trip (E.g., 2001600200000006267

Yes

2.6

BusType

String

Define bus type

(e.g. Leyland A/C Seater/Sleeper Executive Luxury (2+2), etc

Yes

2.7

TravelName

String

Transporter Name

Yes

2.8

IDProofRequired

Boolean

Define ID proof is mandatory or not for boarding the bus. In case of True, client has to pass the IDProof in book request

Yes

2.9

IsDropPointMandatory

Boolean

Define whether dropping point mandatory or not. In case of True, client has to pass the dropping point in

book request

Yes

2.11

LiveTrackingAvailable

Boolean

Define Live tracking available in bus or not. Possible values are true or false

Yes

2.12

MTicketEnabled

Boolean

Possible values are true or false

Yes

2.13

MaxSeatsPerTicket

Integer

Define maximum number of seats can be booked in single ticket

Yes

2.14

PartialCancellationAllo wed

Boolean

Define Bus allowed partial cancellation of ticket or not. Possible values are true or false

Yes

2.15

BoardingPointsDetails[]

Array

Array of boarding point detail like boarding point name and time

Yes

2.15.1

CityPointIndex

Integer

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

Yes

2.15.2

CityPointLocation

String

Name of the boarding point location at Source (e.g. Baramunda Bus Terminus)

Yes

2.15.3

CityPointName

String

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

Yes

2.15.4

CityPointTime

Date Time

Time of boarding point

Yes

2.16

DroppingPointsDetails []

Array

Array of dropping point details like place and time

Yes

2.16.1

CityPointIndex

Integer

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

Yes

2.16.2

CityPointLocation

String

Name of the boarding point location at Source (e.g. Baramunda Bus Terminus)

Yes

2.16.3

CityPointName

String

Name of the bording point (e.g.,

Baramunda Bus Terminus)

Yes

2.16.4

CityPointTime

Date Time

Time at which bus reach to this boarding point

Yes

2.17

BusPrice

Decimal

Yes

2.17.1

CurrencyCode

Decimal

Currency in which minimum bus price is returned

Yes

2.17.2

BasePrice

Decimal

Base price of bus

Yes

2.17.3

Tax

Decimal

Tax applicable on bus price

Yes

2.17.4

OtherCharges

Decimal

Other charges applicable on bus price

Yes

2.17.5

Discount

Decimal

Discount applicable on bus price

Yes

2.17.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

2.17.7

PublishedPriceRounded Off

Decimal

This price is for display purpose onl

Yes

2.17.8

OfferedPrice

Decimal

Offered Price of the Bus

Yes

2.17.9

OfferedPriceRoundedOf f

Decimal

Offered Price (rounded off) of the Bus

Yes

2.17.10

AgentCommission

Decimal

TBO will part this amount if bus price is

on Published

Yes

2.17.11

AgentMarkUp

Decimal

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

Yes

2.17.12

TDS

Decimal

TDS applicable on Commission Earned.

This would be deducted only when commission is parted to the agent

Yes

2.18

GST

Decimal

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

Yes

2.18.1

CGSTAmount

Decimal

CGST amount

Yes

2.18.2

CGSTRate

Decimal

Rate of CGST

Yes

2.18.3

CessAmount

Decimal

Cess amount

Yes

2.18.4

CessRate

Decimal

Rate of cess

Yes

2.18.5

IGSTAmount

Decimal

IGST amount

Yes

2.18.6

IGSTRate

Decimal

Rate of IGST

Yes

2.18.7

SGSTAmount

Decimal

SGST S amount

Yes

2.18.8

SGSTRate

Decimal

Rate of SGST

Yes

2.18.9

TaxableAmount

Decimal

Total taxable amount

Yes

2.19

CancellationPolicies[]

Array of cancellation policies

Yes

2.19.1

CancellationCharge

Decimal

Cancellation charge

Yes

2.19.2

CancellationChargeType

Enumeration

CancellationPolicies - ChargeType Amount = 1, Percentage = 2,Nights = 3

Yes

2.19.3

FromDate

Date Time

Date from which charges will apply Format: (yyyy/mm/dd)

Yes

2.19.4

ToDate

Date Time

Date up to which charges will apply

Format: (yyyy/mm/dd)

Yes

3

ResponseStatus

Integer

Define the status of response whether its Successful = 1, Failed = 2)

Yes

4

Error

Object

Yes

4.1

ErrorCode

Integer

Code corresponding to the Error

Yes

4.2

ErrorMessage

String

Contain error description corresponding to ErrorCode. Error Message would be

blank in case ErrorCode=0

Yes