Professional Documents
Culture Documents
CyberesaWS Hotel 8.0.5
CyberesaWS Hotel 8.0.5
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 1/56
Solutions e-tourisme
Document Control
2.Delete node
SelectedRooms:Options:Option:@id
from HotelBookingCreationREQ
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 2/56
Solutions e-tourisme
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 3/56
Solutions e-tourisme
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 4/56
Solutions e-tourisme
Contents
Contents................................................................................................................................................................ 5
Introduction ....................................................................................................................................................... 6
Authentication & Security .............................................................................................................................. 6
Method POST .................................................................................................................................................... 6
API HotelSearch() ............................................................................................................................................. 8
API StaticDataRQ() .......................................................................................................................................... 28
API TripBookingList()...................................................................................................................................... 43
API CreditCheck() ............................................................................................................................................ 47
API HotelBookingAcknowledge()............................................................................................................... 49
API BookingList () .......................................................................................................................................... 50
API HotelRoomSelection () .......................................................................................................................... 54
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 5/56
Solutions e-tourisme
Introduction
This document describes how to use APIs when accessing CYBERESA Web Services.
This document describes also each API, its structure for request and response, which parameters are mandatory and
optional and error management.
Method POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with
actual values.
Request
strRQ=string
Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0"?>
xml
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 6/56
Solutions e-tourisme
WORKFLOW
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 7/56
Solutions e-tourisme
API HotelSearch()
This function is dedicated for hotels search
Request
<HotelSearchREQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<SearchDetails>
<BookingDetails>
<User>?</User>
<Language>?</Language>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
<IdCity>?</IdCity>
<Rooms>
<Room>
<Pax>
<Adult>?</Adult>
<Child age=”?”>?</Child>
</Pax>
<Boarding>?</Boarding>
</Room>
</Rooms>
</BookingDetails>
<Filters>
<PriceBreakDown>True/False</PriceBreakDown>
<Budget minimum=”?” Maximum=”?”>?</Boarding>
<Keywords>?</Keywords>
<Categories>
<Category>?</Category>
</Categories>
<Sort>
<By>?</By>
</Sort>
<OnlyAvailable>True/False</OnlyAvailable>
<ItemsPerPage>?</ItemsPerPage>
<PageNumber>?</PageNumber>
<Onlyhotelsids>?</Onlyhotelsids>
<Excludehotelsids>?</Excludehotelsids>
</Filters>
</SearchDetails>
</HotelSearchREQ>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 8/56
Solutions e-tourisme
Credential Mandatory
SearchDetails BookingDetails
BookingDetails :Rooms :Roo Number Of adults for the current Numeric Mandatory
m:Pax :Adult room configuration
BookingDetails :Rooms :Roo Number of children for the current Numeric Mandatory
m:Pax :Child : room configuration
BookingDetails :Rooms :Roo Children ages separated by “-” Text Mandatory for
m:Pax :Child @Age ex: “5” or “5-6” child
Filters
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 9/56
Solutions e-tourisme
Response
<HotelSearchRES>
<ErrorResult id=’?’>
<message>?</message>
</ErrorResult>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
<Language>?</Language>
<Currency>?</Currency>
<City id=’?’>?</City>
<Destination id=’?’>?</Destination>
<PaginationData currentPage=’?’ TotalPages=’?’ />
<Hotels count=’?’>
<Hotel id=’?’>
<Source>?</Source>
<Title>?</Title>
<PromotionTitle>?</PromotionTitle>
<Category id=>?</Category>
<ThumbImage url=’?’>?</ThumbImage>
<Review id=’?’>
<Note>?</Note>
<Number>?</Number>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 10/56
Solutions e-tourisme
</Review>
<Localization>
<Longitude>?</Longitude>
<Latitude>?</Latitude>
</Localization>
<Address>?</Address>
<GlobalSupplement>?</ GlobalSupplement >
<Rooms>
<Room id=’?’ Count=’?’>
<Adult>?</Adult>
<Child maxage=’?’ minage=’?’ age=’?’>?</Child>
<Title>?</Title>
<Boardings>
<Boarding id=’?’>
<Title>?</Title>
<Available code=’?’ status=’?’ value=’?’>?</Available>
<Rate currency=?>?</Rate>
</Boarding>
</Boardings>
<Supplement>
<Title>?</Title>
<Rate currency=?>?</Rate>
</Supplement>
<PriceBreakDown>
…
</PriceBreakDown>
</Room>
<GlobalSupplements>
<GlobalSupplement id=’?’>?</GlobalSupplement>
</GlobalSupplements>
</Rooms>
<GlobalSupplement>?</GlobalSupplement>
<CancellationPolicy>
<FromDate>?</FromDate>
</CancellationPolicy>
</Hotel>
</Hotels>
</HotelSearchRES>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 11/56
Solutions e-tourisme
Hotels
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 12/56
Solutions e-tourisme
Rooms
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 13/56
Solutions e-tourisme
210 or 2044 :
minimal stay
overnight is not
respect, 210 by
hotel, 2044 by
boarding
203 : authorized
delay to book an
hotel is not
respected
(retrocession delay)
Other code to
indicate hotel on
request
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 14/56
Solutions e-tourisme
authorized FromDate
to start booking : if
@code=203
CancellationPolicy
API HotelBookingCreation()
This function is dedicated to create the booking.
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 15/56
Solutions e-tourisme
Request
<HotelBookingCreationREQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<City id=’?’>?</City>
<Destination id=’?’>?</Destination>
<User>?</User>
<Language>?</Language>
<Currency>?</Currency>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
<HotelID>?</HotelID>
<IdToken>?</IdToken>
<Source>?</Source>
<Recommandation>?</Recommandation>
<CodePromo>?</CodePromo>
<expectedprice tolerance=’?’>?</expectedprice>
<SelectedRooms>
<SelectedRoom id=’?’>
<Adult>?</Adult>
<Child>?</Child>
<Boarding id=’?’ />
<Customers>
<Customer>
<Civility>?</Civility>
<FirstName>?</FirstName>
<LastName>?</FirstName>
<Age>?</Age>
</Customer>
</Customers>
</SelectedRoom>
…
</SelectedRooms>
<IdAssignedUserPayment></IdAssignedUserPayment>
<Kit>
<PaymentGateway>?</PaymentGateway>
<SecurityCode>?</SecurityCode>
<IdAutorisation>?</IdAutorisation>
<CardType>?</CardType>
<CardBank>?</CardBank>
<BankCountry>?</BankCountry>
<CardNumber>?</CardNumber>
<ClientLastName>?</ClientLastName>
<ClientFirstName>?</ClientFirstName>
<ClientEmail>?</ClientEmail>
</Kit>
<Customer>
<Id>?</Id>
<Email>?</Email>
</Customer>
</HotelBookingCreationREQ>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 16/56
Solutions e-tourisme
Format
Credential Mandatory
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 17/56
Solutions e-tourisme
Kit Optional
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 18/56
Solutions e-tourisme
Response
<HotelBookingCreationRES>
<ErrorResult id=?>
<message>?</message>
</ErrorResult>
<User>?</User>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
<Language>?</Language>
<Currency>?</Currency>
<HotelID>?</HotelID>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 19/56
Solutions e-tourisme
<HotelTitle>?</HotelTitle>
<Category>?</Category>
<OrderDetails id=’?’ idtoken=’?’ password=’?’>
<CancellationPolicies>
<CancellationPolicy>
<FromDate>?</FromDate>
<Fee>?</Fee>
</CancellationPolicy>
</CancellationPolicies>
<NoShowPolicy>
<Fee>?</Fee>
</NoShowPolicy>
<Rooms>
<Room id=’?’>
<Adult>?</Adult>
<Child>?</Child>
<Title>?</Title>
<Boarding id=?>
<Rate>?</Rate>
<Title>?</Title>
</Boarding>
<Passengers>
<Passenger>
<Civility>?</Civility>
<FirstName>?</FirstName>
<LastName>?</LastName>
<Age>?</Age>
<Reduction id=’?’>?</Reduction>
</Passenger>
</Passengers>
</Room>
</Rooms>
<State id=’?’>?</State>
<TotalRate>?</TotalRate>
<GlobalSupplement>?</GlobalSupplement>
</OrderDetails>
</HotelBookingCreationRES>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 20/56
Solutions e-tourisme
CancellationPo CancellationPolicies
licies
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 21/56
Solutions e-tourisme
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 22/56
Solutions e-tourisme
API HotelBookingCancellation()
This function is dedicated to cancel an order already confirmed
Request
<HotelBookingCancellationREQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<Language>?</Language>
<OrderId>?</OrderId>
<Source>?</Source>
</HotelBookingCancellationREQ>
Credential Mandatory
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 23/56
Solutions e-tourisme
Response
<HotelBookingCancellationRES>
<ErrorResult id=’?’>
<message>?</message>
</ErrorResult>
<ReturnedValue>
<OrderCancelled>?</OrderCancelled>
<IdOrder>?</IdOrder>
<Rate>?</Rate>
<Currency>?</Currency>
</ReturnedValue>
</HotelBookingCancellationRES>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 24/56
Solutions e-tourisme
API HotelCancellationPolicy()
This function is dedicated to return the hotel cancellation policy
<HotelCancellationPolicyREQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<Currency>?</Currency>
<Language>?</Language>
<HotelID>?</HotelID>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
<SelectedRooms>
<SelectedRoom id=’?’>
<Adult>?</Adult>
<Child age=’?’>?</Child>
<Boarding id=’?’ />
</SelectedRoom>
</SelectedRooms>
<Source>?</Source>
</ HotelCancellationPolicyREQ >
Credential Mandatory
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 25/56
Solutions e-tourisme
Response
<HotelCancellationPolicyRES>
<ErrorResult id=’?’>
<message>?</message>
</ErrorResult>
<CancellationPolicies>
<CancellationPolicy>
<FromDate>?</FromDate>
<Fee>?</Fee>
</CancellationPolicy>
</CancellationPolicies>
<NoShowPolicy>
<Fee>?</Fee>
</NoShowPolicy>
<User>?</User>
<Currency>?</Currency>
</HotelCancellationPolicyRES>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 26/56
Solutions e-tourisme
Cancellation CancellationPolicies
Policies
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 27/56
Solutions e-tourisme
API StaticDataRQ()
This function is dedicated to get list of currencies, languages, destinations , hotels , categories and
boardings.
Request
<StaticDataRQ gethotelslist=’?’>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<Ilng>?</Ilng>
<User>?</User>
</StaticDataRQ >
:@gethotelslist
Credential Mandatory
Response
<Root>
<Currencies>
<Currency>
<Id>?</Id>
<Title>?</Title>
</Currency>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 28/56
Solutions e-tourisme
</Currencies>
<Languages>
<Language>
<Id>?</Id>
<Title>?</Title>
</Language>
</Languages>
<Destinations>
<Destination id=’?’>
<Title>?</Title>
<Cities>
<City>
<Id>?</Id>
<Title>?</Title>
</City>
</Cities>
</Destination>
</Destinations>
<Hotels>
<Hotel>
<Id>?</Id>
<Title>?</Title>
<IdCity>?</IdCity>
</Hotel>
</Hotels>
<Categories>
<Category>
<Id>?</Id>
<Title>?</Title>
</Category>
</Categories>
<HotelBoardings>
<HotelBoarding>
<Id>?</Id>
<Priority>?</Priority>
</HotelBoarding>
</HotelBoardings>
<HotelBoardingsL>
<HotelBoardingL>
<IdHotelsBoarding>?</IdHotelsBoarding>
<Title>?</Title>
<SMSTitle>?</SMSTitle>
</HotelBoardingL>
</HotelBoardingsL>
<Boardings>
<Boarding>
<IdHotelBoarding>?</IdHotelBoarding>
<IdHotel>?</IdHotel>
<Title>?</Title>
</Boarding>
</Boardings>
<Rooms>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 29/56
Solutions e-tourisme
<Room>
<Id>?</Id>
<Title>?</Title>
<Generic>?</Generic>
<MinPax>?</MinPax>
<MaxPax>?</MaxPax>
<MinAdult>?</MinAdult>
<MaxAdult>?</MaxAdult>
<MinChild>?</MinChild>
<MaxChild>?</MaxChild>
<MinInfant>?</MinInfant>
<MaxInfant>?</MaxInfant>
<PricePerPax>?</PricePerPax>
</Room>
</Rooms>
<Options>
<Option id=”?”>?</Option>
</Options>
</Root>
Currencies
Languages
Destinations
@Id
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 30/56
Solutions e-tourisme
Cities
Categories
HotelBoardings
ID
Priority
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 31/56
Solutions e-tourisme
IdHotelsBoarding
IdLanguage
Title
SMSTitle
IdHotelBoarding
IdHotel
Title
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 32/56
Solutions e-tourisme
Options
API HotelDetailRQ()
This function is dedicated to get hotel 's details.
Request
<HotelDetailRQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 33/56
Solutions e-tourisme
<User>?</User>
<Ilng>?</Ilng>
<HotelID>?</HotelID>
<WithHotelMap>?</WithHotelMap>
<WithHotelAdvancedDetail>?</WithHotelAdvancedDetail>
<WithHotelSections>?</WithHotelSections>
<WithHotelReviews>?</WithHotelReviews>
<WithHotelImages>?</WithHotelImages>
<WithTravellersReviews>?</WithTravellersReviews>
<Source>?</Source>
</HotelDetailRQ>
Credential Mandatory
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 34/56
Solutions e-tourisme
Response
<HotelDetailRS>
<Id>?</Id>
<Title>?</Title>
<ShowMap>?</ShowMap>
<ShowRewiew>?</ShowRewiew>
<Destination>?</Destination>
<City id=’?’>?</City>
<Category id=’?’>?</Category>
<Summary>?</Summary>
<Description>?</Description>
<ImageUrl>?</ImageUrl>
<PromotionTitle>?</PromotionTitle>
<ShowSection>?</ShowSection>
<ShowImage>?</ShowImage>
<Review count=?>?</Review>
<Address>?</Address>
<Email>?</Email>
<WebSite>?</WebSite>
<Fax>?</Fax>
<Phone>?</Phone>
<SectionList>
<Section id=’?’>?</Section>
</SectionList>
<HotelMap>
<Latitude>?</Latitude>
<Longitude>?</Longitude>
<Zoom>?</Zoom>
</HotelMap>
<HotelAdvancedDetail>
<Reductions>
<Reduction>?</Reduction>
</Reductions>
<Facilities>
<Facility>?</Facility>
</Facilities>
<Rooms>
<Room>?</Room>
</Rooms>
<Options>
<Option id=”?”>?</Option>
</Options>
<Supplements>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 35/56
Solutions e-tourisme
<Supplement>?</Supplement>
</Supplements>
<Boards>
<Board>?</Board>
</Boards>
<Locations>
<Location>?</Location>
</Locations>
<Themes>
<Theme id=’?’>?</Theme>
</Themes>
</HotelAdvancedDetail>
<HotelReview>
<ReviewSatisfactionCriterias>
<SatisfactionCriterias>
<IdSatisfactionCriteria>?</IdSatisfactionCriteria>
<SatisfactionCriteria>?</SatisfactionCriteria>
<AverageMark>?</AverageMark>
</SatisfactionCriterias>
</ReviewSatisfactionCriterias>
<ReviewTravellerCategories>
<Traveller>
<IdTravellerCategory>?</IdTravellerCategory>
<TravellerCategory>?</TravellerCategory>
<ReviewsNumber>?</ReviewsNumber>
</Traveller>
</ReviewTravellerCategories>
</HotelReview>
<HotelImages>
<Image title=?>?</Image>
</HotelImages>
<TravellersReviews>
<TravellersReview>
<Name>?</Name>
<TravelerCategory id=’?’>?</TravelerCategory >
<FromDate>?</FromDate>
<ToDate>?</ToDate>
<SubmissionDate>?</SubmissionDate>
<Title>?</Title>
<Comment>?</Comment>
<Criterias>
<Criteria id=’?’ Title=’?’ Value=’?’ />
</Criterias>
</TravellersReview>
</TravellersReviews >
</HotelDetailRS>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 36/56
Solutions e-tourisme
Id Id of hotel Numeric
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 37/56
Solutions e-tourisme
Review
SectionList
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 38/56
Solutions e-tourisme
Facilities
Rooms
Options
Supplements
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 39/56
Solutions e-tourisme
supplement
Boards
Locations
Themes
ReviewSatisfactionCriterias :
SatisfactionCriterias
SatisfactionCriterias : Id of Numeric
IdSatisfactionCriteria satisfaction
criteria
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 40/56
Solutions e-tourisme
ReviewTravellerCategories
ReviewTravellerCategories :
Traveller
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 41/56
Solutions e-tourisme
TravellersReview : Criterias
Criterias :Criteria
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 42/56
Solutions e-tourisme
API TripBookingList()
This function is dedicated to mTrip.com mobile application to get hotels and flight bookings made since
specific date time and filters on the id Member if needed.
Request:
XML Format
<TripBookingListRQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<IdMember>?</IdMember>
<Ilng>?<Ilng>
<FromDate>?</FromDate>
</TripBookingListRQ>
JSON Format
{"TripBookingListRQ":{"Credential":{"Login":"?","Password":"?"},"User":"?",
"Ilng":"?","FromDate":"?"}}
Credential
Response:
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 43/56
Solutions e-tourisme
JSON Format
{"TripBookingListRS":{"Bookings":{"Booking":[{"@kind":"accommodation","booking_number":"?","name":
"?","from_date":"?","to_date":"?","adress":"?","picture_url":"?","tyoe_of_room":"?","city":"?","ph
one":"?","email":"?","location":{"latitude":"?","longitude":"?"},"travelers":{"?":[{"name":"?","ty
pe_of_room":"?"},{"name":"?","type_of_room":"?"},{"name":"?","type_of_room":"?"},{"name":"?","type
_of_room":"?"}]}},{"@kind":"transport","reservation_reference":"?","transport_number":"?","class":
?,"departure_date":"?","departure_city":"?","arrival_city":"?","airline_company":"?","departure_ai
rport":"?","departure_airport_iata":"?","arrival_airport":"?","arrival_airport_iata":"?","departur
e_terminal":"?","arrival_terminal":"?","arrival_date":"?","duration":"?","departure_location":{"la
titude":"?","longitude":"?"},"Arrival_location":{"latitude":"?","longitude":"?"},"travelers":{"tra
veler":{"name":" ?","ticket_number":"?"}}}]}}}
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 44/56
Solutions e-tourisme
[kind="transport"]
[kind="accommodatio
n"]
departure_city The city from where the transport leaves string Mandatory
Format: 1h :30m
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 45/56
Solutions e-tourisme
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 46/56
Solutions e-tourisme
API CreditCheck()
This function is dedicated to get current used and remaining credit (if exists)
Request:
Credential
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 47/56
Solutions e-tourisme
Response
<CreditCheck>
<Deposit>?</Deposit>
<ConsumedDeposit>?</ConsumedDeposit>
<RemainingDeposit>?</RemainingDeposit>
<RemainingPercentage>?</RemainingPercentage>
<ConsumedPercentage>?</ConsumedPercentage>
<DateDeposit>?</DateDeposit>
<DaysLeft>?</DaysLeft>
</CreditCheck>
Example
<CreditCheck>
<Deposit>285000 DZD</Deposit>
<ConsumedDeposit>282939 DZD</ConsumedDeposit>
<RemainingDeposit>2061 DZD</RemainingDeposit>
<RemainingPercentage>0.723157894736843</RemainingPercentage>
<ConsumedPercentage>0.992768421052632</ConsumedPercentage>
<DateDeposit>05/04/2016</DateDeposit>
<DaysLeft>2.85542820183856</DaysLeft>
</CreditCheck>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 48/56
Solutions e-tourisme
API HotelBookingAcknowledge()
This function is dedicated to retrieve the response about previous sent booking to a PMS.
Request
<HotelBookingAcknowledgeRQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<Ilng>?</Ilng>
<Orders>
<Order>
<Id>?</Id>
<Operation>?</Operation>
<Comments>?</Comments>
</Order>
…
</Orders>
</HotelBookingAcknowledgeRQ>
Credential Mandatory
Login Text
Password Text
Response
<HotelBookingAcknowledgeRS>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 49/56
Solutions e-tourisme
<ErrorResult id='?'>
<message>?</message>
</ErrorResult>
<Orders>
<Order>
<Id>?</Id>
<Status>?</Status>
<Comments>?</Comments>
</Order>
</Orders>
</HotelBookingAcknowledgeRS>
Orders
API BookingList ()
This function is dedicated to retrieve the bookings in priority for the given hotel.
Uses idtoken if exist, or idorder if exist or return all bookings starting from lastupdate date.
Request
<BookingListRQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<hotel>?</hotel>
<idtoken>?</idtoken>
<idorder>?</idorder>
<lastupdate>?</lastupdate>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 50/56
Solutions e-tourisme
</BookingListRQ>
Credential Mandatory
Login Text
Password Text
Response
<BookingListRS>
<ErrorResult id='?'>
<message>?</message>
</ErrorResult>
<bookings>
<booking>
<id>?</id>
<totalnetRate>?</totalnetRate>
<totalPaidAmount>?</totalPaidAmount>
<idaffiliate>?</idaffiliate>
<city>?</city>
<hoteltitle> ?</hoteltitle>
<fromdate> ?</fromdate>
<todate> ?</todate>
<remarks> ?</remarks>
<lastupdate> ?</lastupdate>
<state id="?"> ?</state>
<rooms>
<room>
<type> ?</type>
<boarding> ?</boarding>
<netRate> ?</netRate>
<Supplements/>
<customers>
<customer>
<name> ?</name>
<reductions> ?</reductions>
<kind> ?</kind>
</customer>
</room>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 51/56
Solutions e-tourisme
</rooms>
</booking>
</bookings>
<Started>
</Started>
<ResponseTime>
</ResponseTime>
<BookingListRS>
bookings
totalnetRate
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 52/56
Solutions e-tourisme
a voucher is
issued
1 : The
hotel is
available
and your
booking is
confirmed
as
reserved,
no voucher
is issued
0 : the
hotel is not
available is
your
booking is
saved as
onrequest
2 : the
booking is
cancelled
rooms
customers
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 53/56
Solutions e-tourisme
API HotelRoomSelection ()
This function is dedicated for hotel Room Selection and return all applicable rooms definitions,
boardings, supplements, globalsupplements…
Request
<HotelRoomSelectionRQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<Curr>?</Curr>
<Language>?</Language>
<HotelId>?</HotelId>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
</HotelRoomSelectionRQ>
Credential Mandatory
Login Text
Password Text
Response
<HotelRoomSelectionRS>
<ErrorResult id='?'>
<message>?</message>
</ErrorResult>
<rooms>
<room minAd='?' maxAd='?' minChild='?' maxChild='?'>
<id >?</id>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 54/56
Solutions e-tourisme
<title>?</title>
<price>?</price>
<boardings>
<boarding id='?' title='?' price='?' ></boarding>
</boardings>
<Supplements>
<Supplement id='?' title='?' price='?' Mandatory='?'
PerNight='?'PerPax='?'></Supplement>
</Supplements>
<GlobalSupplements>
<GlobalSupplement id='?' title='?' price='?' Mandatory='?'
PerNight='?'PerPax='?'></GlobalSupplement>
</GlobalSupplements>
</room>
</rooms>
<HotelRoomSelectionRS>
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 55/56
Solutions e-tourisme
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V)
Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE
Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
05/07/2019 – page 56/56