menu

BUS BOOK

This method confirms the previously tentative booked ticket. Client need to call the book method with all the requested details along with the seat numbers and boarding point. The system will return the confirmed ticket details including Ticket number.

Service URL (REST) to be used:

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

Book 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

4

TraceId

String

Unique identifier for identifying every unique search Required for audit

purpose

Yes

5

ResultIndex

Integer

ResultIndex

Yes

6

BoardingPointId

Integer

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

Yes

7

DropingPointId

Integer

Id of the dropping point (e.g. 43281)

Yes

8.

Passenger []

Array of

Object

Array of passenger details

like name, email, Gender etc

Yes

8.1

Title

String

Title of passenger (Ex: Mr, Mrs,)

Yes

8.2

FirstName

String

First name of passenger

Yes

8.3

LastName

String

Last name of passenger

Yes

8.4

Email

String

Email address of passenger

Yes

8.5

PhoneNo

String

Phone no of passenger

Yes

8.6

Gender

Enumeration

Define the gender of passenger

Male = 1, Female = 2

Yes

8.7

IDType

String

Id proof type

Yes

8.8

IDNumber

String

Id proof number

Yes

8.9

Address

String

Address of the passenger

Yes

8.10

Age

Integer

Age of the passenger

Yes

9

Seat

Object

Yes

9.1

SeatIndex

Integer

SeatIndex

Yes

10.

Price

Integer

Yes

10.1

CurrencyCode

Decimal

Currency in which minimum bus price is returned

Yes

10.2

BasePrice

String

Base price of bus

Yes

10.3

Tax

Decimal

Tax applicable on bus price

Yes

10.4

OtherCharges

Decimal

Other charges applicable on bus price

Yes

10.5

Discount

Decimal

Discount applicable on bus price

Yes

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

10.7

PublishedPriceRoundedOff

Decimal

This price is for display purpose onl

Yes

10.8

OfferedPrice

Decimal

Offered Price of the Bus

Yes

10.9

OfferedPriceRoundedOff

Decimal

Offered Price (rounded off) of the Bus

Yes

10.10

AgentCommission

Decimal

TBO will part this amount if bus price is on Published

Yes

10.11

AgentMarkUp

Decimal

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

Yes

10.12

ServiceTax

Decimal

Service tax applicable for the bus

Yes

10.13

TDS

Decimal

TDS applicable on Commission Earned.

This would be deducted only

when commission is parted to the agent

Yes

11

GST

Decimal

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

Yes

11.1

CGSTAmount

CGST amount

Yes

11.2

CGSTRate

Decimal

Rate of CGST

Yes

11.3

CessAmount

Decimal

Cess amount

Yes

11.4

CessRate

Decimal

Rate of cess

Yes

11.5

IGSTAmount

Decimal

IGST amount

Yes

11.6

IGSTRate

Decimal

Rate of IGST

Yes

11.7

SGSTAmount

Decimal

SGST S amount

Yes

11.8

SGSTRate

Decimal

Rate of SGST

Yes

11.9

TaxableAmount

Decimal

Total taxable amount

Yes

Book Response

Level

Parameter

Data Type

Description

Mandatory

1

ResponseStatus

Enumeration

Define the status of response whether its successful, failed

Possible values can be (Successfull = 1,Failed = 2,InValidRequest = 3,InValidSession = 4,InValidCredentials = 5)

Yes

2

Error

Object

Yes

2.1

ErrorCode

Integer

Code corresponding to the Error

Yes

2.1

ErrorMessage

String

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

Yes

2.2

TraceId

String

Unique identifier for identifying

every unique search Required for audit purpose

Yes

3

BusBookingStatus

Enumeration

Possible values can be – Confirmed, Failed,

Otherfare, Pending, Tentative / Tentative = 1, Confirmed = 2, Cancelled = 3, Failed = 4, Pending = 5

Yes

4

InvoiceNumber

String

InvoiceNumber

Yes

5

BusId

Integer

Unique Bus id generated on creation of successful booking

Yes

6

TicketNo

String

Unique Ticket number of the successful booking

Yes

7

TravelOperatorPNR

String

Unique Ticket number of the successful booking

Yes