Skip to main content

Destination

Destination

List of system destinations

HTTP Request

NodeAttributeData TypeDescriptionValueMandatory
objRequestPrimaryLangStringLangID returned in the StaticDataResponseV2Language methodOptional
objRequest/StaticMasterData StringStatic data typeDESTINATIONRequired
StaticMasterDataFilters/CountryCode IntegerCode of the requested countryOptional

HTTP Response

NodeAttributeData TypeDescriptionValueMandatory
DestinationsArrayArray of destinationsRequired
StaticDataResponseV2DestinationContent of destination dataRequired
CountryCodeIntegerCountry codeRequired
CountryNameStringCountry nameRequired
DestinationCodeIntegerDestination codeRequired
DestinationStringDestination nameRequired
LatitudeStringLatitude coordinates{Number},{Number}Required
LongitudeStringLongitude coordinates{Number},{Number}Required

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>DESTINATION</ws:StaticMasterData>
<ws:StaticMasterDataFilters>
<ws:CountryCode>197</ws:CountryCode>
</ws:StaticMasterDataFilters>
</ws:objRequest>
</ws:DestServicesStaticDataV2>
</soapenv:Body>
</soapenv:Envelope>
Static data destinations RESPONSE example
<?xml version="1.0" encoding="UTF-8"?>
<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="2019-01-10T12:32:29.3360209+01:00" MillisecondProcessingTime="158" Endpoint="demo.xml.com"/>
<Destinations>
<StaticDataResponseV2Destination>
<CountryCode>5</CountryCode>
<CountryName>Andorra</CountryName>
<DestinationCode>11492</DestinationCode>
<Destination>Incles</Destination>
<Latitude>42,583</Latitude>
<Longitude>1,66336</Longitude>
</StaticDataResponseV2Destination>
<StaticDataResponseV2Destination>
<CountryCode>5</CountryCode>
<CountryName>Andorra</CountryName>
<DestinationCode>11493</DestinationCode>
<Destination>Escaldes-Engordany</Destination>
<Latitude>42,508889</Latitude>
<Longitude>1,540833</Longitude>
</StaticDataResponseV2Destination>
<StaticDataResponseV2Destination>
<CountryCode>5</CountryCode>
<CountryName>Andorra</CountryName>
<DestinationCode>11494</DestinationCode>
<Destination>Bordes d´Envalira</Destination>
<Latitude>42,5598</Latitude>
<Longitude>1,68536</Longitude>
</StaticDataResponseV2Destination>
<StaticDataResponseV2Destination>
<CountryCode>5</CountryCode>
<CountryName>Andorra</CountryName>
<DestinationCode>11495</DestinationCode>
<Destination>Arinsal</Destination>
<Latitude>42,5667</Latitude>
<Longitude>1,48333</Longitude>
</StaticDataResponseV2Destination>
<StaticDataResponseV2Destination>
<CountryCode>5</CountryCode>
<CountryName>Andorra</CountryName>
<DestinationCode>11496</DestinationCode>
<Destination>Arans</Destination>
<Latitude/>
<Longitude/>
</StaticDataResponseV2Destination>
</Destinations>
</DestServicesStaticDataV2Result>
</DestServicesStaticDataV2Response>
</soap:Body>
</soap:Envelope>