City List
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.
Service URL (REST) to be used:
City List Request
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | ClientId | String | Client ID provided to the agency at registration | Mandatory |
2 | UserName | String | User name provided to the agency at registration | Mandatory |
3 | Password | String | Password provided to the agency at registration | Mandatory |
City List Response
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | Error[] | Array | Error | Mandatory |
1.1 | ErrorCode | Integer | Code corresponding to the Error | Mandatory |
1.2 | ErrorMessage | String | Contains error
description
corresponding to
ErrorCode. Error Message would be blank in case ErrorCode=0). |
Mandatory |
2 | Result[] | Array | Contain the details of Result | Mandatory |
3 | CityList[] | Array | List of cities (containing cityid and name). | Mandatory |
4 | CityId | Integer | Unique City id (Ex: 1480). | Mandatory |
5 | CityName | String | Destination city code | Mandatory |