Skip to main content

Country

Country​

List of system countries

HTTP Request​

NodeAttributeData TypeDescriptionValueMandatory
objRequestStaticMasterDataStringStatic data typeCOUNTRYRequired

HTTP Response​

NodeAttributeData TypeDescriptionValueMandatory
CountriesArrayArray of countriesRequired
CountryContent of country dataRequired
CountryCodeIntegerCountry codeRequired
CountryNameStringCountry nameRequired
LangIDStringLanguage ID for the name of the countryRequired

XML Examples​

Static data destinations REQUEST example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.ineedtours.com/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:DestServicesStaticDataV2>
<ws:objCredentials>
<ws:Source>
<ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/>
</ws:Source>
</ws:objCredentials>
<ws:objRequest>
<ws:StaticMasterData>COUNTRY</ws:StaticMasterData>
</ws:objRequest>
</ws:DestServicesStaticDataV2>
</soapenv:Body>
</soapenv:Envelope>
Static data destinations RESPONSE example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<DestServicesStaticDataV2Response xmlns="http://xml.ineedtours.com/ws/">
<DestServicesStaticDataV2Result>
<Header ResponseTimestamp="2020-03-30T11:23:38.0781972+02:00" MillisecondProcessingTime="260" Endpoint="demo.xml.com"/>
<Countries>
<Country>
<CountryCode>20</CountryCode>
<LangID>EN</LangID>
<CountryName>Belarus</CountryName>
</Country>
<Country>
<CountryCode>20</CountryCode>
<LangID>ES</LangID>
<CountryName>Bielorrusia</CountryName>
</Country>
<Country>
<CountryCode>21</CountryCode>
<LangID>EN</LangID>
<CountryName>Belgium</CountryName>
</Country>
<Country>
<CountryCode>21</CountryCode>
<LangID>ES</LangID>
<CountryName>Bélgica</CountryName>
</Country>
<Country>
<CountryCode>27</CountryCode>
<LangID>EN</LangID>
<CountryName>Bosnia and Herzegovina</CountryName>
</Country>
<Country>
<CountryCode>27</CountryCode>
<LangID>ES</LangID>
<CountryName>Bosnia y Herzegovina</CountryName>
</Country>
<Country>
<CountryCode>41</CountryCode>
<LangID>EN</LangID>
<CountryName>Central African Republic</CountryName>
</Country>
<Country>
<CountryCode>41</CountryCode>
<LangID>ES</LangID>
<CountryName>República Centroafricana</CountryName>
</Country>
</Countries>
</DestServicesStaticDataV2Result>
</DestServicesStaticDataV2Response>
</soap:Body>
</soap:Envelope>