Skip to main content

Themes

Themes​

Themes system list

HTTP Request​

NodeAttributeData TypeDescriptionValueMandatory
objRequestStaticMasterDataStringStatic data typeTHEMERequired

HTTP Response​

NodeAttributeData TypeDescriptionValueMandatory
ThemesArrayArray of themesRequired
StaticDataResponseV2ThemeContent of theme dataRequired
ThemeCodeIntegerTheme codeRequired
ThemeStringTheme nameRequired
LangIDIntegerLanguage codeRequired
ThemeTypeCodeIntegerTheme type codeOptional
ThemeTypeStringTheme type nameOptional

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>