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 

Type

Values / Format 

Description

ideses 

String 

Max length : 40 

Unique session identifier 

codtou 

String 

 

TTOO code

locata 

String 

Max length : 30 

Reservation locator 

infblo 

Enumeration 

S

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 

Enumeration 

Acction in the message.

 

M: modify. 

C: query.Default value.

traduc 

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 

Type

Values / Format 

Description

ideses 

String 

Max length : 40 

Unique session identifier 

codtou 

String 

 

TTOO code

 locata 

String 

Max length : 30 

Reservation locator 

refage 

String 

Max length : 100 

Agency reference

Impcag 

String 

 

Agency commission tax percentage

cupest 

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 

Date 

 

Check in date 

fecfin 

Date 

 

Check out date 

fecmod 

DateTime 

 

Modification date 

feclim 

DateTime 

 

Reservation deadline date 

codemp 

String 

Max length : 10 

Company or agency group code to which the user belongs 

codage 

String 

Max length : 15 

Agency code 

codusu 

String 

Max length : 15 

User code 

codofi 

String 

Max length: 15 

Office code 

coddiv 

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 

Double 

Min value : 0 

Max value : 1.000.000

Exchange rate used for price calculation 

impnoc 

Double 

Min value: 0

Max value: 100.000

Non commissionable amount

impcom 

Double 

Min value: 0 

Max value : 100.000

Commissionable amount

respas 

Respas[] 

See definition 

See definition 

resser 

Resser[] 

See definition 

See definition 

ressup 

Ressup[] 

See definition 

See definition 

rescan 

Rescan[] 

See definition 

See definition 

rstcan 

Rstcan[] 

See definition 

See definition 

percon 

Percon 

See definition 

See definition 

notser 

Notser[] 

See definition 

See definition 

forpag 

Forpag[] 

See definition 

See definition 

error 

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>agp@hotetec.com;soporte@hotetec.com</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>