Reserva Cerrar
This message closes the reservation, with all services locked up to the current session.
ReservaCerrarPeticion
ReservaCerrarPeticion: reservation closure request message.
Element | M | Type | Values / Format | Description |
ideses | Y | String | Max.length: 40 | Unique session identifier |
codtou | Y | String |
| TTOO code |
infpas | N | Infpas[] | See definition | See definition |
percon | Y | Percon | See definition | See definition |
notser | N | Notser[] | See definition | See definition |
sernot | N | Sernot[] | See definition | See definition |
forpag | S | Forpag[] | See definition | See definition |
refage | N | String | Max.length : 100 | Agency reference |
accion | Y | Enumeration |
M C F | Action in the message. M: simulate. C: query. F: closure. Default value. |
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 followed by a hash (#). If you only provide the name, it will translate the description; if you also include the hash, it will translate the code. |
Sub-element Infpas: passenger information.
Element | M | Type | Values / Format | Description |
@id | Y | String | Max.length : 100 | Element identifier |
nombre | N | String | Max.length : 50 | Passenger name |
priape | N | String | Max.length : 100 | Passenger last name |
segape | N | String | Max.length : 100 | Passenger's second surname |
tipdoc | N | Enumeration |
D P E T C | Reported document type. D: DNI number. P: Spanish passport. E: European Union ID. T: Residence card. C: CIF number. |
pasapt | N | String | Max.length : 20 | Passport or NIF of the passenger |
tel | N | String | Regular expression: ^\+?\d(\d|(\d)){1,25}$ | Phone number |
mai | N | String | Regular expression for a valid email address | |
fecnac | N | Date |
| Birth date |
pasdep | N | String | Max.length : 20 | Dependent passenger |
codpps | N | String[] | Max.length : 40 | Passenger property code |
Used in:
ReservaCerrarPeticion
Sub-element Percon: contact person's information.
Element | M | Type | Values / Format | Description |
@id | Y | String | Max.length : 100 | Element identifier |
nombre | Y | String | Max.length : 50 | Passenger name |
priape | Y | String | Max.length : 100 | Passenger last name |
segape | N | String | Max.length : 100 | Passenger's second surname |
tipdoc | N | Enumeration |
D P E T C | Reported document type. D: DNI number. P: Spanish passport. E: European Union ID. T: Residence card. C: CIF number. |
pasapt | N | String | Max.length : 20 | Passport or NIF of the passenger |
titcor | N | String | Max.length : 4 | Courtesy title |
sexo | N | Enumeration |
M F | Pax's gender. M: male. F: female. |
tel | C | String | Regular expression: ^\+?\d(\d|(\d)){1,25}$ | Phone number |
mai | C | String | Regular expression for a valid email address | |
fax | N | String | Regular expression: ^\+?\d(\d|(\d)){1,25}$ | Fax number |
Comentarios: tel and mai are mandatory.
Used in :
Estres
ReservaAbrirRespuesta
ReservaCerrarPeticion
ReservaCerrarRespuesta
Sub-element Sernot: notes associated with a specific service.
Element | M | Type | Values / Format | Description |
refser | Y | String | Max.length : 100 | Reference to a service |
notser | Y | Notser[] | See definition | See definition |
Used in:
ReservaCerrarPeticion
Example of a reservation closure request message. The reservation will be confirmed with all the blocks that were in the current session's state.
<ReservaCerrarPeticion>
<ideses>XML#13838#996149462075850</ideses>
<codtou>HTT</codtou>
<infpas id="1">
<fecnac>26/02/1992</fecnac>
</infpas>
<infpas id="2">
<fecnac>26/02/1992</fecnac>
</infpas>
<percon id="1">
<nombre>TEST</nombre>
<priape>TEST TEST</priape>
<tel>666123456</tel>
<mai>[email protected]</mai>
</percon>
<notser id="1">
<txtinf>RESERVA TEST</txtinf>
</notser>
<accion>F</accion>
<forpag>
<refopg>1</refopg>
<tippag>C</tippag>
</forpag>
</ReservaCerrarPeticion>
ReservaCerrarRespuesta
ReservaCerrarRespuesta: reservation closure response message.
Element | M | Type | Values / Format | Description |
ideses | Y | String | Max.length : 40 | Unique session identifier |
codtou | Y | String |
| TTOO code |
locata | Y | String | Max.length : 30 | Locator |
refage | N | String | Max.length : 100 | Agency reference |
Impcag | N | String |
| Agency commission tax percentage |
cupest | Y | Enumeration |
ND CE DS OP PC CM VL AN FA | Availability status. ND: not available. CE: closed. DS: available. OP: option. PC: on request. CM: confirmed. VL: free sale. AN: cancelled. FA: invoiced. |
feccre | Y | Date |
| Creation date |
fecini | Y | Date |
| Check in date |
fecfin | Y | Date |
| Check out date |
fecmod | N | DateTime |
| Modification date |
feclim | N | DateTime |
| Reservation deadline date |
codemp | Y | String | Max.length : 10 | Company or agency group code to which the user belongs |
codage | Y | String | Max.length : 15 | Agency code |
codusu | Y | String | Max.length : 15 | User code |
codofi | N | String | Max.length : 15 | Office code |
coddiv | Y | Enumeration | EUR, USD, GBP, EGP, MXN, CHF | Currency code. ISO 4217 codes are used for currencies, of which only the listed ones are currently accepted. |
cambio | N | Double | Min value : 0 Max value: 1.000.000 | Exchange rate used for price calculation |
impnoc | Y | Double | Min value : 0 Max value : 100.000 | Non commissionable amount |
impcom | Y | Double | Min value : 0 Max value : 100.000 | Commissionable amount |
respas | Y | Respas[] | See definition | See definition |
resser | Y | Resser[] | See definition | See definition |
ressup | N | Ressup[] | See definition | See definition |
rescan | N | Rescan[] | See definition | See definition |
rstcan | N | Rstcan[] | See definition | See definition |
percon | Y | Percon | See definition | See definition |
notser | N | Notser[] | See definition | See definition |
forpag | S | Forpag[] | See definition | See definition |
error | N | error (Grupo) | See definition | See definition |
Sub-element Respas: description of the reservation passengers.
Element | M | Type | Values / Format | Description |
@id | Y | String | Max.length : 100 | Element identifier |
nombre | N | String | Max.length : 50 | Passenger name |
priape | N | String | Max.length : 100 | Passenger last name |
segape | N | String | Max.length : 100 | Passenger's second surname |
fecnac | Y | Date |
| Birth date |
tipdoc | N | Enumeration |
D P E T C | Reported document type. D: DNI number. P: Spanish passport. E: European Union ID. T: Residence card. C: CIF number. |
pasapt | N | String | Max.length : 20 | Passport or NIF of the passenger |
sexo | N | Enumeration |
M F | Pax's gender. M: male. F: female. |
tel | N | String | Regular expression: ^\+?\d(\d|(\d)){1,25}$ | Phone number |
mai | N | String | Regular expression for a valid email address | |
pasdep | N | String | Max.length : 20 | Passenger dependent on |
tippas | Y | Enumeration |
A B N | Pax type. A: adult. B: infant. N: child. |
impnoc | Y | Double | Min value: 0 Max value : 100.000 | Non commissionable amount |
impcom | Y | Double | Min value : 0 Max value : 100.000 | Commissionable amount |
codpps | N | String[] | Max.length : 40 | Passenger's property code |
rescan | N | Rescan | See definition | See definition |
Used in:
Estres
ReservaAbrirRespuesta
ReservaCerrarRespuesta
Example of a reservation closure response message
<?xml version="1.0" encoding="iso-8859-1"?>
<ReservaCerrarRespuesta>
<ideses>XML#13838#996149462075850</ideses>
<locata>SFT241218NKUUWL</locata>
<cupest>CM</cupest>
<estado>CM</estado>
<fecini>20/12/2024</fecini>
<fecfin>23/12/2024</fecfin>
<codemp>SFT</codemp>
<codage>SFT</codage>
<codusu>13838</codusu>
<codtou>UBX</codtou>
<coddiv>USD</coddiv>
<impnoc>0.00</impnoc>
<impcom>324.00</impcom>
<respas id="1">
<nombre>NOINFO</nombre>
<priape>NOINFO</priape>
<fecnac>18/12/1981</fecnac>
<tippas>Adult</tippas>
<impnoc>0.00</impnoc>
<impcom>162.0</impcom>
</respas>
<respas id="2">
<nombre>NOINFO</nombre>
<priape>NOINFO</priape>
<fecnac>18/12/1981</fecnac>
<tippas>Adult</tippas>
<impnoc>0.00</impnoc>
<impcom>162.0</impcom>
</respas>
<resser id="0">
<fecini>20/12/2024 00:00</fecini>
<fecfin>23/12/2024 00:00</fecfin>
<nomser>Hotetec PULL</nomser>
<codsca>2*</codsca>
<codzge>ES-46393</codzge>
<codtse>HT</codtse>
<subtse>HOTL</subtse>
<codser>52768</codser>
<impnoc>0.00</impnoc>
<impcom>324.00</impcom>
<estsmo id="1">
<codsmo>APT</codsmo>
<codcha>STD</codcha>
<codral>BB</codral>
<codtrf>36355</codtrf>
<nomtrf>NR</nomtrf>
<cupest>CM</cupest>
<estado>CM</estado>
<numuni>1</numuni>
<impnoc>0.00</impnoc>
<impcom>324.00</impcom>
<pvpobl>324.00</pvpobl>
<porage>10.0</porage>
<codprv>UBX</codprv>
<tipmpg>E</tipmpg>
<rstcan>
<feccan>18/12/2024</feccan>
<impcan>324.0</impcan>
</rstcan>
<estpas>
<pasid>1</pasid>
<pasid>2</pasid>
<cupest>CM</cupest>
<impnoc>0.00</impnoc>
<impcom>162.00</impcom>
</estpas>
</estsmo>
</resser>
<percon id="1">
<nombre>TEST</nombre>
<priape>TEST TEST</priape>
<tel>666123456</tel>
<mai>[email protected]</mai>
</percon>
</ReservaCerrarRespuesta>