Location Type
LocationType
Types of system locations
HTTP Request
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| objRequest | StaticMasterData | String | Static data type | LOCATIONTYPE | Required |
HTTP Response
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| LocationTypes | Array | Array of location type | Required | ||
| StaticDataResponseV2LocationType | Content of location type data | Required | |||
| LocationTypeCode | Integer | Location type code | Required | ||
| LocationType | String | Location type name | Required |
XML Examples
Static data location types 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>LOCATIONTYPE/ws:StaticMasterData>
</ws:objRequest>
</ws:DestServicesStaticDataV2>
</soapenv:Body>
</soapenv:Envelope>
Static data location types 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="2019-01-10T12:41:29.2785119+01:00" MillisecondProcessingTime="86" Endpoint="demo.xml.com"/>
<LocationTypes>
<StaticDataResponseV2LocationType>
<LocationTypeCode>1</LocationTypeCode>
<LocationType>Aeropuerto</LocationType>
</StaticDataResponseV2LocationType>
<StaticDataResponseV2LocationType>
<LocationTypeCode>2</LocationTypeCode>
<LocationType>Hotel</LocationType>
</StaticDataResponseV2LocationType>
<StaticDataResponseV2LocationType>
<LocationTypeCode>3</LocationTypeCode>
<LocationType>Estacion</LocationType>
</StaticDataResponseV2LocationType>
<StaticDataResponseV2LocationType>
<LocationTypeCode>4</LocationTypeCode>
<LocationType>Puerto</LocationType>
</StaticDataResponseV2LocationType>
<StaticDataResponseV2LocationType>
<LocationTypeCode>5</LocationTypeCode>
<LocationType>Otro</LocationType>
</StaticDataResponseV2LocationType>
</LocationTypes>
</DestServicesStaticDataV2Result>
</DestServicesStaticDataV2Response>
</soap:Body>
</soap:Envelope>