menu

Countrylist Details

This method is used to get list of Countries where an agent can request for hotels.

Service URL (REST) to be used:

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

Countrylist 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)
Countrylist Response
Level Element Format Comments Mandatory/ Optional
1 CountryList String XML List of countries in xml format (containing country code and name) Mandatory
2 Status Integer Status Mandatory NotSet = 0, Successful = 1, Failed = 2
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)