menu

TopDestinations Details

This method will provide all the supported destinations (List of cities) in a Country.

Service URL (REST) to be used:

http://api.tektravels.com/SharedServices/SharedData.svc/rest/TopDestinationList

TopDestinations Request
Level Element Format Comments Mandatory/ Optional
1 ClientId String Client ID – ApiIntegrationNew Mandatory
2 EndUserIp String IP Address of the end user Mandatory
3 TokenId String Token ID Mandatory (Token Id to be echoed back from Authenticate response)
4 CountryCode String ISO Country code (e.g. IN) Mandatory
TopDestinations Response
Level Element Format Comments Mandatory/ Optional
1 DestinationCityList String XML List of cities in xml format (containing destination city id and name with country details) Mandatory
2 Status Integer Status Mandatory NotSet = 0, Successful = 1, Failed = 2
3 Error Object Mandatory
3.1 ErrorCode Integer Code corresponding to the Error Mandatory
3.2 ErrorMessage String Contains error message Mandatory (Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0)