Skip to main content

Product Type

ProductType​

ProductType system list

HTTP Request​

NodeAttributeData TypeDescriptionValueMandatory
objRequestStaticMasterDataStringStatic data typePRODUCTTYPERequired

HTTP Response​

NodeAttributeData TypeDescriptionValueMandatory
ProductTypesArrayArray of product typeRequired
StaticDataResponseV2ProductTypeContent of product Type dataRequired
ProductTypeCodeIntegerProduct type codeRequired
ProductTypeStringProduct Type nameRequired
LangIDIntegerLanguage codeRequired
TypeOfServiceStringService Type codeTYPE SERVICERequired

XML Examples​

Static data ProductType 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>PRODUCTTYPE</ws:StaticMasterData>
</ws:objRequest>
</ws:DestServicesStaticDataV2>
</soapenv:Body>
</soapenv:Envelope>
Static data ProductType 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:20:17.1041709+01:00" MillisecondProcessingTime="51" Endpoint="demo.xml.com"/>
<ProductTypes>
<StaticDataResponseV2ProductType>
<ProductTypeCode>43</ProductTypeCode>
<ProductType>Disneyland París</ProductType>
<LangID>ES</LangID>
<TypeOfService>A</TypeOfService>
</StaticDataResponseV2ProductType>
<StaticDataResponseV2ProductType>
<ProductTypeCode>43</ProductTypeCode>
<ProductType>Disneyland París</ProductType>
<LangID>EN</LangID>
<TypeOfService>A</TypeOfService>
</StaticDataResponseV2ProductType>
<StaticDataResponseV2ProductType>
<ProductTypeCode>45</ProductTypeCode>
<ProductType>Visita de ciudad</ProductType>
<LangID>ES</LangID>
<TypeOfService>A</TypeOfService>
</StaticDataResponseV2ProductType>
<StaticDataResponseV2ProductType>
<ProductTypeCode>45</ProductTypeCode>
<ProductType>Visita de ciudad</ProductType>
<LangID>EN</LangID>
<TypeOfService>A</TypeOfService>
</StaticDataResponseV2ProductType>
<StaticDataResponseV2ProductType>
<ProductTypeCode>44</ProductTypeCode>
<ProductType>Shuttle</ProductType>
<LangID>ES</LangID>
<TypeOfService>T</TypeOfService>
</StaticDataResponseV2ProductType>
<StaticDataResponseV2ProductType>
<ProductTypeCode>44</ProductTypeCode>
<ProductType>Shuttle</ProductType>
<LangID>EN</LangID>
<TypeOfService>T</TypeOfService>
</StaticDataResponseV2ProductType>
<StaticDataResponseV2ProductType>
<ProductTypeCode>8</ProductTypeCode>
<ProductType>TRASLADOS</ProductType>
<LangID>ES</LangID>
<TypeOfService>T</TypeOfService>
</StaticDataResponseV2ProductType>
<StaticDataResponseV2ProductType>
<ProductTypeCode>8</ProductTypeCode>
<ProductType>test</ProductType>
<LangID>EN</LangID>
<TypeOfService>T</TypeOfService>
</StaticDataResponseV2ProductType>
</ProductTypes>
</DestServicesStaticDataV2Result>
</DestServicesStaticDataV2Response>
</soap:Body>
</soap:Envelope>