menu

BUS CITYLIST

This method provides information about all the cities to which services are available. Each city is represented by a unique city-id. This method provides the list of all cities with their city ids.

Note: Client need to maintain the list of cities in its database and would update the same periodically. It is suggested that client should update the city list once in 15 days.

Service URL (REST) to be used:

https://Sharedapi.tektravels.com/StaticData.svc/rest/GetBusCityList

GetBusCityList 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 go to Authentication method

Yes

2

IpAddress

String

IP Address of the end user

Yes

3

ClientId

String

Client ID ApiIntegrationNew

(Provided by TBO after registration )

Yes

GetBusCityList Response

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 go to Authentication

method

Yes

2

Status

Enumeration

Define the status of response whether its successful, failed

Possible values: Successful = 1, Failed = 2

Yes

3

Error

Object

Define the error in citylist response

Yes

4

BusCities[]

Array

List of cities (containing cityid and name)

Yes

4.1

CityId

Integer

Unique City id (Ex: 1480)

Yes

4.2

CityName

String

City Name(Ex: Kherwara)

Yes