menu

GetDestinationSearchStaticData 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/StaticData.svc/rest/GetDestinationSearchStaticData
GetDestinationSearchStaticData 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 SearchType String SearchType Mandatory (1 = City, 2 = Hotel)
5 CountryCode String Country code (e.g. GB) Mandatory
GetDestinationSearchStaticData Response
Level Element Format Comments Mandatory/ Optional
1 GetDestinationSearchStaticDataResult String List of cities (containing DestinationId and name with country details) Mandatory
2 Status Integer Status (NotSet = 0, Successful = 1, Failed = 2) Mandatory
3 Error 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)