Product Type
ProductType
ProductType system list
HTTP Request
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| objRequest | StaticMasterData | String | Static data type | PRODUCTTYPE | Required |
HTTP Response
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| ProductTypes | Array | Array of product type | Required | ||
| StaticDataResponseV2ProductType | Content of product Type data | Required | |||
| ProductTypeCode | Integer | Product type code | Required | ||
| ProductType | String | Product Type name | Required | ||
| LangID | Integer | Language code | Required | ||
| TypeOfService | String | Service Type code | TYPE SERVICE | Required |
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>