Información Servicio
This message is used to obtain information about services that meet the established search criteria.
InformacionServicioPeticion
InformacionServicioPeticion: request message for service information.
Element | M | Type | Values / Format | Description |
ideses | Y | String | max length: 40 | Session identifyer |
codtou | Y | String |
| TTOO code |
codprv | N | String | max length : 10 | Provider code |
codser | C | String | max length : 50 | Service code |
codzge | C | String | max length : 50 | Geographic area code |
nomser | C | String | max length : 100 | Service name |
codtse | C | String | max length : 5 | Service type code |
codsca | C | String | max length : 50 | Service category code |
codcia | C | String | max length : 10 | Hotel chain code |
codsmo | C | String | max length : 100 | Service modality code |
codtrf | C | String | max length : 15 | Rate code |
chkscm | N | Check | See definition | Indicates only confirmed. Default value Y. |
traduc | N | Enumeration[] | codcas, codcha, codcia, coddiv, codemp, codloc, codnot, codral, codsca, codsmo, codsup, codtse, codusu, codzge, cupest, desele, grpcas, nomzge, refnot, subtse, tipdoc, tippag, zgeori | Fields to translate in the response. For each field, you can indicate only the name, or the name plus hashtag (#). If you only provide the name, it will translate the description; if you also include the hashtag, it will translate the code as well. |
Comments: codser and codzge are mandatory fields. If codzge is added, additionally as optional, you can include the filter elements: nomser, codtse, codsca, codcia, codsmo and codtrf.
Example of a request for InformacionServicio with code 52768.
<InformacionServicioPeticion>
<ideses>XML#13161#207902919025785</ideses>
<codtou>HTI</codtou>
<codser>52768</codser>
</InformacionServicioPeticion>
InformacionServicioRespuesta
InformacionServicioRespuesta: response message for service description.
Element | M | Type | Values / Format | Description |
ideses | Y | String | max length : 40 | Session identifyer |
codtou | Y | String |
| TTOO code |
Servic | N | Servic[] | See definition | See definition |
Error | N | error (Group) | See definition | See definition |
Sub-element Servic: service.
Element | M | Type | Values / Format | Description |
@id | Y | String | max length : 100 | Element identifyer |
codtse | Y | String | max length : 5 | Service type code |
codser | Y | String | max length : 50 | Service code |
codcia | N | String | max length : 10 | Hotel chain code |
subtse | N | String | max length : 5 | Subtype of service code |
codsca | Y | String | max length : 50 | Service category code |
nomser | Y | String | max length : 100 | Service name |
urlbas | N | String | max length : 100 | Base address where the files are located |
smoser | N | Smoser[] | See definition | See definition |
desser | N | Desser[] | See definition | See definition |
cassca | N | Cassca[] | See definition | See definition |
cassmo | N | Cassmo[] | See definition | See definition |
casser | N | Casser[] | See definition | See definition |
serinf | N | Serinf | See definition | See definition |
serhot | S | Serhot | See definition | See definition |
inffec | N | Inffec[] | See definition | See definition |
Used in:
InformacionServicioRespuesta
Sub-element Cassca: feature of a category.
Element | M | Type | Values / Format | Description |
codcac | Y | String | max length : 10 | Feature code of a category |
desbre | N | String | max length : 4.000 | Brief product description |
urlimg | N | String | max length : 256 | Internet address where the image is located. |
Used in:
Servic
Sub-element Casser: service feature.
Element | M | Type | Values / Format | Description |
codcas | Y | String | max length : 10 | Service feature code |
grpcas | N | String | max length : 10 | Feature group code |
valmca | N | String | max length : 100 | Value of the measurement associated with the feature |
valcca | N | String | max length : 100 | Value of the category associated with the feature |
chkpag | N | Check | See definition | Indicates whether the feature is paid |
desbre | N | String | max length : 4.000 | Brief product description |
urlimg | N | String | max length : 256 | Internet address where the image is located. |
Used in:
Servic
Sub-element Cassmo: feature of a modality.
Element | M | Type | Values / Format | Description |
codcha | Y | String | max length : 30 | Modality feature code |
desbre | N | String | max length : 4.000 | Brief product description |
urlimg | N | String | max length : 256 | Internet address where the image is located. |
Used in:
Servic
Sub-element Descdo: multimedia content of a service.
Element | M | Type | Values / Format | Description |
@id | Y | String | max length : 100 | Element identifyer |
tipcdo | N | String | max length : 6 | Description content of multimedia |
deslar | N | String | max length : 4.000 | Long description |
urlimg | N | String | max length : 256 | Internet address where the image is located. |
Used in:
Desser
Sub-element Desser: Multimedia content of a service, service, geographic area.
Element | M | Type | Values / Format | Description |
@id | Y | String | max length : 100 | Element identifyer |
chkdzg | N | Check | See definition | Indicate if it is a zone description. |
tipdes | N | Enumeration |
ING SEG IMH SIG ACG GEZ CLZ TRZ GAZ REZ HOZ PAZ DPZ
OCZ FIC | Type of a multimedia description. ING: general service information. SEG: service and service facilities . IMH: hotel images. SIG: service location. ACG: service access. GEZ: general area description. CLZ: area climate. TRZ: transportation in the area. GAZ: typical cuisine of the area. REZ: recommended restaurants in the area. HOZ: hospitals and pharmacies near the area. PAZ: parks and green areas in the area. DPZ: sports and sports facilities in the area OCZ: entertainment, culture, and fun in the area. FIC: file. |
desbre | N | String | max length : 4.000 | Brief product description |
deslar | N | String | max length : 4.000 | Long description |
descdo | N | Descdo[] | See definition | See definition |
Used in:
Servic
Sub-element Gps: GPS location of the referenced item.
Element | M | Type | Values / Format | Description |
x | Y | Double |
| X position |
y | Y | Double |
| Y position |
z | N | Double |
| Z position |
Used in:
Serinf
Sub-element Inffec: allocation or status of the tour package for a range of dates.
Element | M | Type | Values / Format | Description |
@id | Y | String | max length : 100 | Element identifyer |
fecini | Y | Date |
| Check in date |
fecfin | Y | Date |
| Check out date |
cupest | N | Enumeration |
ND CE DS OP PC CM VL AN FA | Allocation status. ND: not available. CE: closed. DS: available. OP: option. PC: on request. CM: confirmed. VL: free sale. AN: canceled. FA: invoiced. |
codtem | N | String | max length : 10 | Seasson code |
diasem | N | Enumeration[] |
L M X J V S D | Availability for the day of the week it contains L: monday M: tuesday X: wednesday J: thursday V: friday S: saturday D: sunday |
Used in:
Servic
Sub-element Serhot: service of the hotel type.
Element | M | Type | Values / Format | Description |
codzge | Y | String | max length : 50 | Geographic area code |
codloc | N | String | max length : 10 | Service location code |
numhab | N | Integer | Valor mínimo: 0 Valor máximo: 10.000 | Number of rooms |
numpla | N | Integer | Valor mínimo: 0 Valor máximo: 100 | Number of floors |
codral | N | String[] | max length : 10 | Meal plan code |
Used in:
Servic
Sub-element Serinf: Basic service information.
Element | M | Type | Values / Format | Description |
dir | Y | String | max length : 2.000 | Address |
codpai | Y | String | max length : 2 | Country code |
loc | N | String | max length : 100 | Locality |
cps | N | String | max length : 15 | Postal code |
tel | N | String | Expresión regular: ^\+?\d(\d|(\d)){1,25}$ | Phone number |
fax | N | String | Expresión regular: ^\+?\d(\d|(\d)){1,25}$ | Fax number |
cif | N | String | Expresión regular: [A-Z0-9]{6,15} | VAT number |
mai | N | String | Expresión regular de correo electrónico válido | |
gps | N | Gps | See definition | See definition |
www | N | String | max length : 100 | URL Address |
Used in:
Servic
Sub-element Smoser: service modality.
Element | M | Type | Values / Format | Description |
codsmo | Y | String | max length : 100 | Service modality code |
codcha | Y | String[] | max length : 30 | Modality feature code |
capmax | Y | Integer | Valor mínimo: 0 Valor máximo: 1.000 | Maximum service capacity |
capmin | Y | Integer | Valor mínimo: 0 Valor máximo: 1.000 | Minimum service capacity |
adlmax | Y | Integer | Valor mínimo: 0 Valor máximo: 100 | Maximum number of adults |
ninmax | Y | Integer | Valor mínimo: 0 Valor máximo: 100 | Maximum number of children |
Used in:
Servic
Example of a response for InformacionServicio message according to the value indicated in the request:
<?xml version="1.0" encoding="iso-8859-1"?>
<InformacionServicioRespuesta>
<ideses>XML#13161#207902919025785</ideses>
<codtou>HTI</codtou>
<servic id="52768">
<codtse>HT</codtse>
<codser>52768</codser>
<subtse>HOTL</subtse>
<codsca>2*</codsca>
<nomser>Hotetec PULL</nomser>
<smoser>
<codsmo>SGL</codsmo>
<codcha>STD</codcha>
<capmax>1</capmax>
<capmin>1</capmin>
<deslar>Modern, air-conditioned room with free Wi-Fi, plasma satellite TV, minibar and private bathroom. Some offer city views.</deslar>
</smoser>
<smoser>
<codsmo>DBL</codsmo>
<codcha>STD</codcha>
<capmax>3</capmax>
<capmin>1</capmin>
<descdo id="0">
<urlimg>https://hotel.hotetec.com/static/images/hotel.multimedia/CONNECT/52768/Room/sm/jzOw35P5mFdx2ZYf.jpg</urlimg>
</descdo>
<deslar>Modern, air-conditioned room with free Wi-Fi, plasma satellite TV, minibar and private bathroom. Some offer city views.</deslar>
</smoser>
<desser id="0">
<tipdes>ING</tipdes>
<desbre>null</desbre>
<codidi>EN</codidi>
<descdo id="1">
<deslar>This modern hotel is located in Palma de Mallorca, a 7-minute walk from the city centre. It offers minimalist-style rooms with air conditioning, free Wi-Fi, plasma satellite TV and a minibar.
The hotel has a restaurant serving a daily buffet breakfast, as well as several bars and restaurants in the immediate vicinity.</deslar>
</descdo>
</desser>
<desser id="1">
<tipdes>IMH</tipdes>
<codidi>EN</codidi>
<descdo id="1">
<urlimg>https://hotel.hotetec.com/static/images/hotel.multimedia/CONNECT/52768/Hotel/sm/kxw9nvleU4MrR7wd.jpg</urlimg>
</descdo>
</desser>
<casser>
<codcas>INTERNET</codcas>
<grpcas>SYF</grpcas>
</casser>
<casser>
<codcas>NOFUMA</codcas>
<grpcas>SYF</grpcas>
</casser>
<serinf>
<dir>24 Fleet St, Temple</dir>
<loc>Bloomsbury</loc>
<cps>07121</cps>
<tel>971439530</tel>
<mai>[email protected]</mai>
<gps>
<x>-0.11042</x>
<y>51.513852</y>
</gps>
<www>www.hotetec.com</www>
</serinf>
<serhot>
<codzge>GB-8855</codzge>
</serhot>
</servic>
</InformacionServicioRespuesta>