Themes
Themes
Themes system list
HTTP Request
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| objRequest | StaticMasterData | String | Static data type | THEME | Required |
HTTP Response
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| Themes | Array | Array of themes | Required | ||
| StaticDataResponseV2Theme | Content of theme data | Required | |||
| ThemeCode | Integer | Theme code | Required | ||
| Theme | String | Theme name | Required | ||
| LangID | Integer | Language code | Required | ||
| ThemeTypeCode | Integer | Theme type code | Optional | ||
| ThemeType | String | Theme type name | Optional |
XML Examples
Static data themes REQUEST example
<?xml version="1.0" encoding="UTF-8"?>
<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>THEME</ws:StaticMasterData>
</ws:objRequest>
</ws:DestServicesStaticDataV2>
</soapenv:Body>
</soapenv:Envelope>
Static data themes 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:00:57.6452336+01:00" MillisecondProcessingTime="46" Endpoint="demo.xml.com"/>
<StaticDataResponseV2Theme>
2
Tema 1
<LangID>ES</LangID>
1
Atracciones principales
</StaticDataResponseV2Theme>
<StaticDataResponseV2Theme>
2
Theme 1
<LangID>EN</LangID>
</StaticDataResponseV2Theme>
<StaticDataResponseV2Theme>
6
Tema 2
<LangID>ES</LangID>
</StaticDataResponseV2Theme>
<StaticDataResponseV2Theme>
6
Theme 2
<LangID>EN</LangID>
</StaticDataResponseV2Theme>
</DestServicesStaticDataV2Result>
</DestServicesStaticDataV2Response>
</soap:Body>
</soap:Envelope>