Reserva Abrir
This message will open a previously closed reservation to be able to consult its data.
ReservaAbrirPeticion
ReservaAbrirPeticion: request message to open a reservation.
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 | Reservation locator |
infblo | N | Enumeration | S N A | Indicates whether all locks up to the moment should be reported. S: Will report all locks made up to the moment. Default value. N: will not report any lock. A: reports the current operation. |
accion | N | Enumeration | M C | Acction in the message.
M: modify. C: query.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. |
Example of a reservation opening request message with the locator OHG10440611ARMX:
<ReservaAbrirPeticion>
<ideses>XML#17#442106373838493</ideses>
<codtou>HTT</codtou>
<locata>OHG10440611ARMX</locata>
</ ReservaAbrirPeticion>
ReservaAbrirRespuesta
ReservaAbrirRespuesta: response message to open a reservation.
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 | Reservation 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 | N | Forpag[] | See definition | See definition |
error | N | error (Group) | See definition | See definition |
Example of a reservation open message request.
<ReservaAbrirRespuesta>
<ideses>XML#17#442106373838493</ideses>
<codtou>HTT</codtou>
<locata>OHG110906ARMX</locata>
<refage>7406558</refage>
<cupest>CM</cupest>
<estado>CM</estado>
<feccre>30/05/2011</feccre>
<fecini>22/06/2011</fecini>
<fecfin>26/06/2011</fecfin>
<codemp>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</codemp>
<codage>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</codage>
<codusu>17</codusu>
<coddiv>EUR</coddiv>
<impnoc>0</impnoc>
<impcom>756.34</impcom>
<respasid="1">
<fecnac>19/09/1975</fecnac>
<tippas>A</tippas>
<impnoc>0</impnoc>
<impcom>32,75</impcom>
</respas>
<respasid="2">
<fecnac>30/03/1978</fecnac>
<tippas>A</tippas>
<impnoc>0</impnoc>
<impcom>32,75</impcom>
</respas>
<resserid="2003079">
<fecini>22/06/2011</fecini>
<fecfin>26/06/2011</fecfin>
<nomser>HOTEL LAS PALOMAS</nomser>
<codtse>HT</codtse>
<subtse>HT</subtse>
<codser>2464</codser>
<impnoc>0</impnoc>
<impcom>756.34</impcom>
<estsmoid="1">
<codsmo>DBL</codsmo>
<codcha>STD</codcha>
<codral>HB</codral>
<cupest>CM</cupest>
<numuni>1</numuni>
<impnoc>0</impnoc>
<impcom>756.34</impcom>
<codprv>JBT</codprv>
<rstcan>
<feccan>02/09/2011</feccan>
<porcan>100.00</porcan>
<aplcan>T</aplcan>
<txtinf>[email protected];[email protected]</txtinf>
</rstcan>
</estsmo>
<notserid="1">
<codnot>RES</codnot>
<txtinf>Direct Client Payment: false</txtinf>
</notser>
<notserid="2">
<codnot>RES</codnot>
<txtinf>OFFER: Long Stay Offer</txtinf>
</notser>
<notserid="3">
<codnot>RES</codnot>
<txtinf>OFFER: Promo Room</txtinf>
</notser>
<notserid="4">
<codnot>RES</codnot>
<txtinf>PVP / Retail Price: false</txtinf>
</notser>
<notserid="5">
<codnot>RES</codnot>
<txtinf>OFFER: Long Stay Offer</txtinf>
</notser>
<notserid="6">
<codnot>RES</codnot>
<txtinf>OFFER: Promo Room</txtinf>
</notser>
</resser>
<perconid="1">
<nombre>Teodoro</nombre>
<priape>Flores</priape>
<tel>915615471</tel>
</percon>
<forpag>
<tippag>A</tippag>
</forpag>
</ReservaAbrirRespuesta>