The DM API is an interface aimed for a Juniper client (or a company that will be working in their behalf) to be capable of automatically performing procedures related to the internal side of their system.
This API currently allow for the following list of features:
Refer to each respective section for a detailed list of what you may perform in that regard.
Following the Getting Started section found on the home page, we would also like to add an example of the Data Management test environment endpoint for your reference:
https://juniper-uat.bookingengine.es/WebServiceJPDM/DataManagement.asmx
And, whose WSDL you would also be able to find under:
https://juniper-uat.bookingengine.es/WebServiceJPDM/DataManagement.asmx?WSDL
And on which it is very important to note that within this endpoint you will be able to find multiple bindings which stand for each one of the transaction sections that you will be able to find within these specs (AccountingTransactions for section Accounting Transactions, BookTransactions for section Booking Transactions, etc...).
Important note:
Being juniper-uat.bookingengine.es the endpoint of the test environment and the part that you would have to replace if you wished to connect to a different environment. This is very important to keep in mind for when you connect to the live environment and/or if you plan on connecting with multiple Juniper clients.
First of all, we would like to supply you with a brief table that includes most of the common formats that you will be able to find through this document:
Format | Type | Short description |
---|---|---|
[Text] | String | Any characted or number (NVarchar) |
n[0..9] | Integer | 1...N recurrences of number. i.e.: 1, 60, 41050… |
n[0..9],2[0..9] | Double | Number with decimals separated by coma. Integer part: 1...N recurrences of number. Decimal part: 2 recurrences of number. i.e.: 1,00; 100,02; 300,99, … |
true/false | Boolean | Boolean value. |
yyyy-MM-ddThh:mm:ss | DateTime | Specifies date and time |
yyyy-MM-dd | Date | Specifies date |
hh:mm:ss | Time | Specifies time |
PnYnMnDTnHnMnS | String | Specifies duration |
Then, you will be able to find all of the generic types found within this document:
It refers to the object that contains specific data to do the system login. We refer to this object labeled {Login} in this document.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
N | String | Email provided by Juniper | |
@Password | N | String | Password provided by Juniper |
It refers to the object that contains the errors that could be supplied to you on a response. We refer to this object labeled {Errors} in this document.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
Error | Y | - | Specific error |
./Error/@Code | Y | String | Typified error code. Kindly refer to the Exceptions section of the API if you would like for more information in this regard. |
./Error/Text | Y | String | Error description. |
It refers to the object that contains the warnings that could be supplied to you on a response. We refer to this object labeled {Warnings} in this document.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
Warning | Y | - | Specific warning |
./Warning/@Code | Y | String | Typified warning code. Kindly refer to the Warnings section of the API if you would like for more information in this regard. |
./Warning/Text | Y | String | Warning description. |
It refers to the object that contains specific data about passengers (paxes). We refer to this object labeled {Paxes} in this document.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
Pax | N | - | Passenger information. |
./Pax/@IdPax | N | Integer | Pax id. Passenger identification. It should start from 1 and in ascending order. |
./Pax/Title | Y | String | Pax title: Mr, Mrs |
./Pax/Name | Y | String | Pax name |
./Pax/Surname | Y | String | Pax surname |
./Pax/Age | Y | Integer | Passenger age. It can be null for adults. Guests older than 18 will be considered adults If no data is sent in this node, it will be considered as a 30 years old adult. |
./Pax/Email | Y | String | Pax email |
./Pax/Document | Y | String | Identification document |
./Document/@Type | Y | String | Document type. Possible values: - PAS - NIF - NIE - DNI - CIF |
./Pax/PhoneNumbers | Y | - | List of phone numbers |
./PhoneNumbers/PhoneNumber | String | Pax phone number | |
./Pax/BornDate | Date | Pax born date Format: yyyy-MM-dd |
|
./Pax/Address | String | Pax address | |
./Pax/City | Y | String | Pax city |
./Pax/Country | Y | String | Pax country |
./Pax/PostalCode | Y | String | Pax postal code |
./Pax/Nationality | Y | String | Nationality of the passenger following the ISO-3166-1 standard. |
./Pax/ResidentDiscount | Y | - | Pax resident discount for flight. Is required when score this discount in FlightAvail |
./ResidentDiscount/@Type | N | String | Possible values to be sent: - RC Canary Resident - BP Balearic Resident - RM Ceuta and Melilla Resident - DC Canary inter-island Resident - BI Balearic inter-island Resident |
./ResidentDiscount/@Municipality | N | String | Municipality of the passenger. |
./Pax/LargeFamilyDiscount | Y | - | Pax large family discount for flight. Is required when score this discount in FlightAvail |
./LargeFamilyDiscount/@Type | N | String | Possible values to be sent: - F1 - General Category - F2 - Special Category |
./LargeFamilyDiscount/@AutonomousCommunity | N | String | AutonomousCommunity of the passenger. |
./LargeFamilyDiscount/@Code | N | String | Large family discount code |
Object used to return all information about product price. We refer to this object labeled as: {Prices}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
Price | Y | - | Main price node. |
./Price/@Currency | Y | String | Currency of all object amounts. |
./Price/TotalFixAmounts | Y | - | Basic prices. |
./TotalFixAmounts/@Gross | Y | Double | Total service amount. Service@Amount |
./TotalFixAmounts/@Nett | Y | Double | Net amount of the service. It is the total price after deducting the applied commissions. Service@Amount – Commisions@Amount or Gross – Commisions@Amount |
./TotalFixAmounts/Service | Y | - | Base amount of the price object. Supplements, discounts and taxes included. |
./Service/@Amount | Y | Double | Amount = Base Price + ServiceTaxes.@Amount. |
./TotalFixAmounts/ServiceTaxes | Y | - | Total amount of the applied and included taxes in the Nett attribute. |
./ServiceTaxes/@ Included | N | Boolean | Indicates if tax price is included in the product price. - True: Tax price included - False: Tax price not included |
./ServiceTaxes/@Amount | N | Double | Amount = Base Price + ServiceTaxes.@Amount. |
./TotalFixAmounts/Commissions | Y | - | Total amount corresponding to the applied commissions and included in the ServiceAmount and the Nett. |
./Commissions/@ Included | N | Boolean | Indicates if tax price is included in the product price. - True: Commission price included - False: Commission price not included |
./Commissions/@Amount | N | Double | Total commissions amount value |
./TotalFixAmounts/HandlingFees | Y | Total amount of handlingfee applied and included to the ServiceAmount and to the Nett. | |
./HandlingFees/@ Included | N | Boolean | Indicates if handlingFees is included in product price. - True: HandlingFees price included - False: HandlingFees price not included |
./HandlingFees/@Amount | N | Double | Total handlingfees amount value |
./TotalFixAmounts/Discount | Y | - | Total amount of the applied discounts included in the ServiceAmount and the Nett. |
./Discount/@Amount | N | Double | Total discount value |
./Price/Breakdown | - | - | Price breakdown. |
./Breakdown/Concepts | Y | - | List of available concepts. |
./Concepts/Concept | Y | - | Specific concept. The may be multiple Concept. |
./Concept/@Type | N | String | Concept type. Possible values: • BAS – Base type concept • SUP – Supplement type concept • OFE – Offer type concept • HFE - Handling Fee type concept • TAS – Tax type concept • PRO – Promo type concept • DTO – Discount type concept • OTH – Other non-defined type concept |
./Concept/@Name | Y | String | Reference name |
./Concept/@Code | Y | String | Only for packages and cost prices. Indicates the code of the package products to which the item will be associated. |
./Concept/Items | Y | - | Subnodes that define the items that will form the reference that is being defined. |
./Items/Item | Y | - | Concept item. Each item node corresponds to a price per day or a price mode |
./Item/@Amount | Y | Double | Amount based on the concept. |
./Item/@Date | Y | Date | Application date for which the item will apply Format: yyyy-MM-dd |
./Item/@Quantity | Y | Integer | Quantity application indicator for this concept. |
./Item/@Days | Y | Integer | Indicator of the number of days for which the item will apply |
./Item/@PaxType | Y | String | Indicates the type of pax to which the item will be associate it with. |
./Concept/Taxes | Y | - | Taxes that apply to the concept |
./Taxes/{Tax} | N | - | Tax |
./Breakdown/Taxes | Y | - | Taxes applied to all of the concepts |
./Taxes/{Tax} | N | - | Tax |
./Breakdown/Commissions | Y | - | Subnode of concepts in which the commissions are configured. These may be from an Agency or a Supplier. |
./Commissions/{Commission} | N | - | Commission |
./Breakdown/Discounts | Y | - | Early booking discount subnode or promocodes |
./Discounts/{Discount} | N | - | Discount. |
Object {Tax}, {Commission} or {Discount}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Type | Y | String | Only for commissions and discounts. If it is a commission: • A – Agency commission • P – Supplier commission If it’s a discount: • P – Promocode • V – Early booking • C - Campaign |
@Name | Y | String | Name |
@Value | Y | Double | Price or value |
@IsFix | Y | Boolean | Indicates if the Value attribute is a fixed tax/commission/discount |
@TaxAAmount | Y | Double | Tax A Commission amount. Only for commissions. |
@TaxBAmount | Y | Double | Tax B commission amount. Only for commissions. |
@ByNight | Y | Boolean | Indicates if it is a tax per night. Only for taxes. |
@Commissionable | Y | Boolean | Indicates if the tax is commissionable. Only for taxes. |
@Included | Y | Boolean | Indicates if the taxes/commission/discount is included in the Price. |
Total | Y | - | Tax/commission/discount total value. |
./Total/@Base | Y | Double | Indicator of the base amount to which it applied. |
./Total/@Amount | Y | Double | Indicator of the amount obtained on the Base amount. The amount is calculated |
Commission | Y | - | Commission on tax. Only for taxes. |
./Commission/@Base | Y | Double | Commission base amount of the tax. |
./Commission/@Amount | Y | Double | Commission amount obtained on the commission Base amount. |
Object that shows the cancellation policies of a combination. We refer to this object as {CancellationPolicy}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@CurrencyCode | Y | String | Currency code of the cancellation policies. |
FirstDayCostCancellation | Y | Date | If available, this date indicates the moment when the booking would start incurring into cancellation costs. Please, note that sometimes this date cannot be calculated automatically. Format: yyyy-MM-dd |
./FirstDayCostCancellation/@Hour | Y | String | Indicates the time of the day referred by the FirstDateCostCancellation value. Format: hh:mm |
Description | Y | String | If available, some comments from the hotel or supplier are shown here |
PolicyRules | Y | - | Policy rules that describe the available cancellation policies. Take into account that they are not always returned. Should this happen, a plain text will be returned in the Description field. |
./PolicyRules/Rule | N | - | Specific rule. A PolicyRules may contain multiple Rule. |
./Rule/@From | Y | Integer | Optional attribute. Indicates the number of days before the check-in date |
./Rule/@To | Y | Integer | Optional attribute. Indicates the number of days before the check-in date (or after the confirmation date). |
./Rule/@DateFrom | Y | Date | Optional attribute. Indicates the date from which the rule applies. Format: yyyy-MM-dd |
./Rule/@DateFromHour | Y | String | Indicates the time of the day referred by the DateFrom value. Format: hh:mm |
./Rule/@StayLenghtFrom | Y | String | |
./Rule/@DateTo | Y | Date | Optional attribute. Indicates the date to which the rule applies. Format: yyyy-MM-dd |
./Rule/@DateToHour | Y | String | Indicates the time of the day referred by the DateTo value. Format: hh:mm |
./Rule/@Type | Y | String | The type of rule that will be used. • V - Before the check-in date. • R - After the booking confirmation date • S - No Show |
./Rule/@FixedPrice | Y | Double | Price value of the rule (in CurrencyCode). |
./Rule/@PercentPrice | Y | Double | Price percentage of the rule. |
./Rule/@Nights | Y | Integer | Number of nights of penalty. |
./Rule/@StayLengthFrom | Y | Integer | Indicates the stay length or number of nights from which the cancellation rule applies. |
./Rule/@StayLengthTo | Y | Integer | Indicates the stay length or number of nights to which the cancellation rule applies. If StayLenghtFrom is informed but StayLenghtTo is not, the rule applies to all bookings longer than StayLenghtFrom value. |
./Rule/@ApplicationTypeNights | Y | String | If we have any night type cancellation charge configuration, it will indicate how the price per night will be calculated. The possible night type values are: • Average - this is the average price of all nights • FirstNight - the price of first night Blank or empty field. If we don’t have night penalty |
Object that contains supplements and/or offer/promotions that apply to the combination. We refer to this object as: {AdditionalElements}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
AdditionalElements | Y | - | List of additional elements of the combination. There can either supplements and/or offer/promortions. |
./AdditionalElements/HotelSupplements | Y | - | List of supplements of the combination. |
./HotelSupplements/{HotelSupplement} | N | - | Hotel supplement item |
./AdditionalElements/HotelOffers | Y | - | List of promotion/offers of the combination. |
./HotelOffers/{HotelOffer} | N | - | Hotel promotion/offer item |
Object AdditionalElement {HotelSupplement}/{HotelOffer}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
AdditionalElement | Y | - | Additional element of the combination. Possible values: • HotelSupplement • OfferSupplement NOTE: It is important to note that the name of the node will be one of the above values, but that the type will be shared between all of them. |
./AdditionalElement/@Code | Y | String | Internal code of the additional element. It is important to note that this information will only be available on direct contracts. |
./AdditionalElement/@Class | Y | String | Additional element class. Values: SUPPLEMENT, PROMO. |
./AdditionalElement/@Type | Y | String | Additional element type code. Possible values: • M – Mandatory • O – Optional • R – Restriction (this is mainly informative) |
./AdditionalElement/@Category | Y | String | Additional element category. |
./AdditionalElement/@SpecialType | Y | String | Additional element special type. |
./AdditionalElement/@DirectPayment | Y | Boolean | Indicates if this element must be paid directly at the hotel (which indirectly means that it is not included on the combination total price). Its price is returned in @Amount. |
./AdditionalElement/@NonRefundable | Y | Boolean | Indicates if the element will have a cancellation penalty of the 100% from the deta on which the booking is confirmed. |
./AdditionalElement/@Optional | Y | Boolean | Indicates if the element will be optional. Only for supplements. |
./AdditionalElement/@Quantity | Y | Integer | Number of units of the element. |
./AdditionalElement/@Begin | Y | Date | Start date of the element. If empty, the element will apply to the entire data range of the combination. Format: yyyy-MM-dd |
./AdditionalElement/@End | Y | Date | End date of the element. If empty, the element will apply to the entire data range of the combination. Format: yyyy-MM-dd |
./AdditionalElement/@Amount | Y | Double | Price of the element. Available on direct payment, early booking promotions with payment conditions, etc... |
./AdditionalElement/@Currency | Y | String | Currency of the element |
./AdditionalElement/@RatePlanCode | Y | String | RatePlanCode that you will need to use in order to apply an optional supplement to the selected combination. Only for optional supplements. |
./AdditionalElement/@Duration | Y | Integer | Duration of the service. |
./AdditionalElement/@FirstDaySelected | Y | Integer | In some supplements, it is possible to set the first day that you wish for the mentioned to take effect (for example, let’s say that you have a bookng which includes a ticket to a themed park, given the availability of this propery, you would be able to select the day on which this ticket would apply). If available, the default value will stand for the date on which the supplement can first be applied until the end of the booking. |
./AdditionalElement/Name | Y | String | Additional element short name. |
./AdditionalElement/Description | Y | String | Additional element description. |
Object used to identify access conditions. We refer to this object labeled as: {AccessConditions}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Delete | Y | Boolean | If specified, the previously established access conditions will be deleted. Available on the modification of some requests. |
AccessCondition | Y | - | Specific access condition. |
./AccessCondition/@AllowAccess | N | Boolean | Indicates that that the access is allowed. |
./AccessCondition/Market | Y | - | Access conditions market information. |
./Market/@Code | Y | Integer | Market id of the access condition |
./Market/@Name | N | String | Market name |
./AccessCondition/AgencyGroup | Y | - | Access conditions agency group information. |
./AgencyGroup/@Code | Y | Integer | AgencyGroup id of the access condition |
./AgencyGroup/@Name | N | String | Agency Group name |
./AccessCondition/Customer | Y | - | Access conditions customer information. |
./Customer/@Code | Y | Integer | - |
./Customer/@Name | N | String | Customer name |
./AccessCondition/CountryGroup | Y | - | Access conditions country group information. |
./CountryGroup/@Code | Y | Integer | Country group id of the access condition |
./CountryGroup/@Name | N | String | Country group name |
./AccessCondition/Country | Y | - | Access conditions country information. |
./Country/@Code | Y | Integer | Country id of the access condition |
./Country/@Name | N | String | Country name |
Sends the list of currency exchange rates.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:GetCurrencyExchange>
<ns:CurrencyExchangeRQ Version="1.1" Language="en">
<ns:Login Email="noreply@ejuniper.com" Password="pass"/>
</ns:CurrencyExchangeRQ>
</ns:GetCurrencyExchange>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Currencies | Y | - | Currency contain |
./Currencies/Currency | N | - | Currency |
./Currency/@Code | N | String | Currency code |
./Currency/@BaseCurrency | N | String | Base currency code. This will be the base currency on which the exchenga rate will refer to. |
./Currency/@ExchangeRate | N | Double | Currency exchange rate |
./Currency/Name | N | String | Currency name |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetCurrencyExchangeResponse xmlns="http://www.juniper.es/webservice/2007/">
<CurrencyExchangeRS TimeStamp="2019-02-05T12:34:00.911703+01:00">
<Currencies>
<Currency Code="EUR" BaseCurrency="USD" ExchangeRate="1.14356871378627">
<Name>Euros</Name>
</Currency>
<Currency Code="GBP" BaseCurrency="USD" ExchangeRate="1.302861175892948">
<Name>Pounds</Name>
</Currency>
<Currency Code="RUB" BaseCurrency="USD" ExchangeRate="0.015249444695321525">
<Name>Rubles</Name>
</Currency>
<Currency Code="HKD" BaseCurrency="USD" ExchangeRate="0.12744479219906982">
<Name>Hong Kong Dollar</Name>
</Currency>
<Currency Code="BRL" BaseCurrency="USD" ExchangeRate="0.27262945694870339">
<Name>Brazilian Reals</Name>
</Currency>
<Currency Code="AED" BaseCurrency="USD" ExchangeRate="0.27229407760381213">
<Name>United Arab Emirates Dirhams</Name>
</Currency>
<Currency Code="SGD" BaseCurrency="USD" ExchangeRate="0.73905024514793638">
<Name>Singapore Dollars</Name>
</Currency>
<Currency Code="CNY" BaseCurrency="USD" ExchangeRate="0.1482513858053503">
<Name>China Yuan Renminbi</Name>
</Currency>
<Currency Code="QAR" BaseCurrency="USD" ExchangeRate="0.27472527472527469">
<Name>QAR</Name>
</Currency>
<Currency Code="TWD" BaseCurrency="USD" ExchangeRate="0.032470407609955829">
<Name>TWD</Name>
</Currency>
</Currencies>
</CurrencyExchangeRS>
</GetCurrencyExchangeResponse>
</soap:Body>
</soap:Envelope>
Retrieves the list of existing future fixed currency exchanges of a currency.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Currency | N | String | Currency code. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GetFutureFixedCurrencyExchange>
<FutureCurrencyExchangeRQ Version="1.1" Language="en">
<Login Email="noreply@ejuniper.com" Password="**********"/>
<Currency>EUR</Currency>
</FutureCurrencyExchangeRQ>
</GetFutureFixedCurrencyExchange>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | Y | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | Y | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
FutureFixedCurrencyExchanges | Y | - | List of future fixed currency exchanges- |
./FutureFixedCurrencyExchanges/@Currency | N | String | Currency of the future fixed currency exchanges. |
./FutureFixedCurrencyExchanges/FutureFixedCurrencyExchange | N | - | Specific future fixed currency exchange. |
./FutureFixedCurrencyExchange/@Id | N | Integer | Internal identifier of the future fixed currency exchange. |
./FutureFixedCurrencyExchange/DateFrom | N | Date | DateFrom value (yyyy-MM-dd) |
./FutureFixedCurrencyExchange/DateTo | N | Date | DateTo value (yyyy-MM-dd) |
./FutureFixedCurrencyExchange/Amount | N | Double | Future fixed currency exchange value |
./FutureFixedCurrencyExchange/SalesChannels | Y | - | Applicable sales channel. If empty applies to all of the exist sales channels. |
./SalesChannels/SalesChannel | Y | String | Sales channel name. |
./SalesChannel/@Code | N | String | Sales channel code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetFutureFixedCurrencyExchangeResponse xmlns = "http://www.juniper.es/webservice/2007/">
<GetFutureCurrencyExchangeRS TimeStamp = "2023-09-05T15:10:33.9442638+02:00">
<FutureFixedCurrencyExchanges Currency = "EUR">
<FutureFixedCurrencyExchange Id = "4">
<DateFrom>2021-10-12</DateFrom>
<DateTo>2021-10-12</DateTo>
<Amount>2.3</Amount>
<SalesChannels/>
</FutureFixedCurrencyExchange>
<FutureFixedCurrencyExchange Id = "5">
<DateFrom>2022-05-20</DateFrom>
<DateTo>2022-05-20</DateTo>
<Amount>2.3</Amount>
<SalesChannels/>
</FutureFixedCurrencyExchange>
<FutureFixedCurrencyExchange Id = "20">
<DateFrom>2023-09-05</DateFrom>
<DateTo>2023-09-05</DateTo>
<Amount>1.124</Amount>
<SalesChannels>
<SalesChannel Code = "Xml3">WebService 3 (Xml3)</SalesChannel>
</SalesChannels>
</FutureFixedCurrencyExchange>
</FutureFixedCurrencyExchanges>
</GetFutureCurrencyExchangeRS>
</GetFutureFixedCurrencyExchangeResponse>
</soap:Body>
</soap:Envelope>
It generates a future fixed currency exchange in the system. This functionality will insert an exchange rate by a fixed date range.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Currency | N | String | Currency code |
DateFrom | N | Date | Start date of the currency exchange. (yyyy-MM-dd) |
DateTo | N | Date | End date of the currency exchange. (yyyy-MM-dd) |
Amount | N | Double | Amount of the new exchange rate. |
SalesChannels | Y | - | Sales channel to which the currency exchange should apply. |
./SalesChannels/SalesChannel | N | - | Specific sales channel. |
./SalesChannel/@Code | N | String | Sales channel code. |
<soap:Envelope xmlns:soap = "http://www.w3.org/2003/05/soap-envelope" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soap:Header/>
<soap:Body>
<ns:CreateFutureFixedCurrencyExchange>
<ns:rq Version = "1.1" Language = "en">
<ns:Login Email = "userName" Password = "password"/>
<ns:Currency>EUR</ns:Currency>
<ns:DateFrom>2019-05-20</ns:DateFrom>
<ns:DateTo>2019-05-20</ns:DateTo>
<ns:Amount>2.3</ns:Amount>
</ns:rq>
</ns:CreateFutureFixedCurrencyExchange>
</soap:Body>
</soap:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Updated | N | String | Status of the update. Will indicate if the update was successful (true) or unsuccessful (false). |
<soap:Envelope xmlns:soap = "http://www.w3.org/2003/05/soap-envelope" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CreateFutureFixedCurrencyExchangeResponse xmlns = "http://www.juniper.es/webservice/2007/">
<JP_CurrencyGenerationRS Url = "http://suppliers.bookingengine.es" TimeStamp = "2018-12-20T11:06:39.1047229+01:00" IntCode = "Mtc6a+OP6lguYUUWr5d4udzm4ViEMaWCBaOWhPFDivA=">
<Updated>true</Updated>
</JP_CurrencyGenerationRS>
</CreateFutureFixedCurrencyExchangeResponse>
</soap:Body>
</soap:Envelope>
Modification of previously existing future fixed currency exchanges. This functionality will modify an exchange rate by a fixed date range.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
@Delete | Y | Boolean | Delete future fixed currency exchange. |
{Login} | N | - | Customer login to access the Web Service |
FutureFixedCurrencyExchanges | N | - | Request container. |
./FutureFixedCurrencyExchanges/@Currency | N | String | Currency code. |
./FutureFixedCurrencyExchanges/FutureFixedCurrencyExchange | N | Future fixed currency exchange to modify. | |
./FutureFixedCurrencyExchange/@Id | N | String | Id of the future fixed currency exchange to modify. |
./FutureFixedCurrencyExchange/DateFrom | N | Date | Start date of the currency exchange. (yyyy-MM-dd) |
./FutureFixedCurrencyExchange/DateTo | N | Date | End date of the currency exchange. (yyyy-MM-dd) |
./FutureFixedCurrencyExchange/Amount | N | Double | Amount of the new exchange rate. |
./FutureFixedCurrencyExchange/SalesChannels | Y | - | Sales channel to which the currency exchange should apply. If empty, it will apply to all sales channels. |
./SalesChannels/SalesChannel | N | - | Specific sales channel. |
./SalesChannel/@Code | N | String | Sales channel code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ModifyFutureFixedCurrencyExchange>
<ModifyFutureCurrencyExchange Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "**********"/>
<FutureFixedCurrencyExchanges Currency = "EUR">
<FutureFixedCurrencyExchange Id = "20">
<DateFrom>2023-09-06</DateFrom>
<DateTo>2023-09-07</DateTo>
<Amount>1.234</Amount>
<SalesChannels>
<SalesChannel Code = "Xmlt"/>
</SalesChannels>
</FutureFixedCurrencyExchange>
</FutureFixedCurrencyExchanges>
</ModifyFutureCurrencyExchange>
</ModifyFutureFixedCurrencyExchange>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Updated | N | Boolean | Status of the update. Will indicate if the update was successful (true) or unsuccessful (false). |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ModifyFutureFixedCurrencyExchangeResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ModifyFutureCurrencyExchangeRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2023-09-05T15:17:13.0403721+02:00" IntCode = "gu3tH+qyh+fTcdlgnCXxoEOaAtoZ2d4CWy9+P+f4Dss=">
<Updated>true</Updated>
</ModifyFutureCurrencyExchangeRS>
</ModifyFutureFixedCurrencyExchangeResponse>
</soap:Body>
</soap:Envelope>
Send the alternative payment method information associated to a booking locator
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
reservatorLocator | N | String | Booking Locator |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soap:Header/>
<soap:Body>
<GetReceipTypes>
<rq Version = "1.1" Language = "en">
<Login Password = "pass" Email = "user@mydomain.com"/>
<reservatorLocator>F81RRW</reservatorLocator>
</rq>
</GetReceipTypes>
</soap:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
AlternateReceiptType | Y | - | Alternative payment container. |
./AlternateReceiptType/Id | N | Integer | Alternative payment identifier |
./AlternateReceiptType/Name | N | String | Alternative payment name |
./AlternateReceiptType/Type | N | String | Alternative payment type |
./AlternateReceiptType/Fields | N | - | Additional fields container |
./Fields/Field | Y | - | Additional field container |
./Field/@Type | Y | Enum | Type of the field. Possible values: - Integer - String - Decimal - DateTime - Boolean - Enum - Unknown |
./Field/@Base | Y | Boolean | Indicate if the field belong to payment base |
./Field/Name | Y | String | Name of the field |
./Field/Value | Y | String | Value of the field |
./AlternateReceiptType/Accounts | Y | - | Alternative payment accounts. If available, it will only be possible to use one of the related accounts along with this alternative payment. |
./Accounts/Account | Y | - | Account. |
./Account/@Code | N | String | Account code. |
./Account/@Currency | N | String | Account currency. |
./Account/Name | Y | String | Account name. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soap:Body>
<GetReceipTypesResponse xmlns = "http://www.juniper.es/webservice/2007/">
<JP_ReceiptTypesRQ TimeStamp = "0001-01-01T00:00:00">
<AlternateReceiptType>
<Id>19</Id>
<Name>TESTCC</Name>
<Type>CRC</Type>
<Fields>
<Field Type = "Unknown" Base = "true">
<Name>TipoTarjeta</Name>
</Field>
<Field Type = "String" Base = "false">
<Name>lugar</Name>
</Field>
</Fields>
</AlternateReceiptType>
</JP_ReceiptTypesRQ>
</GetReceipTypesResponse>
</soap:Body>
</soapenv:Envelope>
With this request, you will be capable of retrieving all of the available payments as per the specified filters.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
Request | N | - | Container of all of the get payments request nodes. |
./Request/PaymentId | Y | Integer | Internal payment id. |
./Request/ExternalCode | Y | String | External payment code. This field will search for a unique and exact external code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GetPayments>
<GetPaymentsRQ Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<Request>
<PaymentId>1035</PaymentId>
</Request>
</GetPaymentsRQ>
</GetPayments>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Payments | N | - | List of available payments. |
./Payments/Payment | Y | - | Specific payment. |
./Payment/@Code | N | Integer | Payment internal code. |
./Payment/@ExternalCode | Y | String | Payment external code. |
./Payment/@Date | N | DateTime | Payment application date. |
./Payment/@PaymentType | N | Enum | Payment type. Possible values: • RES: Booking • FAC: Invoice • CUE: Account • DEV: Return • GTD: Guarantee • DEP: Deposit • TSP: Transfer • EBO: Early booking |
./Payment/@AccountCode | N | Integer | Payment account code. |
./Payment/Description | Y | String | Payment description. |
./Payment/Amount | Y | Double | Payment amount. |
./Amount/@Available | N | Double | Available amount. |
./Amount/@CurrencyCode | N | String | Amount currency code. |
./Payment/Customer | Y | - | Payment client information. |
./Customer/@Id | N | Integer | Payment client internal code. |
./Payment/Bookings | Y | - | Payment related bookings. |
./Bookings/Booking | Y | - | Specific booking. |
./Booking/@Locator | N | String | Booking locator. |
./Booking/@LineId | N | Integer | Booking line id. |
./Booking/@PaymentDate | N | DateTime | Payment application date. |
./Booking/Amount | N | Double | Payment amount. |
./Amount/@ExchangeRate | Y | Double | Amount exchange rate. |
./Amount/@CurrencyCode | N | String | Amount currency code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetPaymentsResponse xmlns = "http://www.juniper.es/webservice/2007/">
<GetPaymentsRS TimeStamp = "2020-02-25T12:50:56.7182976+01:00">
<Payments>
<Payment Code = "1035" Date = "2020-01-23T11:11:43.153" PaymentType = "RES" AccountCode = "8">
<Description>Payment description</Description>
<Amount Available = "0" CurrencyCode = "RUB">732.23</Amount>
<Customer Id = "280"/>
<Bookings>
<Booking Locator = "361XMC" LineId = "124346" PaymentDate = "2020-01-23T11:11:43.153">
<Amount ExchangeRate = "68.723660334859318" CurrencyCode = "RUB">732.23</Amount>
</Booking>
</Bookings>
</Payment>
</Payments>
</GetPaymentsRS>
</GetPaymentsResponse>
</soap:Body>
</soap:Envelope>
With this request, you will be capable of retrieving a TPV payment gateway URL.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
GetPaymentGatewayRequest | N | - | Container of all of the get payment gateway request nodes. |
./GetPaymentGatewayRequest/Bookings | N | - | Container of bookings for PaymentGatewayRequest. |
./Bookings/Booking | N | ||
./Booking/@Locator | N | String | Booking code |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GetPaymentGateway>
<GetPaymentGatewayRQ Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<GetPaymentGatewayRequest>
<Bookings>
<Booking Locator="BOOKING CODE"/>
</Bookings>
</GetPaymentGatewayRequest>
</GetPaymentGatewayRQ>
</GetPaymentGateway>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
GetPaymentGatewayResponse | N | - | |
./GetPaymentGatewayResponse/PaymentGateways | N | - | List of available payment gateways. |
./PaymentGateways/PaymentGateway | Y | - | Specific payment gateway. |
./PaymentGateway/@Locator | N | String | Booking code. |
./PaymentGateway/URL | N | String | Payment gateway URL. |
<soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema>
<soap:Body>
<GetPaymentGatewayResponse xmlns=http://www.juniper.es/webservice/2007/>
<GetPaymentGatewayRS Url="http://juniper-uat.bookingengine.es" TimeStamp="2022-12-15T13:00:20.7279445+01:00" IntCode="Pp+gU1n+8KhEGODXUVX3Xa/Fi64LEOEMbZU8LYHxFp0=">
<GetPaymentGatewayResponse>
<PaymentGateways>
<PaymentGateway Locator="1PZHSN">
<URL>juniper-uat.bookingengine.es/booking/pagareserva.aspx?idRes=185013%26cambiarpago=T%26callcenter=true%26AuthSignature=cmVxdWVzdC50WHRNSnFJbFFJMUs1NGFxRUM5bFZodEdJc3Y0aDMxY2tQQWtrd09vZW1lY2Z1ekcvUndGK3o3eE1wcWNLWkFHRjVWV3hlRzF6aTNBTmN6V0dHVzM5NWMwREVSMGU3SDREUllHbXBaWVdxVzBDenJQSVRMY3NjNVQ2WjdZMTFZUlg1b2xTNVBnVGx0K051Q3dDRnhuVml4NjBxUWFkY3VLZ1krLys2R0hxSFk9</URL>
</PaymentGateway>
</PaymentGateways>
</GetPaymentGatewayResponse>
</GetPaymentGatewayRS>
</GetPaymentGatewayResponse>
</soap:Body>
</soap:Envelope>
With this request, you will be capable of creating customer payments on the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
TransactionCode | Y | Integer | Deprecated but maintained due to compatibility purposes. |
ExternalCode | Y | String | Payment external code. Only allowed on systems that allow for external invoicing. |
AppDate | N | Date | Payment date. |
reservatorLocator | Y | String | Deprecated but maintained due to compatibility purposes. Unless doing a fictitious payment, use the Bookings node in its place. |
PaymentDescription | N | String | Payment description. |
MovDescription | Y | String | Bank transaction description. |
BranchOffice | Y | String | Name of the branch office from which the payment is performed. |
Amount | N | Double | Payment amount. The currency used will be the same as the one from the selected bank account. |
AccountCode | Y | Integer | Internal code of the bank account from the system that will be used in order to perform the payment. Required unless a preferred and/or default bank account is configured within the system and a matching Currency is specified within the request. It is very important to note that the selected bank account will define the currency of the payment. |
Currency | Y | String | Preferred account currency. Alternative field to the AccountCode that, if configured (as it requires for an internal configuration within the system), will look for the preferred account of the selected currency. If no preferred account is found, the system will instead attempt to perform the payment along with the default account from the system and, if no default account is configured within the system, the transaction will instead suply you with an error response (case on which you will need to perform the payment along an AccountCode). |
Customer | N | - | Payment customer. |
./Customer/@Id | N | Integer | Payment customer id. |
Fictitious | Y | Boolean | Indicates if the payment will be an alternative one. If specified, sending custom fields through the ReceiptType node will be required. |
ReceiptType | Y | - | Custom payment fields. Its use will require a module to have been activated on the system. Through the use of the GetReceipTypes request, you will be able to retrieve all of the available receipt types of a reservation. |
./ReceiptType/Id | N | Integer | Alternative payment identifier |
./ReceiptType/Name | N | String | Alternative payment name |
./ReceiptType/Type | N | String | Alternative payment type |
./ReceiptType/Fields | N | - | Additional fields container. Note that even if the selected alternative payment type does not have any kind of additional field you will have to set this node as empty. |
./Fields/Field | Y | - | Additional field container |
./Field/@Type | Y | Enum | Type of the field. Possible values: • Integer • String • Decimal • DateTime • Boolean • Enum • Unknown |
./Field/@Base | Y | Boolean | Indicate if the field belong to payment base |
./Field/Name | Y | String | Name of the field |
./Field/Value | Y | String | Value of the field |
Loyalty | Y | Boolean | Indicates if it will be a loyalty payment. If established, it will be necessary to comply with the loyalty information that's found inside of the Booking node. |
PaymentType | Y | Enum | Payment type. Possible values: • CUE: Credits/Account (Default value) • RES: Booking • DEV: Refund |
Bookings | Y | - | List of affected bookings. Multiple bookings from the same exact customer may be specified. Optional on credits (CUE) payments. |
./Bookings/Booking | N | - | Specific booking. |
./Booking/@Locator | N | String | Booking locator. |
./Booking/@ApplicationDate | N | Date | Booking payment application date. |
./Booking/Items | Y | - | List of affected items. If not specified, the payment will apply to all of the booking. |
./Items/Item | N | - | Specific item. |
./Item/@Id | N | Integer | Item id. |
./Booking/Loyalty | Y | - | Loyalty payment information, will be neccesary on loyalty payments. |
./Loyalty/Reference | Y | String | Loyalty payment reference. |
./Loyalty/Amount | Y | Double | Loyalty payment amount. |
./Booking/Amount | N | Double | Booking payment amount. It will need to be consistent with that of the payment amount. |
./Booking/Currency | Y | String | Booking payment amount currency. Optional field on which: • If included, it will be used in order to convert the specified amount on the specified currency to the currency of selected account (for example, if you set 100 USD here while the selected account is on RUB, the system will conver those 100 USD to RUB and save them accordingly). • If not included, the system will assume that the specified amount is on the same currency as that of the selected account. |
./Booking/ExchangeRate | Y | Double | Booking payment exchange rate. Optional field used for the conversion between the account currency and the booking line currency (as it is important to note that, if you set a Currency on this same request, the conversion between the specified currency and the account currency will be done along with the exchange rate saved on the system). |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CreatePayment>
<rq Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<Amount>100</Amount>
<AppDate>2020-01-09</AppDate>
<PaymentDescription>Payment description</PaymentDescription>
<AccountCode>8</AccountCode>
<Customer Id = "280"/>
<PaymentType>CUE</PaymentType>
</rq>
</CreatePayment>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CreatePayment>
<rq Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<Amount>100</Amount>
<AppDate>2020-01-09</AppDate>
<PaymentDescription>Payment description</PaymentDescription>
<AccountCode>8</AccountCode>
<Customer Id = "280"/>
<PaymentType>RES</PaymentType>
<Bookings>
<Booking Locator = "361XMC" ApplicationDate = "2020-01-09">
<Items>
<Item Id = "124346"/>
</Items>
<Amount>100</Amount>
</Booking>
</Bookings>
</rq>
</CreatePayment>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CreatePayment>
<rq Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<TransactionCode>131512</TransactionCode>
<MovDescription>Movement description</MovDescription>
<BranchOffice>OfficeName</BranchOffice>
<Amount>1500</Amount>
<AppDate>2019-09-21</AppDate>
<reservatorLocator>GSO3YK</reservatorLocator>
<PaymentDescription>Payment description</PaymentDescription>
<AccountCode>7</AccountCode>
<Fictitious>true</Fictitious>
<ReceiptType>
<Id>19</Id>
<Name>TESTCC</Name>
<Type>CRC</Type>
<Fields>
<Field Type = "Unknown" Base = "true">
<Name>TipoTarjeta</Name>
<Value>Credito</Value>
</Field>
<Field Type = "String" Base = "false">
<Name>lugar</Name>
<Value>Palma</Value>
</Field>
</Fields>
</ReceiptType>
</rq>
</CreatePayment>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CreatePayment>
<rq Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<AppDate>2022-05-05</AppDate>
<PaymentDescription>Payment description</PaymentDescription>
<AccountCode>8</AccountCode>
<Customer Id = "467"/>
<Loyalty>true</Loyalty>
<PaymentType>RES</PaymentType>
<Bookings>
<Booking Locator = "GSO3YK" ApplicationDate = "2022-05-05">
<Items>
<Item Id = "7100198"/>
<Item Id = "7100199"/>
</Items>
<Loyalty>
<Reference>LOYALTYPAYMENTREFERENCE</Reference>
<Amount>50000</Amount>
</Loyalty>
</Booking>
</Bookings>
</rq>
</CreatePayment>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
PaymentCode | N | String | Deprecated but maintained due to compatibility purposes. Refer to the Payments node in its place. |
Amount | N | Double | Amount |
./Amount/@Applied | N | Double | Applied amount |
./Amount/@CurrencyCode | N | Double | Amount currency code. For clarification, PUN will represent a loyalty payment. |
Payments | N | - | Payment information. When applicable, may contain multiple payment codes. |
./Payments/Payment | Y | - | Specific payment. |
./Payment/@Code | N | Integer | Payment code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CreatePaymentResponse xmlns = "http://www.juniper.es/webservice/2007/">
<JP_PaymentGenerationRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-05-24T09:32:38.3633979+01:00" IntCode = "JQfm62IKmyjy3EHKYDjPJDChGwSEnrvRJqIc6gVTs44=">
<PaymentCode>5394</PaymentCode>
<Amount Applied = "406.61" CurrencyCode = "EUR">1000</Amount>
<Payments>
<Payment Code = "5394"/>
</Payments>
</JP_PaymentGenerationRS>
</CreatePaymentResponse>
</soap:Body>
</soap:Envelope>
Transaction meant to modify payments. Currently, if is only possible to modify fictitious payments.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
Payments | N | - | List of payments to modify. |
./Payments/Payment | N | - | Specific payment. |
./Payment/@FictitiousId | Y | Integer | Fictitious payment id. |
./Payment/@Id | Y | Integer | Payment id. NOT IMPLEMENTED: Currently, only fictitious payments can be modified. |
./Payment/Fictitious | Y | - | Fictitious payment actions. |
./Fictitious/@Action | N | String | Specific action to perform. Possible values: • NOVERIFY • VERIFY • DISCARD |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ModifyPayment>
<ModifyPaymentRQ Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<Payments>
<Payment FictitiousId = "9" Id = "123">
<Fictitious Action = "VERIFY"/>
</Payment>
</Payments>
</ModifyPaymentRQ>
</ModifyPayment>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Payments | Y | - | List of payments that have been modified. |
./Payments/Payment | N | - | Specific payment. |
./Payment/@Id | N | Integer | Payment id. |
./Payment/@FictitiousId | N | Integer | Fictitious payment id. |
./Payment/@Status | N | String | Payment action that has been performed. Possible values: • NOVERIFY • VERIFY • DISCARD |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ModifyPaymentResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ModifyPaymentRS TimeStamp = "2021-03-31T14:24:58.2603255+02:00">
<Payments>
<Payment Id = "1105" FictitiousId = "9" Status = "VERIFY"/>
</Payments>
</ModifyPaymentRS>
</ModifyPaymentResponse>
</soap:Body>
</soap:Envelope>
With this request, you will be capable of deleting payments on the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
DeletePaymentRequest | N | - | Container of all of the delete payment request nodes. |
./DeletePaymentRequest/Payments | N | - | List of payments. Currently only one payment may be deleted at once. |
./Payments/Payment | N | - | Specific payment to delete. |
./Payment/@Code | Y | Integer | Payment internal code. It is optional as you may either use the @Code or the @ExternalCode. |
./Payment/@ExternalCode | Y | String | Payment external code. It is optional as you may either use the @Code or the @ExternalCode. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<DeletePayment>
<DeletePaymentRQ Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<DeletePaymentRequest>
<Payments>
<Payment Code = "479832"/>
</Payments>
</DeletePaymentRequest>
</DeletePaymentRQ>
</DeletePayment>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Success | N | Boolean | Indicates if the deletion has been successful or not. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<DeletePaymentResponse xmlns = "http://www.juniper.es/webservice/2007/">
<DeletePaymentRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-02-20T15:12:29.8976878+01:00" IntCode = "jv9pVRPrSp2+aWTZ5yi1UXhNiBjsT/F85t1iOfOWWy4=">
<Success>true</Success>
</DeletePaymentRS>
</DeletePaymentResponse>
</soap:Body>
</soap:Envelope>
With this request, you will be capable of invoicing bookings. As of the moment, only external invoincing is available (which requires for the appropiate modules to be contracted, kindly contact with your project manager for more information in this regard). If you attempt to use the transaction without the proper configuration, the API will supply you with a NO_CONFIGURED error response.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
InvoiceBookingRequest | N | - | Container of all of the invoice booking request nodes. |
./InvoiceBookingRequest/Bookings | N | - | List of bookings to invoice. Up to 100 may be requested. |
./Bookings/Booking | N | - | Specific booking to invoice. |
./Booking/@Locator | N | String | Booking locator. |
./Booking/Items | Y | - | List of booking line items. If unavailable, any applicable action will be performed to all of the booking as a whole. |
./Items/Item | N | - | Specific booking line item. |
./Item/@Id | Integer | - | Booking line id. |
./Booking/ExternalInvoice | Y | - | Container of all of the nodes and properties related to external invoicing. |
./ExternalInvoice/@Action | Y | Enum | Action to be performed. Possible values: • Invoice |
./ExternalInvoice/@Date | Y | Date | Invoice date. Required when performing an Invoice @Action. |
./ExternalInvoice/@CustomerId | Y | Integer | Invoice customer id. Optional property that may be used when performing an Invoice @Action in order to specify the head office id (so that the invoice will be performed at the head office rathen than the branch office). |
./ExternalInvoice/URL | Y | String | Invoice URL. |
./ExternalInvoice/Reference | Y | String | Invoice reference number. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<InvoiceBooking>
<InvoiceBookingRQ Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<InvoiceBookingRequest>
<Bookings>
<Booking Locator = "QCBRDY">
<Items>
<Item Id = "19013529"/>
<Item Id = "19013445"/>
</Items>
<ExternalInvoice Action = "Invoice" Date = "2020-01-10" CustomerId = "13502">
<URL>http://www.randomendpoint.com/randominvoice.pdf</URL>
<Reference>TESTINVOICE</Reference>
</ExternalInvoice>
</Booking>
</Bookings>
</InvoiceBookingRequest>
</InvoiceBookingRQ>
</InvoiceBooking>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Bookings | N | - | List of invoiced bookings. |
./Bookings/Booking | Y | - | Specific booking. |
./Booking/@Locator | N | String | Booking locator. |
./Booking/ExternalInvoice | Y | - | Container of all of the nodes and properties related to external invoicing. |
./ExternalInvoice/@Invoiced | Y | Boolean | Specified is the booking has been labeled as externally invoiced. |
./ExternalInvoice/@Date | Y | Date | Invoice date. |
./ExternalInvoice/@CustomerId | Y | Integer | Invoice customer id. |
./ExternalInvoice/URL | Y | String | Invoice URL. |
./ExternalInvoice/Reference | Y | String | Invoice reference number. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<InvoiceBookingResponse xmlns = "http://www.juniper.es/webservice/2007/">
<InvoiceBookingRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-02-20T08:55:25.3125552+01:00" IntCode = "BwQh5Zu8FU8gyTTGmalJ+pghpg7iKQRn65584T4nzn0=">
<Warnings>
<Warning Code = "warnIncorrectBookingLine">
<Text>Booking line 19013445 is not in booking QCBRDY.</Text>
</Warning>
</Warnings>
<Bookings>
<Booking Locator = "QCBRDY">
<ExternalInvoice Invoiced = "True" Date = "10/01/2020" CustomerId = "13502">
<URL>http://www.randomendpoint.com/randominvoice.pdf</URL>
<Reference>TESTINVOICE</Reference>
</ExternalInvoice>
</Booking>
</Bookings>
</InvoiceBookingRS>
</InvoiceBookingResponse>
</soap:Body>
</soap:Envelope>
With this request, you will be able to establish the currency exchange of any of the currencies from your system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
SetCurrencyExchangeRequest | N | - | Container of all of the set currency exchange request nodes. |
./SetCurrencyExchangeRequest/@CurrencyCode | N | String | Currency code to which we will be modifying the exchange rate. |
./SetCurrencyExchangeRequest/Value | N | Double | Currency exchange value. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<SetCurrencyExchange>
<SetCurrencyExchangeRQ Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<SetCurrencyExchangeRequest CurrencyCode = "ARS">
<Value>128.328237397612</Value>
</SetCurrencyExchangeRequest>
</SetCurrencyExchangeRQ>
</SetCurrencyExchange>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SetCurrencyExchangeResponse xmlns = "http://www.juniper.es/webservice/2007/">
<SetCurrencyExchangeRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-08-10T12:40:39.6128958+02:00" IntCode = "u4sPwEfFEiwZ4116+yKLbwsZrbYqJ4ChwPUgwNl54v0="/>
</SetCurrencyExchangeResponse>
</soap:Body>
</soap:Envelope>
With this request, you will be capable of creating supplier payments on the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Administrator login to access the WebService. |
Payments | N | - | Payments container. |
./Payments/@PaymentType | N | Enum | Payment type. Possible values: • CUE: Account • RES: Booking |
./Payments/Payment | N | - | Specific payment. |
./Payment/@SupplierId | N | Integer | Supplier id to which the payment will be performed. |
./Payment/PaymentForm | Y | String | Payment form. Possible values: • CSH: Cash • CHK: Check • VCC: VCC • CNF: Confirming • PAG: Promissory note • BKT: Bank transfer • CRC: Credit card • MAO: Mail order • CHE: Electronic check • JOU: Journal |
./Payment/DueDate | N | Date | Due date. |
./Payment/AppDate | Y | Date | Application date. |
./Payment/Amount | N | Double | Payment amount. |
./Payment/Description | Y | string | Payment description. |
./Payment/InternalNotes | Y | string | Payment internal notes. |
./Payment/Reference | Y | string | Payment reference. |
./Payment/Currency | Y | string | Payment currency. |
./Payment/Items | Y | - | List of items. Required only on RES type payments. |
./Items/Item | N | - | Specific item. |
./Item/@Id | N | Integer | Item id. |
AccountCode | N | Integer | Account code on which the payment will be based. |
ExchangeRate | Y | Double | Exchange rate. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CreateSupplierPayment>
<CreateSupplierPaymentRQ Version = "1.1" Language = "en">
<Login Email = "noreply@ejuniper.com" Password = "pass"/>
<Payments PaymentType = "CUE">
<Payment SupplierId = "125">
<PaymentForm>CSH</PaymentForm>
<DueDate>2023-04-04</DueDate>
<AppDate>2023-04-04</AppDate>
<Amount>100</Amount>
<Description>Test Description</Description>
<InternalNotes>Internal notes</InternalNotes>
<Reference>Reference example</Reference>
<Currency>EUR</Currency>
</Payment>
</Payments>
<AccountCode>9</AccountCode>
<ExchangeRate>1</ExchangeRate>
</CreateSupplierPaymentRQ>
</CreateSupplierPayment>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Payments | Y | - | Payments. |
./Payments/Payment | N | - | Specific payment. |
./Payment/@Code | N | Integer | Specific payment code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CreateSupplierPaymentResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CreateSupplierPaymentRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2023-04-04T10:47:38.6088444+02:00" IntCode = "4jRUASpjb1aaDuXaG6au87JvdpnF/n6NVj2fQCeydo0=">
<Payments>
<Payment Code = "8"/>
</Payments>
</CreateSupplierPaymentRS>
</CreateSupplierPaymentResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to search bookings and booking lines through the specified filters.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
SearchRequest | N | - | - |
./SearchRequest/SearchItem | Y | - | Filters. |
./SearchItem/Suppliers | Y | - | Booking suppliers. |
./Suppliers/Supplier | Y | - | Limited to 3 suppliers. |
./Supplier/@Code | N | String | Supplier id. Some examples: • HBE • SGN |
./Supplier/@IntCode | Y | String | Supplier internal code. |
./SearchItem/Customers | Y | - | Booking customers. |
./Customers/Customer | Y | - | Limited to 3 customers. |
./Customer/@Code | N | Integer | Customer code. |
./SearchItem/Holder | Y | - | Holder filters. |
./Holder/BookingHolder | Y | - | Booking holder filters. |
./BookingHolder/Name | Y | String | Holder name. |
./BookingHolder/Surname | Y | String | Holder surname. |
./BookingHolder/Email | Y | String | Holder email. |
./BookingHolder/Document | Y | String | Holder document. |
./SearchItem/ReservationDate | Y | - | Date range in which the booking was made. |
./ReservationDate/@From | N | Date | Booking from date. |
./ReservationDate/@To | N | Date | Booking to date. |
./SearchItem/ModificationDate | Y | - | Date range in which the booking was modified. |
./ModificationDate/@From | N | DateTime | Modification from date. |
./ModificationDate/@To | N | DateTime | Modification to date. |
./SearchItem/Reviewed | Y | Boolean | Booking has been reviewed or not. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<SearchBooking>
<SearchBookingRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<SearchRequest>
<SearchItem>
<ModificationDate From = "2022-11-30T11:00:00" To = "2022-11-30T12:00:00"/>
</SearchItem>
</SearchRequest>
</SearchBookingRQ>
</SearchBooking>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Reservartions | N | - | - |
./Reservartions/Reservation | N | - | - |
./Reservation/@Locator | N | String | Booking code |
./Reservation/@Status | N | String | Booking status. Possible values: • Pag: Booking confirmed and paid • Con: Booking confirmed • Tar: Booking confirmed (if pending credit card charge) • Can or CaC: Booking cancelled • Ini, PRe or PDI: Booking on request • Eta: Credit card error • Quo: Quote |
./Reservation/Items | N | - | Items container |
./Items/Item | N | - | Booking line item. Possible values of the Item node: • HotelItem • ServiceItem • CruisesItem • FerryItem • PackageItem • QuotationItem • RentACarItem • InsuranceItem • SkiItem • SupplementItem • DepartureTransferItem • TrainItem • FlightItem • AdjustmentItem |
./Item/@ItemId | N | Integer | Item Identifier |
./Item/@Status | N | String | Item status. Some examples: • OK: Confirmed • CA: Cancelled |
./Item/@ReservationDate | N | DateTime | Reservation date |
./Item/@ModificationDate | N | DateTime | Modification date |
./Item/@DirectPayment | N | Boolean | Is direct payment |
./Item/ExternalInfo | N | - | External information. |
./ExternalInfo/Supplier | N | - | Supplier information |
./Supplier/@Code | N | String | Supplier code |
./Supplier/@IntCode | Y | String | Supplier internal code. |
./ExternalInfo/ExternalLocator | Y | String | External or supplier locator |
./ExternalInfo/ExternalCancelLocator | Y | String | External or supplier cancel locator |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SearchBookingResponse xmlns="http://www.juniper.es/webservice/2007/">
<SearchBookingRS Url="http://juniper-uat.bookingengine.es" TimeStamp="2019-11-29T15:44:11.9768061+01:00" IntCode="1+Q4pN2i8c4REGV21jiOF9n5DB6sAxLKfya6iqzA5sM=">
<Reservartions>
<Reservartion Locator="LHT8KG" Status="PAG">
<Items>
<FlightItem ItemId="141875" Status="OK" ReservationDate="2019-09-10T13:25:14" ModificationDate="2019-09-10T13:25:15" DirectPayment="false">
<ExternalInfo>
<Supplier Code="AMD" IntCode="58"/>
<ExternalLocator>LNC3NS</ExternalLocator>
</ExternalInfo>
</FlightItem>
<FlightItem ItemId="141876" Status="CA" ReservationDate="2019-09-10T13:25:14" ModificationDate="2019-09-10T13:47:28" DirectPayment="false">
<ExternalInfo>
<Supplier Code="AMD" IntCode="58"/>
<ExternalLocator>LNCI3Z</ExternalLocator>
</ExternalInfo>
</FlightItem>
</Items>
</Reservartion>
<Reservartion Locator="6TLK3C" Status="CAN">
<Items>
<ServiceItem ItemId="141880" Status="CA" ReservationDate="2019-09-10T14:18:28" ModificationDate="2019-09-10T14:18:29" DirectPayment="false">
<ExternalInfo>
<Supplier Code="TRS" IntCode="58"/>
</ExternalInfo>
</ServiceItem>
</Items>
</Reservartion>
<Reservartion Locator="R2DTGW" Status="CAC">
<Items>
<HotelItem ItemId="141925" Status="CA" ReservationDate="2019-09-10T20:16:06" ModificationDate="2019-09-10T20:25:43" DirectPayment="false">
<ExternalInfo>
<Supplier Code="HB2" IntCode="59"/>
<ExternalLocator>235-5265390</ExternalLocator>
<ExternalCancelLocator>FPQZL7HSM6</ExternalCancelLocator>
</ExternalInfo>
</HotelItem>
</Items>
</Reservartion>
</Reservartions>
</SearchBookingRS>
</SearchBookingResponse>
</soap:Body>
</soap:Envelope>
Transaction that allows for the retrieval of detailed information of a reservation, following its reference code.
At the moment, it is only possible to retrieve “HBE” accomodations and “SGN” services.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ReadRequest | N | - | - |
./ReadRequest/Reservation | Y | - | Limited to 5 bookings. |
./Reservation/@Locator | Y | String | Booking reference code. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ReadBooking>
<ReadRQ Version="1.1" Language="en">
<Login Password="pass" Email="user@mydomain.com"/>
<ReadRequest>
<Reservations>
<Reservation Locator="LOC"/>
<Reservation Locator="LOC2"/>
<Reservation Locator="LOC5"/>
</Reservations>
</ReadRequest>
</ReadRQ>
</ReadBooking>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Reservations | Y | - | List of reservations. |
./Reservations/Reservation | N | - | Specific reservation. |
./Reservation/@Locator | N | String | Booking code |
./Reservation/@Status | N | String | Booking status. Possible values: • Pag: Booking confirmed and paid • Con: Booking confirmed • Tar: Booking confirmed (if pending credit card charge) • Can or CaC: Booking cancelled • Ini, PRe or PDI: Booking on request • Eta: Credit card error • Quo: Quote |
./Reservation/Holder | N | - | Booking holder Indicate which passenger from the Paxes node is the booking holder. It may not match with one of the booking passengers. |
./Holder/RelPax | N | - | - |
./RelPax/@IdPax | N | Integer | Passenger identifier. |
./Reservation/{Paxes} | N | - | Passengers and booking holder. |
./Reservation/Comments | Y | - | Booking comments |
./Comments/Comment | Y | String | Text |
./Comment/@Type | Y | String | Possible values: - RES |
./Reservation/Items | N | Contains one or more elements | |
./Items/{HotelItem} | N | - | Identifies a hotel element. |
./Items/{ServiceItem} | N | - | Identifies a service element. |
Stands for a specific hotel booking line from within a booking. We refer to this object as {HotelItem}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
HotelItem | N | - | Identifies a hotel element |
./HotelItem/@Start | N | String | Booking start date. |
./HotelItem/@End | N | String | Booking end date. |
./HotelItem/@ItemId | N | String | Item identifier |
./HotelItem/@Status | N | String | Item status. Possible values are: • OK or AV: Available • RQ: On request • CA: Cancelled • SO: SoldOut • RP: Replaced • UN: Unknown |
./HotelItem/@ReservationDate | N | String | Reservation date. |
./HotelItem/@ModificationDate | N | String | Modification date. |
./HotelItem/ExternalInfo | Y | - | External information. |
./ExternalInfo/Supplier | Y | - | Supplier information |
./Supplier/@Code | Y | String | Supplier code. Possible values: • HBE |
./Supplier/@IntCode | Y | String | Supplier internal code. |
./ExternalInfo/ExternalLocator | Y | String | External or supplier locator |
./ExternalInfo/ExternalCancelLocator | Y | String | External or supplier cancellation locator |
./HotelItem/{Prices} | N | - | Item prices or combination. |
./HotelItem/Charges | Y | - | Charge information. |
./Charges/@TotalCharged | N | Double | Amount charged. |
./Charges/Charge | Y | - | Info charges. |
./Charge/@Amount | Y | Double | Charge amount. |
./Charge/Reference | Y | String | |
./Charge/ChargeDate | Y | Date | Charge date. |
./Charge/ApplicationDate | Y | Date | Application date. |
./HotelItem/CancellationPolicies | Y | - | Cancellation policies. |
./CancellationPolicies/{CancellationPolicy} | Y | - | Cancellation policy. |
./HotelItem/Comments | Y | - | Item or hotel comments |
./Comments/Comment | N | String | Text |
./Comment/@Type | Y | String | Possible values: • HOT: Bookings from the hotel or supplier • ELE: Booking line comments |
./HotelItem/HotelInfo | N | String | Hotel basic information |
./HotelInfo/@Code | N | String | Hotel code |
./HotelInfo/@JPCode | N | String | Hotel JPCode. Informative value subjected to a special configuration. |
./HotelInfo/@ExternalCode | N | String | Hotel external code |
./HotelInfo/Name | N | String | Hotel name |
./HotelInfo/Description | Y | String | Hotel description |
./HotelInfo/HotelCategory | Y | String | Hotel category |
./HotelCategory/@Type | Y | String | Hotel category type |
./HotelInfo/Address | Y | String | Address |
./HotelInfo/ChildrenAges | Y | String | Children age container |
./ChildrenAges/ChildrenAgeFrom | Y | String | Children age from |
./ChildrenAges/ChildrenAgeTo | Y | String | Children age to |
./HotelItem/Board | N | - | Item board type |
./Board/@Type | N | String | Board type code |
./HotelItem/HotelRooms | N | - | Item room list container |
./HotelRooms/HotelRoom | N | - | Room |
./HotelRoom/@Code | N | String | Room code |
./HotelRoom/@ExternalCode | Y | String | Room external code |
./HotelRoom/@Source | Y | String | Source |
./HotelRoom/Name | Y | String | Room name |
./HotelRoom/Description | Y | String | Room description |
./HotelRoom/RoomCategory | Y | - | Room category |
./RoomCategory/@Type | Y | - | Room category type |
./HotelRoom/RelPaxes | N | - | Room passengers. |
./RelPaxes/RelPax | N | - | - |
./RelPax/@IdPax | N | Integer | Passenger identifier. It should match with a Pax@IdPax |
./HotelItem/{AdditionalElements} | Y | - | HotelItem additional elements. Here, you will be able to find any applicable supplement and offers. |
./HotelItem/HotelContracts | N | - | Item contract container |
./HotelContracts/HotelContract | N | - | Contract |
./HotelContract/@Code | N | String | Contract code |
./HotelContract/@ExternalCode | Y | String | Contract external code |
./HotelContract/Name | Y | String | Contract name |
Stands for a specific ticket booking line from within a booking. We refer to this object as {ServiceItem}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
ServiceItem | N | - | Identifies a service element. |
./ServiceItem/@Start | N | String | Booking start date. |
./ServiceItem/@End | N | String | Booking end date. |
./ServiceItem/@ItemId | N | String | Item identifier |
./ServiceItem/@Status | N | String | Item status. Possible values are: • OK or AV: Available • RQ: On request • CA: Cancelled • SO: SoldOut • RP: Replaced • UN: Unknown |
./ServiceItem/@ReservationDate | N | String | Reservation date. |
./ServiceItem/@ModificationDate | N | String | Modification date. |
./ServiceItem/ExternalInfo | Y | - | External information. |
./ExternalInfo/Supplier | Y | - | Supplier information |
./Supplier/@Code | Y | String | Supplier code. Possible values: • SGN |
./Supplier/@IntCode | Y | String | Supplier internal code. |
./ExternalInfo/ExternalLocator | Y | String | External or supplier locator |
./ExternalInfo/ExternalCancelLocator | Y | String | External or supplier cancellation locator |
./ServiceItem/{Prices} | N | - | Item prices or combination. |
./ServiceItem/CancellationPolicies | Y | - | Cancellation policies. |
./CancellationPolicies/{CancellationPolicy} | Y | - | Cancellation policy. |
./ServiceItem/Comments | Y | - | Item comments |
./Comments/Comment | N | String | Text |
./Comment/@Type | Y | String | Possible values: • ELE: Booking line comments |
ServicelInfo | N | String | Service basic information |
./ServicelInfo/@Code | N | String | Service code |
./ServicelInfo/Name | N | String | Service name |
./ServicelInfo/Description | Y | String | Service description |
./ServicelInfo/ServiceOption | N | - | Service selected option |
./ServiceOption/@Duration | Y | String | Service duration |
./ServiceOption/Name | N | String | Service option name |
./ServiceOption/Description | Y | String | Service option description |
./ServiceOption/ExportCodes | Y | - | Export codes |
./ExportCodes/@AdultCode | Y | String | Adult export code |
./ExportCodes/@SeniorCode | Y | String | Senior export code |
./ExportCodes/@ChildCode1 | Y | String | Firt child export code |
./ExportCodes/@ChildCode2 | Y | String | Second chield export code |
./ServiceItem/RelPaxes | - | Service passengers. | |
./RelPaxes/RelPax | - | - | |
./RelPax/@IdPax | N | Integer | Passenger identifier. It should match with a Pax@IdPax |
./Reservation/Label | Y | Booking Label | |
./Label/@Id | N | Integer | Internal Control Code |
./Label/@Code | N | String | Identification Label Code |
./Label/@Name | N | String | Label name |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ReadBookingResponse>
<ReadBookingRS Url = "http://xml.bookingengine.es" TimeStamp = "2014-03-27T14:46:53.1806528+01:00" IntCode = "94jh/roh9zDudpWCYzkmKqQRrnyMoyVwSwk9F5lG8JI=">
<Reservations>
<Reservation Locator = "CSY243" Status = "OK">
<Holder>
<RelPax IdPax = "4"/>
</Holder>
<Paxes>
<Pax IdPax = "1">
<Name>Name A</Name>
<Surname>Surname A</Surname>
<Age>50</Age>
</Pax>
<Pax IdPax = "2">
<Name>Name B</Name>
<Surname>Surname B</Surname>
<Age>30</Age>
</Pax>
<Pax IdPax = "3">
<Name>Name C</Name>
<Surname>Surname C</Surname>
<Age>8</Age>
</Pax>
<Pax IdPax = "4">
<Age>40</Age>
<Name>Name D</Name>
<Surname>Surname D</Surname>
</Pax>
<Pax IdPax = "5">
<Name>Holder Name</Name>
<Surname>Holder Surname</Surname>
<Email>holder@yourdomain.com</Email>
<Document>22222222E</Document>
<Address>Address Holder 67</Address>
<City>Palma de Mallorca</City>
<Country>Spain</Country>
<PostalCode>5555</PostalCode>
<Nationality>ES</Nationality>
</Pax>
</Paxes>
<Comments>
<Comment type = "RES">Reservation comment</Comment>
</Comments>
<Items>
<HotelItem Start = "2014-08-20" End = "2014-08-22" ItemId = "46689" Status = "OK" ReservationDate = "2014-03-27T14:44:25.23" ModificationDate = "2013-03-27T14:49:23.487" DirectPayment = "false">
<ExternalInfo>
<Supplier Code = "HBE" IntCode = "111">
<Name>Supplier Test</Name>
</Supplier>
</ExternalInfo>
<Prices>
<Price Currency = "USD">
<TotalFixAmounts Gross = "353.65" Nett = "353.65">
<Service Amount = "321.5"/>
<ServiceTaxes Included = "true" Amount = "32.15"/>
<Commissions Included = "true" Amount = "0"/>
<HandlingFees Included = "true" Amount = "0"/>
<Discount Amount = "-0"/>
</TotalFixAmounts>
</Price>
</Prices>
<Charges TotalCharged = "85">
<Charge Amount = "45"/>
<Reference>charge 1</Reference>
<ChargeDate>2017-09-18</ChargeDate>
<ApplicationDate>2017-09-18</ApplicationDate>
<Charge/>
<Charge Amount = "40"/>
<Reference>charge 2</Reference>
<ChargeDate>2017-09-18</ChargeDate>
<ApplicationDate>2017-09-18</ApplicationDate>
<Charge/>
</Charges>
<CancellationPolicy CurrencyCode = "USD">
<FirstDayCostCancellation Hour = "12:00">2014-08-16</FirstDayCostCancellation>
<Description>*** 4 DAYS O MORE THAN 4 DAYS BEFORE ARRIVAL: NO CHARGES *** BETWEEN 3 AND 0 DAYS BEFORE: 3 EUROS *** NO SHOW: 100 %</Description>
<PolicyRules>
<Rule From = "0" To = "3" DateFrom = "2014-08-16" DateFromHour = "12:00" DateTo = "2014-08-20" DateToHour = "12:00" Type = "V" FixedPrice = "3" PercentPrice = "0" Nights = "0"/>
<Rule From = "4" DateFrom = "2014-03-27" DateFromHour = "14:46" DateTo = "2014-08-16" DateToHour = "12:00" Type = "V" FixedPrice = "0" PercentPrice = "0" Nights = "0"/>
<Rule DateFrom = "2014-08-20" DateFromHour = "12:00" Type = "S" FixedPrice = "0" PercentPrice = "100" Nights = "0"/>
</PolicyRules>
</CancellationPolicy>
<Comments>
<Comment type = "ELE">Reservation line comment</Comment>
</Comments>
<HotelInfo Code = "123" JPCode = "JP123456" ExternalCode = "EXT123">
<Name>Hotel Test</Name>
<Description>Testcription</Description>
<HotelCategory Type = "18">1 1/2 Stars</HotelCategory>
<Address>c/tap</Address>
</HotelInfo>
<Board Type = "AD">Bed&Breakfast</Board>
<HotelRooms>
<HotelRoom>
<Name>Double Room</Name>
<RoomCategory Type = "1">Double Room</RoomCategory>
<RelPaxes>
<RelPax IdPax = "1"/>
</RelPaxes>
</HotelRoom>
<HotelRoom>
<Name>Double Room</Name>
<RoomCategory Type = "1">Double Room</RoomCategory>
<RelPaxes>
<RelPax IdPax = "2"/>
<RelPax IdPax = "3"/>
</RelPaxes>
</HotelRoom>
</HotelRooms>
<AdditionalElements>
<HotelSupplements>
<HotelSupplement>
<Name>Basic Discount 10%</Name>
</HotelSupplement>
</HotelSupplements>
</AdditionalElements>
<HotelContracts>
<HotelContract Code = "321" ExternalCode = "EXT321">
<Name>Contract Test</Name>
</HotelContract>
</HotelContracts>
</HotelItem>
<ServiceItem Start = "2014-08-20" End = "2014-08-22" ItemId = "462339" Status = "OK" ReservationDate = "2014-03-27T14:44:25.23" ModificationDate = "2013-03-27T14:49:23.487" DirectPayment = "false">
<ExternalInfo>
<Supplier Code = "SGN" IntCode = "111">
<Name>Supplier Test</Name>
</Supplier>
<ExternalLocator>EXTLOC</ExternalLocator>
</ExternalInfo>
<Prices>
<Price Currency = "USD">
<TotalFixAmounts Gross = "55" Nett = "55">
<Service Amount = "23.4"/>
<ServiceTaxes Included = "true" Amount = "11.58"/>
<Commissions Included = "true" Amount = "0"/>
<HandlingFees Included = "true" Amount = "0"/>
<Discount Amount = "-0"/>
</TotalFixAmounts>
</Price>
</Prices>
<Comments>
<Comment Type = "ELE">Service comment</Comment>
</Comments>
<ServiceInfo Code = "456">
<Name>Service Test</Name>
<Description>Testcription</Description>
</ServiceInfo>
<ServiceOption Duration = "2">
<Name>Opt1</Name>
<ExportCodes AdultCode = "ADTc" SeniorCode = "SENc" ChildCode1 = "CHD1c" ChildCode2 = "CHD2c"/>
</ServiceOption>
<RelPaxes>
<RelPax IdPax = "2"/>
<RelPax IdPax = "3"/>
</RelPaxes>
</ServiceItem>
</Items>
<Label Id = "55" Code = "8CD" Name = "Label1"/>
</Reservation>
</Reservations>
</ReadBookingRS>
</ReadBookingResponse>
</soapenv:Body>
</soapenv:Envelope>
This petition allows you to modify some elements of a booking.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ModifyRequest | N | - | Modify request container. |
./ModifyRequest/Reservation | N | - | Specific reservation. Up to 5 reservations may be specified. |
./Reservation/@Locator | N | String | Booking code. |
./Reservation/Items | Y | - | Booking line container. |
./Items/Item | Y | - | Specific booking line. |
./Item/@ItemId | Y | String | Item identifier |
./Item/ExternalInfo | Y | - | External information. |
./ExternalInfo/ExternalLocator | Y | String | External or supplier locator |
./ExternalInfo/ExternalCancelLocator | Y | String | External or supplier cancellation locator |
./Item/Reviewed | Y | Boolean | Mark the booking as reviewed. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ModifyBooking>
<ModifyBookingRQ Version="1.1" Language="en">
<Login Password="pass" Email="user@mydomain.com"/>
<ModifyRequest>
<Reservartion Locator="LOC">
<Items>
<Item ItemId="123">
<ExternalInfo>
<ExternalLocator>EXTLOC</ExternalLocator>
<ExternalCancelLocator>EXTCANLOC</ExternalCancelLocator>
</ExternalInfo>
</Item>
</Items>
</Reservartion>
</ModifyRequest>
</ModifyBookingRQ>
</ModifyBooking>
</soapenv:Body>
</soapenv:Envelope>
Returns the same information as the ReadBooking response for all the booking lines that have been specified.
This petition allows you to add messages on the booking history of the specified booking line.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Items | N | - | Contains one or more elements. At the moment, limited to 1. |
./Items/Item | N | - | - |
./Item/@ItemId | N | String | Item identifier |
./Item/Messages | N | - | Contains one or more elements. |
./Item/@Error | N | Boolean | Defines if the message is an error message. |
./@Error/Message | N | - | - |
./Message/@Language | N | String | Message language. Possible values: ES, EN. The message must be sent in both languages. |
./Message/Description | N | String | Message text. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:HistoryUpdateBooking>
<ns:HistoryUpdateBookingRQ Version="1.1" Language="en">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:Items>
<ns:Item ItemId="136332">
<ns:Messages Error="false">
<ns:Message Language="es">
<ns:Description>test es</ns:Description>
</ns:Message>
<ns:Message Language="en">
<ns:Description>test en</ns:Description>
</ns:Message>
</ns:Messages>
</ns:Item>
</ns:Items>
</ns:HistoryUpdateBookingRQ>
</ns:HistoryUpdateBooking>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Success | Y | - | Succesful update. |
Returns if the update has been succesfull (node <Success/>
) or if it has encountered any problem on the update (node <Errors>
)
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HistoryUpdateBookingResponse xmlns="http://www.juniper.es/webservice/2007/">
<HistoryUpdateBookingRS Url="http://xml.bookingengine.es" TimeStamp="2014-11-26T10:24:38.9940342+01:00" IntCode="bTxNCTd060xvoBczbrtfNjTe1C30o4aCKagn+K5DOWs=">
<Success/>
</HistoryUpdateBookingRS>
</HistoryUpdateBookingResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to create adjustment booking lines, to an already existing reservation.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
reservatorLocator | N | String | Locator of the booking to which this adjustment will be added to. |
AdjustDate | N | Date | Start date of the adjustment booking line. |
Nights | Y | Integer | Number of nights. If omitted, the adjustment will be created with 0 on the nights filed. |
Zone | Y | Integer | Zone identificatory. If not specified, the first zone of the first already existing booking line will be used. |
Description | N | String | Adjustment description. |
Remarks | N | String | Adjustment remark. |
BasePrice | N | Double | Sales base price. |
HandlingFeeFix | Y | Double | HandlingFeeFix price. |
CommisionBasePrice | Y | Double | Commission base price. If specified, the commission will be calculated from this value. |
CommisionPercent | Y | Double | Commission percentage. |
CostBasePrice | N | Double | Cost base price |
TaxValue | Y | Double | Tax value. Depending on the tax type it will be used as a percentage or as a fixed value. |
TaxFixed | Y | Boolean | Indicates if the tax is a percentage or if it is fixed. |
TaxIncluded | Y | Boolean | Indicates if the tax is included on the price. |
TaxType | Y | String | Indicates the tax application type. Possible values: COST: Only applies to the cost price SELL: Only applies to the sales price. SELLCOST: Applies to both the cost and the sales price. |
TaxSpecial | Y | Boolean | Indicates if the tax is special. |
Adults | Y | Integer | Adjustment adult number. |
Childs | Y | Integer | Adjustment children number. |
Infants | Y | Integer | Adjustment infant number. |
CancellationCharge | Y | Double | Sales cancellation charges. |
CostCancellationCharge | Y | Double | Cost cancellation charges. |
ShowVoucher | Y | Boolean | Indicates if the adjustment will be included on the voucher. |
CostCurrency | Y | String | Cost currency. |
SellCurrency | Y | String | Sales currency. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:AddAdjustBooking>
<ns:AdjustRQ Version = "1" Language = "en">
<ns:Login Password = "123" Email = "osantos"/>
<ns:reservatorLocator>86FD9Y</ns:reservatorLocator>
<ns:AdjustDate>2018-04-17</ns:AdjustDate>
<ns:Nights>1</ns:Nights>
<ns:Zone>54813</ns:Zone>
<ns:Description>Ajuste pruebas</ns:Description>
<ns:Remarks>Comentarios</ns:Remarks>
<ns:BasePrice>100</ns:BasePrice>
<ns:HandlingFeeFix>0</ns:HandlingFeeFix>
<ns:CommisionBasePrice>0</ns:CommisionBasePrice>
<ns:CommisionPercent>0</ns:CommisionPercent>
<ns:CostBasePrice>50</ns:CostBasePrice>
<ns:TaxValue>5</ns:TaxValue>
<ns:TaxFixed>false</ns:TaxFixed>
<ns:TaxIncluded>false</ns:TaxIncluded>
<ns:TaxType>SELLCOST</ns:TaxType>
<ns:TaxSpecial>false</ns:TaxSpecial>
<ns:Adults>1</ns:Adults>
<ns:Childs>0</ns:Childs>
<ns:Infants>0</ns:Infants>
<ns:CancellationCharge>20</ns:CancellationCharge>
<ns:CostCancellationCharge>5</ns:CostCancellationCharge>
<ns:ShowVoucher>true</ns:ShowVoucher>
<ns:CostCurrency>USD</ns:CostCurrency>
<ns:SellCurrency>EUR</ns:SellCurrency>
</ns:AdjustRQ>
</ns:AddAdjustBooking>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
BookingLineID | N | String | Identification of the newly created adjustment booking line. |
Returns if the update has been succesfull (node <Success/>
) or if it has encountered any problem on the update (node <Errors>
)
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<AddAdjustBookingResponse xmlns = "http://www.juniper.es/webservice/2007/">
<AdjustBookingRS Url = "http://localhost" TimeStamp = "2018-04-17T09:29:54.7002838+02:00" IntCode = "Zke3tgsd9azv/8g63YHhwWOWGbXCPFmYTdd+zRCoSr4=">
<BookingLineID>177701</BookingLineID>
</AdjustBookingRS>
</AddAdjustBookingResponse>
</soap:Body>
</soap:Envelope>
This petition allows you the possibility to obtain all the booking labels values
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:ReadBookingLabel>
<ns:BookingLabelRQ Version = "1" Language = "en">
<ns:Login Password = "password" Email = "username"/>
</ns:BookingLabelRQ>
</ns:ReadBookingLabel>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
BookingLabels | N | - | List of booking labels |
./BookingLabels/BookingLabel | N | - | |
./BookingLabel/@Id | N | Integer | Internal Control Code |
./BookingLabel/@Code | N | String | Identification Label Code |
./BookingLabel/@Name | N | String | Label name |
Returns a list of available labels with Id, Code and name if the update has been succesfull or if it has encountered any problem (node <Errors>
)
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ReadBookingLabelResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ReadBookingLabelRS TimeStamp = "2018-08-22T09:48:54.0271528+02:00">
<BookingLabels>
<BookingLabel Id = "50" Code = "TST" Name = "Label1"/>
<BookingLabel Id = "54" Code = "TMA" Name = "Label2"/>
<BookingLabel Id = "56" Code = "TCA" Name = "Label3"/>
</BookingLabels>
</ReadBookingLabelRS>
</ReadBookingLabelResponse>
</soap:Body>
</soap:Envelope>
This petition allows you the possibility to set a Booking Label to a Booking
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Locator | N | String | Booking Locator |
IdLabel | N | Integer | Internal Control Code |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:SetBookingLabel>
<ns:BookingLabelRQ Version = "1" Language = "en">
<ns:Login Password = "password" Email = "username"/>
<ns:Locator>D5GZ44</ns:Locator>
<ns:IdLabel>55</ns:IdLabel>
</ns:BookingLabelRQ>
</ns:SetBookingLabel>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Success | N | Boolean | Indicates if the operation was successful |
Returns if the update has been succesfull (node <Success/>
) or if it has encountered any problem on the update (node <Errors>
)
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SetBookingLabelResponse xmlns = "http://www.juniper.es/webservice/2007/">
<SetBookingLabelRS TimeStamp = "2018-08-22T11:35:42.0091679+02:00">
<Success xsi:type = "xsd:boolean">true</Success>
</SetBookingLabelRS>
</SetBookingLabelResponse>
</soap:Body>
</soap:Envelope>
This petition allows you the possibility to cancel Booking.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | |
@Language | N | String | |
{Login} | N | - | |
CancelBookingRequest | N | - | |
./CancelBookingRequest/@Locator | N | String | Booking locator to cancel |
./CancelBookingRequest/Items | Y | - | Booking lines. Allows for the cancellation of specific booking lines from within the booking specified on @Locator, multiple booking lines may be cancelled at once and, in order to do so, it will be neccesary to specify multiple Item. |
./Items/Item | Y | - | Booking line |
./Item/@Id | N | Integer | Booking line id to cancel |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:CancelBooking>
<ns:CancelBookingRQ Version = "1" Language = "es">
<ns:Login Password = "password" Email = "username"/>
<ns:CancelBookingRequest Locator = "5WYB88"/>
</ns:CancelBookingRQ>
</ns:CancelBooking>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Reservations | N | - | Booking Cancelled |
./Reservations/Reservation | N | - | Information of cancel booking |
./Reservation/@Locator | N | String | Booking locator |
./Reservation/@Status | N | String | Booking status |
./Reservation/Items | Y | - | Booking lines |
./Items/Item | Y | - | Booking line item. Possible values of the Item node: • HotelItem • ServiceItem |
./Item/@ItemId | N | Integer | Item identifier |
./Item/@Status | N | String | Item status. Some examples: • OK: Confirmed • CA: Cancelled |
./Item/@ReservationDate | N | DateTime | Reservation date. |
./Item/@DirectPayment | N | Boolean | Is direct payment |
TransactionStatus | N | String | Transaction Status |
CancelCost | N | String | Cancel Cost |
CancelCostCurrency | N | String | Cancel Cost Currency |
Return the booking with the state after cancellation.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CancelBookingResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CancelBookingRS Url = "http://localhost" TimeStamp = "2019-10-01T09:15:50.8252759+02:00" IntCode = "FTwICgq32nAke7nc73ISeZkjvdrf3sSt9SIDHXJcAGY=">
<Reservations>
<Reservation Locator = "4PNRHZ" Status = "CAN"/>
</Reservations>
<TransactionStatus>Successful</TransactionStatus>
<CancelCost>0</CancelCost>
<CancelCostCurrency>EUR</CancelCostCurrency>
</CancelBookingRS>
</CancelBookingResponse>
</soap:Body>
</soap:Envelope>
This transaction allows you to create bookings with special price on the booking engine (functionality of the same name that you will be able to find on the callcenter).
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Customer | N | - | Customer under which the booking will be created. |
./Customer/@Id | N | Integer | Customer id. |
SalesChannel | N | - | Sales channel under which the booking will be created. |
./SalesChannel/@Code | N | String | Sales channel code. You can retrieve the list of existing sales channel from your system, by using the GenericCatalogueData request. |
Currency | N | - | Currency codes under which the booking will be created. |
./Currency/@Cost | N | String | Cost currency code. |
./Currency/@Sales | N | String | Sales currency code. |
{Paxes} | N | - | Passengers and booking holder. |
Currency | N | - | Currency codes under which the booking will be created. |
Holder | N | - | Booking holder. |
./Holder/RelPax | N | - | Holder passenger object |
./RelPax/@IdPax | N | Integer | Id representing the holder. Must select one of the ids that have been previuosly specified on the Paxes node. |
ExternalBookingReference | Y | String | External booking reference. Here you can establish your own booking reference, useful for booking conciliation purposes. |
ReservationLocator | Y | String | Booking locator. To be used if, rather than creating a new booking, you wish to add a new booking line to an already existing reservation. |
Comments | Y | - | Booking comment node. |
./Comments/Comment | N | String | Specific comment. |
./Comment/@Type | N | String | Comment type. Possible values: • RES: Booking comment • INT: Internal comment |
Elements | N | - | Booking element node. |
./Elements/HotelElement | N | - | Specific hotel booking. |
./HotelElement/RelPaxesDist | N | - | Passenger distribution. |
./RelPaxesDist/RelPaxDist | N | - | Room distribution. |
./RelPaxDist/RelPaxes | N | - | List of passengers. |
./RelPaxes/RelPax | N | - | Specific passenger. |
./RelPax/@IdPax | N | Integer | Id representing the passenger. Must select one of the ids that have been previuosly specified on the Paxes node. |
./HotelElement/Comments | Y | - | Booking line comments. |
./Comments/Comment | N | String | Specific comment. |
./Comment/@Type | N | String | Comment type. Possible values: • ELE: Booking line comment |
./HotelElement/HotelBookingInfo | N | - | Hotel booking information. |
./HotelBookingInfo/@Start | N | Date | Booking start date. |
./HotelBookingInfo/@End | N | Date | Booking end date. |
./HotelBookingInfo/@BookingGroup | Y | Boolean | Label the booking as a booking group. |
./HotelBookingInfo/@SendMailToSupplier | Y | Boolean | Send mail of the booking to the supplier. |
./HotelBookingInfo/Hotel | N | - | Booking hotel. |
./Hotel/@Code | N | Integer | Hotel internal code. You can retrieve the list of existing hotels from your system, by using the HotelList request. |
./HotelBookingInfo/BoardType | N | - | Booking board type. |
./BoardType/@Code | N | Integer | Board type internal code. You can retrieve the list of board types available for the selected hotel, by using the HotelDetail request. |
./HotelBookingInfo/RoomTypes | N | - | Booking room types. |
./RoomTypes/RoomType | N | - | Specific room type. |
./RoomType/@Code | N | Integer | Room internal code. You can retrieve the list of room types available for the selected hotel, by using the HotelDetail request. |
./RoomType/@Number | N | Integer | Number of rooms to book. |
./RoomType/@Adults | N | Integer | Number of adults that will take part on the room. |
./RoomType/@Children | N | Integer | Number of children that will take part on the room. |
./RoomType/Cost | N | - | Cost prices that will apply to the room. |
./Cost/@Room | N | Integer | Room price. |
./Cost/@Adult | N | Integer | Adult price. |
./Cost/@Additional | N | Integer | Additional adult price. |
./Cost/@FirstChild | N | Integer | First child price. |
./Cost/@AdditionalChildren | N | Integer | Additional children price. |
./RoomType/Sales | N | - | Sales prices that will apply to the room. |
./Sales/@Room | N | Integer | Room price. |
./Sales/@Adult | N | Integer | Adult price. |
./Sales/@Additional | N | Integer | Additional adult price. |
./Sales/@FirstChild | N | Integer | First child price. |
./Sales/@AdditionalChildren | N | Integer | Additional children price. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<SpecialPriceBooking>
<SpecialPriceBookingRQ Version="1.1" Language="en">
<Login Email="user@mydomain.com" Password="pass"/>
<Customer Id="280"/>
<SalesChannel Code="Xml "/>
<Currency Cost="EUR" Sales="EUR"/>
<Paxes>
<Pax IdPax="1">
<Name>Holder Name</Name>
<Surname>Holder Surname</Surname>
<Email>user@mydomain.com</Email>
<Age>30</Age>
</Pax>
<Pax IdPax="2">
<Name>Passenger Name</Name>
<Surname>Passenger Surname</Surname>
<Age>33</Age>
</Pax>
</Paxes>
<Holder>
<RelPax IdPax="1"/>
</Holder>
<ExternalBookingReference>EXTERNALBOOKINGREFERENCE123</ExternalBookingReference>
<Comments>
<Comment Type="RES">BOOKING REMARKS</Comment>
<Comment Type="INT">BOOKING INTERNAL REMARKS</Comment>
</Comments>
<Elements>
<HotelElement>
<RelPaxesDist>
<RelPaxDist>
<RelPaxes>
<RelPax IdPax="1"/>
<RelPax IdPax="2"/>
</RelPaxes>
</RelPaxDist>
</RelPaxesDist>
<Comments>
<Comment Type="ELE">BOOKING LINE REMARKS</Comment>
</Comments>
<HotelBookingInfo Start="2025-05-28" End="2025-05-29" BookingGroup="false" SendMailToSupplier="false">
<Hotel Code="125"/>
<BoardType Code="5"/>
<RoomTypes>
<RoomType Code="5" Number="1" Adults="2" Children="0">
<Cost Room="10" Adult="0" Additional="0" FirstChild="0" AdditionalChildren="0"/>
<Sales Room="20" Adult="0" Additional="0" FirstChild="0" AdditionalChildren="0"/>
</RoomType>
</RoomTypes>
</HotelBookingInfo>
</HotelElement>
</Elements>
</SpecialPriceBookingRQ>
</SpecialPriceBooking>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Reservations | Y | - | Bookings node container. |
./Reservations/Reservation | N | - | Booking created. |
./Reservation/@Locator | N | String | Booking locator. |
./Reservation/@Status | N | String | Booking status. Possible values: • PAG: Booking confirmed and paid • CON: Booking confirmed • CAN or CAC: Booking cancelled • PRE or PDI: Booking on request • QUO: Quotation |
./Reservation/@Language | N | String | Booking language. |
./Reservation/ExternalBookingReference | Y | String | External booking reference. |
./Reservation/Items | Y | - | Booking lines of the reservation. Optional node that will only be available when adding a new booking line to an already existing reservation through the use of the ReservationLocator for the retrieval of its booking reference. If you require further information on this reservation (such as the complete list of booking lines or its details), refer to the ReadBooking request. |
./Items/HotelItem | Y | - | Hotel booking line. |
./HotelItem/@Start | N | String | Booking start date. |
./HotelItem/@End | N | String | Booking end date. |
./HotelItem/@ItemId | N | String | Booking line reference. |
./HotelItem/@Status | N | String | Item status. Possible values are: • OK/AV: Available • RQ: On request • CA: Cancelled • SO: SoldOut • RP: Replaced • UN: Unknown |
./HotelItem/@ReservationDate | N | String | Reservation date. |
./HotelItem/@ModificationDate | N | String | Modification date. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SpecialPriceBookingResponse xmlns = "http://www.juniper.es/webservice/2007/">
<SpecialPriceBookingRS Url = "https://juniper-uat.bookingengine.es" TimeStamp = "2025-02-12T17:42:17.7942468+01:00" IntCode = "yZs5YlPJDTUEM13wuPr2k1a2QESTW5qYdAO1OFLUX7qJ3/3gQwUG1P29wTlZoi3G">
<Reservations>
<Reservation Locator = "823823" Status = "PAG" Language = "en">
<ExternalBookingReference>EXTERNALBOOKINGREFERENCE123</ExternalBookingReference>
</Reservation>
</Reservations>
</SpecialPriceBookingRS>
</SpecialPriceBookingResponse>
</soap:Body>
</soap:Envelope>
This transaction allows for the creation of final customers on the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
General | N | - | General information |
./General/Treatment | Y | String | Treatment |
./General/Name | N | String | Name |
./General/Surname | N | String | Surname |
./General/Password | N | String | Password |
./General/DateOfBirth | Y | Date | Date of birth. Format: yyyy-MM-dd |
./General/RegistrationDate | Y | Date | Registration date. Format: yyyy-MM-dd |
./General/DismissDate | Y | Date | Dismiss date. Format: yyyy-MM-dd |
./General/Remarks | Y | String | Remarks |
./General/DocumentNumber | Y | String | Document number |
./General/DocumentTypeCode | Y | Integer | Document type code. The list of possible codes will depend on the configuration from your system. For example: • 1: DNI |
./General/Company | Y | String | Company |
./General/CompanyName | Y | String | Company name |
./General/RelatedAgencyCode | Y | Integer | Related Agency Id |
./General/Active | N | Boolean | Active |
Contact | N | - | Contact information |
./Contact/Address | Y | String | Address |
./Contact/AddressNumber | Y | String | Address number |
./Contact/AddressBuilding | Y | String | Address building |
./Contact/PostalCode | Y | String | Postal code |
./Contact/City | Y | String | City |
./Contact/State | Y | String | State |
./Contact/Country | Y | String | Country |
./Contact/Nationality | Y | String | Nationality |
./Contact/PhoneNumber | Y | String | Phone number |
./Contact/MobilePhone | Y | String | Mobile phone number |
./Contact/Mail | N | String | Email. It is important to note that the system will not allow for repeated emails between different final customers. |
./Contact/Fax | Y | String | Fax |
./Contact/ContactPerson | Y | String | Contact person |
./Contact/SocialMediaContact | Y | String | Social media contact |
InvoicingDetails | Y | - | Invoicing information |
./InvoicingDetails/Address | Y | String | Address |
./InvoicingDetails/AddressNumber | Y | String | Address number |
./InvoicingDetails/AddressBuilding | Y | String | Address building |
./InvoicingDetails/PostalCode | Y | String | Postal code |
./InvoicingDetails/District | Y | String | District |
./InvoicingDetails/City | Y | String | City |
./InvoicingDetails/State | Y | String | State |
./InvoicingDetails/Country | Y | String | Country |
./InvoicingDetails/PhoneNumber | Y | String | Phone number |
./InvoicingDetails/MobilePhone | Y | String | Mobile phone number |
./InvoicingDetails/Mail | Y | String | Email. |
./InvoicingDetails/Fax | Y | String | Fax |
./InvoicingDetails/DocumentNumber | Y | String | Document number |
./InvoicingDetails/DocumentTypeCode | Y | Integer | Document type code. The list of possible codes will depend on the configuration from your system. For example: • 1: DNI |
FrequentInformation | Y | - | Frequent traveler information |
./FrequentInformation/FrequentTraveller | Y | Boolean | Frequent traveler |
./FrequentInformation/FrequentTravellerCompany | Y | String | Frequent traveler company |
./FrequentInformation/FrequentTravellerNumber | Y | String | Frequent traveler number |
Configuration | N | - | Configuration information |
./Configuration/CustomerCode | Y | Integer | Client id |
./Configuration/FinalCustomerType | N | Integer | Final customer type. Possible values: 0 |
./Configuration/AcceptMailOffers | Y | Boolean | Accept mail offers |
./Configuration/MonthPreferences | Y | String | Month preferences. Follows the following format: 1,2,3… (being this example “1,2” January and February). |
./Configuration/FlightPreferences | Y | String | Flight preferences. Follows the following format: 1,2,3… |
./Configuration/AuthorizationForInformativeEmailReception | Y | Boolean | Authorization for informative email reception |
./Configuration/ImageLogo | Y | String | Image logo |
Loyalty | Y | ||
./Loyalty/Reference | N | String | Loyalty External Reference. |
./Loyalty/Concept | N | ||
./Concept/Description | N | Points Transaction Descripcion | |
./Concept/Value | N | Transaction Value |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:CreateFinalCustomer>
<ns:CustomerTransactionRQ Version = "1.1" Language = "en">
<ns:Login Email = "Username" Password = "Password"/>
<ns:General>
<ns:Treatment>Mr</ns:Treatment>
<ns:Name>Manuel</ns:Name>
<ns:Surname>Martinez</ns:Surname>
<ns:Password>SecurePassword123*</ns:Password>
<ns:DateOfBirth>1989-12-12</ns:DateOfBirth>
<ns:RegistrationDate>2018-12-12</ns:RegistrationDate>
<ns:Remarks>TEST REMARK</ns:Remarks>
<ns:DocumentNumber>43857452A</ns:DocumentNumber>
<ns:DocumentTypeCode>1</ns:DocumentTypeCode>
<ns:Company>TEST COMPANY</ns:Company>
<ns:CompanyName>TEST COMPANY NAME</ns:CompanyName>
<ns:Active>true</ns:Active>
<ns:RelatedAgencyCode>157</ns:RelatedAgencyCode>
</ns:General>
<ns:Contact>
<ns:Address>TEST ADDRESS</ns:Address>
<ns:AddressNumber>99</ns:AddressNumber>
<ns:AddressBuilding>999</ns:AddressBuilding>
<ns:PostalCode>07099</ns:PostalCode>
<ns:City>TEST CITY</ns:City>
<ns:State>TEST STATE</ns:State>
<ns:PhoneNumber>+34 971202122</ns:PhoneNumber>
<ns:MobilePhone>+34 602202122</ns:MobilePhone>
<ns:Mail>noreply3@testemail.com</ns:Mail>
<ns:ContactPerson>CONTACT PERSON</ns:ContactPerson>
<ns:SocialMediaContact>SOCIAL MEDIA CONTACT</ns:SocialMediaContact>
</ns:Contact>
<ns:InvoicingDetails>
<ns:Address>TEST INVOICING ADDRESS</ns:Address>
<ns:AddressNumber>88</ns:AddressNumber>
<ns:AddressBuilding>888</ns:AddressBuilding>
<ns:PostalCode>07088</ns:PostalCode>
<ns:District>TEST DISTRICT</ns:District>
<ns:City>TEST CITY</ns:City>
<ns:State>TEST STATE</ns:State>
<ns:PhoneNumber>+34 971888888</ns:PhoneNumber>
<ns:MobilePhone>+34 602888888</ns:MobilePhone>
<ns:Mail>noreply2@testemail.com</ns:Mail>
<ns:DocumentNumber>43528795B</ns:DocumentNumber>
<ns:DocumentTypeCode>1</ns:DocumentTypeCode>
</ns:InvoicingDetails>
<ns:FrequentInformation>
<ns:FrequentTraveller>true</ns:FrequentTraveller>
<ns:FrequentTravellerCompany>FREQ COMPANY NAME</ns:FrequentTravellerCompany>
<ns:FrequentTravellerNumber>123456</ns:FrequentTravellerNumber>
</ns:FrequentInformation>
<ns:Configuration>
<ns:FinalCustomerType>0</ns:FinalCustomerType>
<ns:AcceptMailOffers>true</ns:AcceptMailOffers>
<ns:MonthPreferences>1,2</ns:MonthPreferences>
<ns:FlightPreferences>1,2,3</ns:FlightPreferences>
<ns:AuthorizationForInformativeEmailReception>true</ns:AuthorizationForInformativeEmailReception>
</ns:Configuration>
<ns:Loyalty>
<ns:Reference>TC321321</ns:Reference>
<ns:Concept>
<ns:Description>Test Redención</ns:Description>
<ns:Value>-10</ns:Value>
</ns:Concept>
</ns:Loyalty>
</ns:CustomerTransactionRQ>
</ns:CreateFinalCustomer>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
FinalCustomerCode | N | - | If not 0, indicates the id of the successfully created final customer. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CreateFinalCustomerResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CreateFinalCustomerRS TimeStamp = "0001-01-01T00:00:00">
<FinalCustomerCode>11</FinalCustomerCode>
</CreateFinalCustomerRS>
</CreateFinalCustomerResponse>
</soap:Body>
</soap:Envelope>
This transaction allows for the modification of an already existing final customer from the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
General | N | - | General information |
./General/FinalCustomerCode | N | Integer | Id of the final customer that we’re going to modify. |
./General/Treatment | Y | String | Treatment |
./General/Name | N | String | Name |
./General/Surname | N | String | Surname |
./General/Password | N | String | Password |
./General/DateOfBirth | Y | Date | Date of birth. Format: yyyy-MM-dd |
./General/RegistrationDate | Y | Date | Registration date. Format: yyyy-MM-dd |
./General/DismissDate | Y | Date | Dismiss date. Format: yyyy-MM-dd |
./General/Remarks | Y | String | Remarks |
./General/DocumentNumber | Y | String | Document number |
./General/DocumentTypeCode | Y | Integer | Document type code. The list of possible codes will depend on the configuration from your system. For example: • 1: DNI |
./General/Company | Y | String | Company |
./General/CompanyName | Y | String | Company name |
./General/RelatedAgencyCode | Y | Integer | Related Agency Id |
./General/Active | N | Boolean | Active |
Contact | N | - | Contact information |
./Contact/Address | Y | String | Address |
./Contact/AddressNumber | Y | String | Address number |
./Contact/AddressBuilding | Y | String | Address building |
./Contact/PostalCode | Y | String | Postal code |
./Contact/City | Y | String | City |
./Contact/State | Y | String | State |
./Contact/Country | Y | String | Country |
./Contact/Nationality | Y | String | Nationality |
./Contact/PhoneNumber | Y | String | Phone number |
./Contact/MobilePhone | Y | String | Mobile phone number |
./Contact/Mail | N | String | Email. It is important to note that the system will not allow for repeated emails between different final customers. |
./Contact/Fax | Y | String | Fax |
./Contact/ContactPerson | Y | String | Contact person |
./Contact/SocialMediaContact | Y | String | Social media contact |
InvoicingDetails | Y | - | Invoicing information |
./InvoicingDetails/Address | Y | String | Address |
./InvoicingDetails/AddressNumber | Y | String | Address number |
./InvoicingDetails/AddressBuilding | Y | String | Address building |
./InvoicingDetails/PostalCode | Y | String | Postal code |
./InvoicingDetails/District | Y | String | District |
./InvoicingDetails/City | Y | String | City |
./InvoicingDetails/State | Y | String | State |
./InvoicingDetails/Country | Y | String | Country |
./InvoicingDetails/PhoneNumber | Y | String | Phone number |
./InvoicingDetails/MobilePhone | Y | String | Mobile phone number |
./InvoicingDetails/Mail | Y | String | Email. |
./InvoicingDetails/Fax | Y | String | Fax |
./InvoicingDetails/DocumentNumber | Y | String | Document number |
./InvoicingDetails/DocumentTypeCode | Y | Integer | Document type code. The list of possible codes will depend on the configuration from your system. For example: • 1: DNI |
FrequentInformation | Y | - | Frequent traveler information |
./FrequentInformation/FrequentTraveller | Y | Boolean | Frequent traveler |
./FrequentInformation/FrequentTravellerCompany | Y | String | Frequent traveler company |
./FrequentInformation/FrequentTravellerNumber | Y | String | Frequent traveler number |
Configuration | N | - | Configuration information |
./Configuration/CustomerCode | Y | Integer | Client id |
./Configuration/FinalCustomerType | N | Integer | Final customer type. Possible values: 0 |
./Configuration/AcceptMailOffers | Y | Boolean | Accept mail offers |
./Configuration/MonthPreferences | Y | String | Month preferences. Follows the following format: 1,2,3… (being this example “1,2” January and February). |
./Configuration/FlightPreferences | Y | String | Flight preferences. Follows the following format: 1,2,3… |
./Configuration/AuthorizationForInformativeEmailReception | Y | Boolean | Authorization for informative email reception |
./Configuration/ImageLogo | Y | String | Image logo |
Loyalty | Y | ||
./Loyalty/Reference | N | String | External Loyalty Reference. |
./Loyalty/Concept | N | ||
./Concept/Description | N | String | Points Transaction Descripcion |
./Concept/Value | N | Decimal | Transaction Value |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:ModifyFinalCustomer>
<ns:CustomerTransactionRQ Version = "1.1" Language = "en">
<ns:Login Email = "Username" Password = "Password"/>
<ns:General>
<ns:FinalCustomerCode>11</ns:FinalCustomerCode>
<ns:Treatment>Mr</ns:Treatment>
<ns:Name>Manuel</ns:Name>
<ns:Surname>Martinez</ns:Surname>
<ns:Password>SecurePassword123*</ns:Password>
<ns:DateOfBirth>1989-12-12</ns:DateOfBirth>
<ns:RegistrationDate>2018-12-12</ns:RegistrationDate>
<ns:Remarks>TEST REMARK</ns:Remarks>
<ns:DocumentNumber>43857452A</ns:DocumentNumber>
<ns:DocumentTypeCode>1</ns:DocumentTypeCode>
<ns:Company>TEST COMPANY</ns:Company>
<ns:CompanyName>TEST COMPANY NAME</ns:CompanyName>
<ns:Active>true</ns:Active>
<ns:RelatedAgencyCode>157</ns:RelatedAgencyCode>
</ns:General>
<ns:Contact>
<ns:Address>TEST ADDRESS</ns:Address>
<ns:AddressNumber>99</ns:AddressNumber>
<ns:AddressBuilding>999</ns:AddressBuilding>
<ns:PostalCode>07099</ns:PostalCode>
<ns:City>TEST CITY</ns:City>
<ns:State>TEST STATE</ns:State>
<ns:PhoneNumber>+34 971202122</ns:PhoneNumber>
<ns:MobilePhone>+34 602202122</ns:MobilePhone>
<ns:Mail>noreply3@testemail.com</ns:Mail>
<ns:ContactPerson>CONTACT PERSON</ns:ContactPerson>
<ns:SocialMediaContact>SOCIAL MEDIA CONTACT</ns:SocialMediaContact>
</ns:Contact>
<ns:InvoicingDetails>
<ns:Address>TEST INVOICING ADDRESS</ns:Address>
<ns:AddressNumber>88</ns:AddressNumber>
<ns:AddressBuilding>888</ns:AddressBuilding>
<ns:PostalCode>07088</ns:PostalCode>
<ns:District>TEST DISTRICT</ns:District>
<ns:City>TEST CITY</ns:City>
<ns:State>TEST STATE</ns:State>
<ns:PhoneNumber>+34 971888888</ns:PhoneNumber>
<ns:MobilePhone>+34 602888888</ns:MobilePhone>
<ns:Mail>noreply2@testemail.com</ns:Mail>
<ns:DocumentNumber>43528795B</ns:DocumentNumber>
<ns:DocumentTypeCode>1</ns:DocumentTypeCode>
</ns:InvoicingDetails>
<ns:FrequentInformation>
<ns:FrequentTraveller>true</ns:FrequentTraveller>
<ns:FrequentTravellerCompany>FREQ COMPANY NAME</ns:FrequentTravellerCompany>
<ns:FrequentTravellerNumber>123456</ns:FrequentTravellerNumber>
</ns:FrequentInformation>
<ns:Configuration>
<ns:FinalCustomerType>0</ns:FinalCustomerType>
<ns:AcceptMailOffers>true</ns:AcceptMailOffers>
<ns:MonthPreferences>1,2</ns:MonthPreferences>
<ns:FlightPreferences>1,2,3</ns:FlightPreferences>
<ns:AuthorizationForInformativeEmailReception>true</ns:AuthorizationForInformativeEmailReception>
</ns:Configuration>
<ns:Loyalty>
<ns:Reference>TC321321</ns:Reference>
<ns:Concept>
<ns:Description>Test Redención</ns:Description>
<ns:Value>-10</ns:Value>
</ns:Concept>
</ns:Loyalty>
</ns:CustomerTransactionRQ>
</ns:ModifyFinalCustomer>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
FinalCustomerCode | N | - | If not 0, indicates the id of the successfully modified final customer. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ModifyFinalCustomerResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ModifyFinalCustomerRS TimeStamp = "0001-01-01T00:00:00">
<FinalCustomerCode>11</FinalCustomerCode>
</ModifyFinalCustomerRS>
</ModifyFinalCustomerResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve generic information from the system that may be later needed in other requests from other transactions groups.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Elements | Y | - | Elements to be requested. |
./Elements/Element | N | - | Specific element to be requested. |
./Element/@Type | N | Enum | Element type to request. Possible values: • MARKETS • AGENCYGROUPS • COUNTRIES • COUNTRYGROUPS • DEPARTMENTS • SUPPLIERS • SALESCHANNELS |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GenericCatalogueData>
<GenericCatalogueDataRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<Elements>
<Element Type = "MARKETS"/>
<Element Type = "AGENCYGROUPS"/>
<Element Type = "COUNTRIES"/>
<Element Type = "COUNTRYGROUPS"/>
<Element Type = "DEPARTMENTS"/>
<Element Type = "SUPPLIERS"/>
</Elements>
</GenericCatalogueDataRQ>
</GenericCatalogueData>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
GenericDataResponse | N | - | - |
./GenericDataResponse/Markets | Y | - | Markets |
./Markets/Market | Y | - | Specific market |
./Market/@Code | N | Integer | Market internal code |
./Market/@Name | N | String | Market name |
./GenericDataResponse/AgencyGroups | Y | - | Agency groups |
./AgencyGroups/AgencyGroup | Y | - | Specific agency group |
./AgencyGroup/@Code | N | Integer | Agency group internal code |
./AgencyGroup/@Name | N | String | Agency group name |
./GenericDataResponse/Countries | Y | - | Countries |
./Countries/Country | Y | - | Specific country |
./Country/@Code | N | Integer | Country internal code |
./Country/@Name | N | String | Country name |
./GenericDataResponse/CountryGroups | Y | - | Country groups |
./CountryGroups/CountryGroup | Y | - | Specific country group |
./CountryGroup/@Code | N | Integer | Country group internal code |
./CountryGroup/@Name | N | String | Country group name |
./GenericDataResponse/Departments | Y | - | Departments |
./Departments/Department | Y | - | Specific department |
./Department/@Code | N | Integer | Department internal code |
./Department/Name | N | String | Department name |
./GenericDataResponse/Suppliers | Y | - | List of available suppliers of the system. |
./Suppliers/Supplier | Y | - | Specific supplier. |
./Supplier/@Code | N | String | Supplier internal code. May be used on other transactions on which specifying the supplier and/or product type may be neccesary. |
./Supplier/@ModuleType | N | String | Supplier module type. Possible values: • PCK: Package • FLH: Flight • HOT: Hotel • CAR: RentACar • CRU: Cruise • TRF: Transfer • TKT: Ticket • INS: Insurance • VSD: Visa |
./Supplier/Name | N | String | Supplier name. |
./GenericDataResponse/SalesChannels | Y | - | Sales channels |
./SalesChannels/SalesChannel | Y | - | Specific sales channel |
./SalesChannel/@Code | N | String | Sales channel code |
./SalesChannel/Name | N | String | Sales channel name |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GenericCatalogueDataResponse xmlns = "http://www.juniper.es/webservice/2007/">
<GenericCatalogueDataRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-06-18T13:33:26.5687766+02:00" IntCode = "dMJRfdWsSe9MYEFIxkaq1SNGl8NPFr2RqrqA/nW3AbM=">
<GenericDataResponse>
<Markets>
<Market Code = "8" Name = "Juniper"/>
<Market Code = "9" Name = "Mercado Limitado"/>
</Markets>
<AgencyGroups>
<AgencyGroup Code = "35" Name = "Integradores"/>
<AgencyGroup Code = "37" Name = "Integradores (mercado limitado)"/>
</AgencyGroups>
<Countries>
<Country Code = "1" Name = "AFGHANISTAN"/>
<Country Code = "2" Name = "ÅLAND ISLANDS"/>
<Country Code = "3" Name = "ALBANIA"/>
</Countries>
<CountryGroups/>
</GenericDataResponse>
</GenericCatalogueDataRS>
</GenericCatalogueDataResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain some codes neded in the hotel creation request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Elements | Y | - | Elements to be requested. If there isn't any Element node at the request, only the SERVICECATEGORIES will be returned. |
./Elements/Element | N | - | Specific element to be requested. |
./Element/@Type | N | Enum | Element type to request. Possible values: • HOTELCATEGORIES • HOTELTYPES • CONTRACTTYPES • HOTELCHAIN • BOARDS • SEASONS • SERVICECATEGORIES • SUPPLEMENTCATEGORIES |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelCatalogueData>
<HotelCatalogueDataRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<Elements>
<Element Type = "HOTELCATEGORIES"/>
<Element Type = "HOTELTYPES"/>
<Element Type = "CONTRACTTYPES"/>
<Element Type = "HOTELCHAIN"/>
<Element Type = "BOARDS"/>
<Element Type = "SEASONS"/>
<Element Type = "SERVICECATEGORIES"/>
<Element Type = "SUPPLEMENTCATEGORIES"/>
</Elements>
</HotelCatalogueDataRQ>
</HotelCatalogueData>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelCatalogueDataResponse | N | - | - |
./HotelCatalogueDataResponse/HotelCategories | Y | - | Possible hotel categories. |
./HotelCategories/HotelCategory | N | - | Hotel category. |
./HotelCategory/@Code | N | Integer | Hotel category id. |
./HotelCategory/@Type | Y | String | Hotel category code. |
./HotelCategory/Name | N | String | Hotel category name. |
./HotelCatalogueDataResponse/HotelTypes | Y | - | Possible hotel types. |
./HotelTypes/HotelType | N | - | Hotel type. |
./HotelType/@Code | N | Integer | Hotel type id. |
./HotelType/@Type | Y | String | Hotel type code. |
./HotelType/Name | N | String | Hotel type name. |
./HotelCatalogueDataResponse/ContractTypes | Y | - | Possible contract types. |
./ContractTypes/ContractType | N | - | Contract type. |
./ContractType/@Code | N | Integer | Contract type id. |
./ContractType/@Type | Y | String | Contract type code. |
./ContractType/Name | N | String | Contract type name. |
./HotelCatalogueDataResponse/HotelChains | Y | - | Possible hotel chains. |
./HotelChains/HotelChain | N | - | Hotel chain. |
./HotelChain/@Code | N | Integer | Hotel chain id. |
./HotelChain/Name | N | String | Hotel chain name. |
./HotelCatalogueDataResponse/Boards | Y | - | Possible hotel boards. |
./Boards/Board | N | - | Hotel board. |
./Board/@Code | N | Integer | Hotel board id. |
./Board/@Type | Y | String | Hotel board code. |
./Board/Name | N | String | Hotel board name. |
./HotelCatalogueDataResponse/Seasons | Y | - | Possibles seasons. |
./Seasons/Season | N | - | Season. |
./Season/@Code | N | Integer | Season id. |
./Season/@Start | N | Date | Season start date. |
./Season/@End | N | Date | Season end date. |
./Season/Name | N | String | Season name. |
./HotelCatalogueDataResponse/ServiceCategories | Y | - | Possible hotel services categores. |
./ServiceCategories/ServiceCategory | N | ||
./ServiceCategory/@Code | N | String | Service category code |
./ServiceCategory/ServiceSubCategories | Y | Subcategories | |
./ServiceSubCategories/ServiceSubCategory | N | Service subcategory | |
./ServiceSubCategory/@Code | N | String | Subcategory code |
./ServiceSubCategory/Name | Y | String | Subcategory name |
./ServiceCategory/Services | N | Available services | |
./Services/Service | N | Service | |
./Service/@Code | N | String | Service code |
./Service/@SubCategory | Y | String | Subcategory code, if it applies |
./Service/Name | N | String | Service name |
./HotelCatalogueDataResponse/SupplementCategories | Y | - | Possible supplement categories. |
./SupplementCategories/Category | N | - | Supplement category. |
./Category/@Code | N | Integer | Supplement category id. |
./Category/Name | N | String | Supplement category name. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelCatalogueDataResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelCatalogueDataRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-02-19T12:26:31.4830855+01:00" IntCode = "12Yn53uFEE2o3YtJ3IOqR0JFgWkMfr7Rn0E51XdMuYfq3rHm+jrRH1SYdKAoW6ql">
<HotelCatalogueDataResponse>
<HotelCategories>
<HotelCategory Code = "18">
<Name>1 1/2 Stars</Name>
</HotelCategory>
<HotelCategory Code = "1" Type = "1est">
<Name>1 Star</Name>
</HotelCategory>
<HotelCategory Code = "2" Type = "2est">
<Name>2 Stars</Name>
</HotelCategory>
<HotelCategory Code = "3" Type = "3est">
<Name>3 Stars</Name>
</HotelCategory>
<HotelCategory Code = "4" Type = "4est">
<Name>4 Stars</Name>
</HotelCategory>
<HotelCategory Code = "5" Type = "5est">
<Name>5 Stars</Name>
</HotelCategory>
<HotelCategory Code = "12">
<Name>6 Stars</Name>
</HotelCategory>
<HotelCategory Code = "13">
<Name>Apartment</Name>
</HotelCategory>
</HotelCategories>
<HotelTypes>
<HotelType Code = "2" Type = "ROV">
<Name>CONDO</Name>
</HotelType>
<HotelType Code = "1" Type = "GEN">
<Name>General</Name>
</HotelType>
</HotelTypes>
<ContractTypes>
<ContractType Code = "4" Type = "FIT">
<Name>FIT</Name>
</ContractType>
<ContractType Code = "3" Type = "GTD">
<Name>Garantía</Name>
</ContractType>
<ContractType Code = "2" Type = "PRO">
<Name>Promo</Name>
</ContractType>
<ContractType Code = "1" Type = "RCK">
<Name>Rack</Name>
</ContractType>
</ContractTypes>
<HotelChains>
<HotelChain Code = "1">
<Name>Test Chain</Name>
</HotelChain>
</HotelChains>
<Boards>
<Board Code = "5" Type = "TI">
<Name>All Inclusive</Name>
</Board>
<Board Code = "2" Type = "AD">
<Name>Bed & Breakfast</Name>
</Board>
<Board Code = "4" Type = "PC">
<Name>Full Board</Name>
</Board>
<Board Code = "1" Type = "MP">
<Name>Half Board</Name>
</Board>
<Board Code = "3" Type = "SA">
<Name>Room Only</Name>
</Board>
</Boards>
<Seasons>
<Season Code = "2" Start = "2010-01-01" End = "2014-12-31">
<Name>2010 - 2014</Name>
</Season>
<Season Code = "1" Start = "2015-01-01" End = "2030-12-31">
<Name>2015 - 2030</Name>
</Season>
</Seasons>
<ServiceCategories>
<ServiceCategory Code = "A">
<Services>
<Service Code = "62">
<Name>Pool</Name>
</Service>
<Service Code = "61">
<Name>WIFI</Name>
</Service>
</Services>
</ServiceCategory>
<ServiceCategory Code = "H">
<Services>
<Service Code = "59">
<Name>Hair dryer</Name>
</Service>
<Service Code = "60">
<Name>Safe</Name>
</Service>
</Services>
</ServiceCategory>
<ServiceCategory Code = "R">
<Services>
<Service Code = "63">
<Name>Restaurant</Name>
</Service>
</Services>
</ServiceCategory>
</ServiceCategories>
</HotelCatalogueDataResponse>
</HotelCatalogueDataRS>
</HotelCatalogueDataResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain all of the available room occupancies from the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelOccupancyList>
<HotelOccupancyListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
</HotelOccupancyListRQ>
</HotelOccupancyList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelOccupancyListResponse | N | - | - |
./HotelOccupancyListResponse/HotelOccupancies | N | - | List of available room occupancies. |
./HotelOccupancies/HotelOccupancy | N | - | Specific room occupancy. |
./HotelOccupancy/@Code | N | Integer | Room occupancy id. This is the value that you should later use on the HotelCreation request. |
./HotelOccupancy/@MaxPaxes | Y | Integer | Maximum number of passengers allowed within the room. This property has a higher priority to that of any available occupation. |
./HotelOccupancy/@MinPaxes | Y | Integer | Minimum number of passengers allowed within the room. This property has a higher priority to that of any available occupation. |
./HotelOccupancy/Occupations | N | - | List of available occupations within the room. A room will always have at least one occupation but may have multiple ones. |
./Occupations/Occupation | N | - | Specific occupation. |
./Occupation/@MinAdults | N | Integer | Minimum number of adults allowed within the occupation. |
./Occupation/@MaxAdults | N | Integer | Maximum number of adults allowed within the occupation. |
./Occupation/@MinChilds | N | Integer | Minimum number of children allowed within the occupation. |
./Occupation/@MaxChilds | N | Integer | Maximum number of children allowed within the occupation. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelOccupancyListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelOccupancyListRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-02-19T12:53:35.6521464+01:00" IntCode = "cBNDPbn7SfkKShqBlc5oVOi70Ntg7vxCs1gGLMRdKVQ=">
<HotelOccupancyListResponse>
<HotelOccupancies>
<HotelOccupancy Code = "2" MaxPaxes = "1">
<Name>1 pax</Name>
<Occupations>
<Occupation MinAdults = "1" MaxAdults = "1" MinChilds = "0" MaxChilds = "0"/>
</Occupations>
</HotelOccupancy>
<HotelOccupancy Code = "5" MaxPaxes = "2">
<Name>2 pax</Name>
<Occupations>
<Occupation MinAdults = "1" MaxAdults = "1" MinChilds = "1" MaxChilds = "1"/>
<Occupation MinAdults = "2" MaxAdults = "2" MinChilds = "0" MaxChilds = "0"/>
</Occupations>
</HotelOccupancy>
<HotelOccupancy Code = "195">
<Name>Doble 2 Adultos 2 Niño</Name>
<Occupations>
<Occupation MinAdults = "2" MaxAdults = "2" MinChilds = "2" MaxChilds = "2"/>
</Occupations>
</HotelOccupancy>
<HotelOccupancy Code = "171" MaxPaxes = "3">
<Name>2/3 pax</Name>
<Occupations>
<Occupation MinAdults = "2" MaxAdults = "3" MinChilds = "0" MaxChilds = "1"/>
</Occupations>
</HotelOccupancy>
<HotelOccupancy Code = "203" MaxPaxes = "5">
<Name>Suite Room Familiar</Name>
<Occupations>
<Occupation MinAdults = "2" MaxAdults = "2" MinChilds = "0" MaxChilds = "3"/>
<Occupation MinAdults = "3" MaxAdults = "3" MinChilds = "0" MaxChilds = "2"/>
<Occupation MinAdults = "4" MaxAdults = "4" MinChilds = "0" MaxChilds = "1"/>
<Occupation MinAdults = "5" MaxAdults = "5" MinChilds = "0" MaxChilds = "0"/>
</Occupations>
</HotelOccupancy>
<HotelOccupancy Code = "215" MaxPaxes = "15">
<Name>Family room</Name>
<Occupations>
<Occupation MinAdults = "4" MaxAdults = "10" MinChilds = "0" MaxChilds = "10"/>
</Occupations>
</HotelOccupancy>
</HotelOccupancies>
</HotelOccupancyListResponse>
</HotelOccupancyListRS>
</HotelOccupancyListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to list all of the existing directly contracted hotels of your booking engine.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelListRequest | N | - | Hotel list request node container. |
./HotelListRequest/@ShowBasicInfo | Y | Boolean | Show the hotel name on the response. Not recommended unless you're manually testing this transaction. |
./HotelListRequest/ProductTypes | Y | - | Product type filter. |
./ProductTypes/ProductType | N | String | Specific product type. Possible values: • A |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelList>
<HotelListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelListRequest ShowBasicInfo = "true"/>
</HotelListRQ>
</HotelList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Hotel | Y | - | Hotel object, available for each of the available hotels from the system. |
./Hotel/@Code | N | Integer | Hotel internal code. |
./Hotel/@JPCode | Y | String | Hotel JPCode. Only available if the related hotel is mapped and has a JPCode assigned. |
./Hotel/Name | Y | String | Hotel name. Only available if the ShowBasicInfo option has been requested. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelListRS Url = "https://juniper-uat.bookingengine.es" TimeStamp = "2025-02-12T17:21:08.7090981+01:00" IntCode = "in8Mx6gBz88SYwXN05e5kbGS6GAMseWycNERS/6PlWM=">
<Hotel Code = "125" JPCode = "JP046300">
<Name>Allsun Hotel Pil·larí Playa UAT</Name>
</Hotel>
<Hotel Code = "127" JPCode = "JP077424">
<Name>The Tower Plaza Hotel Dubai UAT</Name>
</Hotel>
<Hotel Code = "129" JPCode = "JP02729G">
<Name>Ortigas Budget Hotel - Kapitolyo</Name>
</Hotel>
<Hotel Code = "165" JPCode = "JP046399">
<Name>Hotel Abelay</Name>
</Hotel>
<Hotel Code = "368">
<Name>test Hotel</Name>
</Hotel>
</HotelListRS>
</HotelListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to request the information of specific hotel codes. The request also allows for up to 25 properties to be searched at once.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelDetailRequest | N | - | Hotel detail request. List of hotels. |
./HotelDetailRequest/Hotel | N | - | Specific hotel. Up to 25 may be requested. |
./Hotel/@Code | N | String | Hotel code. |
<soapenv:Envelope xmlsoapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelDetail>
<HotelDetailRQ Version="1" Language="ES">
<Login Email="user@mydomain.com" Password="pass"/>
<HotelDetailRequest>
<Hotel Code="12067"/>
</HotelDetailRequest>
</HotelDetailRQ>
</HotelDetail>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelDetailResponse | N | - | - |
./HotelDetailResponse/Hotel | N | - | Hotel information. |
./Hotel/@ExternalCode | Y | String | Hotel external code. |
./Hotel/@Code | N | Integer | Hotel code. |
./Hotel/@ExtendedDiscount | N | Boolean | Identifies if the hotel has the extended discount fields enabled. When active, the hotel will allow for up to 8 additional adult prices and up to 5 children prices, instead of the usual 2 and 2. |
./Hotel/Names | N | - | Hotel name in each language |
./Names/Name | N | String | Specific hotel name. |
./Name/@Language | N | String | Language of the text |
./Name/@HotelActive | N | String | Hotel is active in this language |
./Hotel/Descriptions | N | - | Hotel description in each language |
./Descriptions/Description | N | String | Specific hotel description. |
./Description/@Language | N | String | Language of the text |
./Description/@Type | N | Enum | Description type. Possible values: • SHT: Short • LNG: Long |
./Hotel/HotelInformation | N | ||
./HotelInformation/Zone | N | String | Zone name. |
./Zone/@Code | N | Integer | Zone code. |
./HotelInformation/AddressInformation | N | Address information | |
./AddressInformation/Address | N | String | Address |
./AddressInformation/PostalCode | Y | String | Postal code |
./AddressInformation/Longitude | N | Double | Longitude coordenate. |
./AddressInformation/Latitude | N | Double | Latitude coordinate. |
./HotelInformation/HotelCategory | N | Hotel category | |
./HotelCategory/@Code | N | Integer | Category code |
./HotelInformation/HotelType | N | Hotel type | |
./HotelType/@Code | N | Integer | Type code |
./HotelInformation/HotelChain | Y | Hotel chain | |
./HotelChain/@Code | N | Integer | Chain code |
./Hotel/Contact | N | Contact information | |
./Contact/PhoneNumbers | N | Phones information | |
./PhoneNumbers/PhoneNumber | N | Phone | |
./PhoneNumber/@Type | N | Enum | Phone number type. Possible values: • GEN: General • BOOK: Bookings |
./PhoneNumber/@Country | Y | String | Country phone code |
./PhoneNumber/@Area | Y | String | Area phone code |
./PhoneNumber/@Number | N | String | Local phone number |
./Contact/Faxes | Y | Faxes information | |
./Faxes/Fax | Y | Fax | |
./Fax/@Type | N | Enum | Fax type. Possible values: • GEN: General • BOOK: Bookings |
./Fax/@Country | Y | String | Country phone code |
./Fax/@Area | Y | String | Area phone code |
./Fax/@Number | N | String | Local phone number |
./Contact/Emails | N | Emails information | |
./Emails/Email | N | String | Email address |
./Email/@Type | N | Enum | Email type. Possible values: • GEN: General • BOOK: Bookings • ACCOUNT: Accounting |
./Hotel/Notifications | N | Notification information | |
./Notifications/Bookings | N | Booking notifications | |
./Bookings/@SendMailTo | N | Enum | Recipient of the booking confirmation mails. Possible values: • SUPPLIER • BOKINGKMAIL • SUPPLIER_BOKINGKMAIL |
./Bookings/@SendValuedBookingToSupplier | N | Boolean | Send the price in the supplier notifications |
./Notifications/ExtranetModification | N | Notifications on the extranet changes | |
./ExtranetModification/@ExtranetUsers | N | Boolean | Send to the extranet users |
./ExtranetModification/@DepartmentPurchaseManager | N | Boolean | Send to the department purchase manager |
./ExtranetModification/@DepartmentExtranet | N | Boolean | Send to the extranet department email |
./Hotel/Currency | N | ||
./Currency/@Code | N | String | Currency code |
./Hotel/ProductGroup | N | ||
./ProductGroup/@Code | N | Integer | Product group code |
./Hotel/Suppliers | N | Hotel suppliers | |
./Suppliers/Supplier | N | Hotel supplier (only one node at the moment) | |
./Supplier/@Code | N | Integer | Supplier code |
./Hotel/ChildrenAges | N | Children age information | |
./ChildrenAges/@FirstRangeFrom | N | Integer | Age from passangers are considerated as children |
./ChildrenAges/@FirstRangeTo | N | Integer | Age to passangers are considerated as the first range of children |
./ChildrenAges/@SecondRangeTo | Y | Integer | Age to passangers are considerated as the second range of children |
./ChildrenAges/@ThirdRangeTo | Y | Integer | Age to passangers are considerated as the third range of children |
./Hotel/AdvancedInformation | N | Advanced information | |
./AdvancedInformation/OnlyAvailableInTheCallCenter | N | Boolean | If the hotel will be only available in the callcenter (false by default) |
./AdvancedInformation/AllowOnRequest | N | Boolean | If the hotel allow on request bookings (true by default) |
./AdvancedInformation/MinimumAge | Y | Integer | Minimum age allowed in the hotel |
./AdvancedInformation/Rooms | Y | Short | Informative field regarding the hotel total units, independently of the uploaded contract allotment. |
./Hotel/TimeInformation | Y | ||
./TimeInformation/CheckTime | Y | Times to checkin and checkout | |
./CheckTime/@CheckIn | Y | HH:MM | Minimum time to checkin |
./CheckTime/@CheckOut | Y | HH:MM | Maximum time to checkout |
./TimeInformation/HotelTimeZone | Y | String | Hotel time zone |
./TimeInformation/ReleaseTime | Y | HH:MM | Hour when the release change the day |
./Hotel/Images | Y | Images | |
./Images/Image | Y | URL to the image | |
./Hotel/Services | Y | Services related to with the hotel | |
./Services/ServicesCategory | Y | Service category | |
./ServicesCategory/@Code | N | String | Service category code |
./ServicesCategory/Service | N | Service | |
./Service/@Code | N | Integer | Service code |
./Hotel/SalesChannels | Y | Sales channels allowed to show this hotel | |
./SalesChannels/SalesChannel | Y | Sales channel | |
./SalesChannel/@Code | N | String | Channel code |
./Hotel/BoardTypes | Y | Board types | |
./BoardTypes/BoardType | Y | Board type | |
./BoardType/@Code | N | Integer | Board type code |
./Hotel/RoomTypes | Y | Room types | |
./RoomTypes/RoomType | Y | Room type | |
./RoomType/@Code | N | Integer | Room type code. Kindly note that this is the code that you will need to use if you wish to modify the room type (it is important to use the room type code from the response rather than the original room occupancy code that you might have used on the HotelCreation request). |
./RoomType/@PriceRoom | Y | Boolean | Indicates if this room will allow for a unitary room price to be updated. If missing, it will be the same as if it were being resurned as false. |
./RoomType/@MinimumAge | N | Integer | Minimum age allowed |
./RoomType/@FirstAdditional | Y | Integer | First adult of the room to be rated as an additional adult. |
./RoomType/@ExternalCode | N | String | External code |
./RoomType/@NonRefundable | Y | Boolean | If true, the room will convey a non refundable cancellation policy. |
./RoomType/@Rates | Y | Boolean | Indicates if the room has any rates loaded. Useful in order to decide if you would like to delete the room. |
./RoomType/@Allotment | Y | Boolean | Indicates if the room has any allotments loaded. Useful in order to decide if you would like to delete the room. |
./RoomType/@Bookings | Y | Boolean | Indicates if the room has been used for any bookings. Useful in order to decide if you would like to delete the room. |
./RoomType/@ChildrenAsAdults | Y | Boolean | If true, the children that do not fit with the children category of the room will be considered and rated as adults. If not specified, its default value will be true. |
./RoomType/Names | N | Room names | |
./Names/Name | N | String | Room name |
./Name/@Language | N | String | Language |
./RoomType/AlternativeAllotment | N | - | Alternative allotment configuration. |
./AlternativeAllotment/Room | N | - | Room that it would take allotments from alternatively (for reference, this room will keep having its own allotments available but, when at 0, it will attempt to use the allotments from the alternative room that's established here). |
./Room/@Code | Y | Integer | Room code. At least one of these properties will need to be provided. |
./Room/@ExternalCode | Y | String | Room external code. |
./AlternativeAllotment/SharedAllotmentType | Y | - | Allotment types that will be shared. If missing, all types will be assumed as true. |
./SharedAllotmentType/@Base | N | Boolean | Base allotments. |
./SharedAllotmentType/@Secured | N | Boolean | Secured allotments. |
./SharedAllotmentType/@Minimum | N | Boolean | Minimum allotments. |
./RoomType/Descriptions | N | Room descriptions | |
./Descriptions/Description | N | String | Room description |
./Description/@Language | N | String | Language |
./RoomType/RoomCategory | Y | Room category | |
./RoomCategory/@Code | Y | Integer | Category code |
./RoomType/RoomArea | Y | Room area information | |
./RoomArea/@Size | N | Decimal | Room area size |
./RoomArea/@Unit | N | Enum | Room area unit type. Possible values: • F: Feet2 • M: Meter2 |
./RoomType/Images | Y | Room images | |
./Images/Image | Y | Specific image | |
./Image/Path | N | String | Image path |
./RoomType/AgeLimits | Y | Age limits | |
./AgeLimits/AgeLimit | Y | Age limit | |
./AgeLimit/@Type | N | String | Age limit type. Possible values: • Child • Guest |
./AgeLimit/@From | N | Integer | From age |
./AgeLimit/@MaxAge | N | Integer | Maximum age |
./RoomType/Infants | Y | - | Room infant information. |
./Infants/@Max | Y | Integer | Maximum number of infants allowed in the room. If not specified, there will not be any limit established. |
./Hotel/SpecialNotes | Y | - | Special note information |
./SpecialNotes/SpecialNote | Y | - | Specific special note |
./SpecialNote/@Start | Y | Date | Special note start date |
./SpecialNote/@End | Y | Date | Special note end date |
./SpecialNote/Notes | N | - | Special note |
./Notes/Note | N | String | Special note contents |
./Note/@Language | N | String | Special note language code |
./SpecialNote/SupplierContracts | Y | - | Special note supplier contract filter. If empty, the note will apply to all of the available contracts. |
./SupplierContracts/SupplierContract | Y | - | Specific supplier contract. |
./SupplierContract/@Code | N | Integer | Supplier contract internal code |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelDetailResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelDetailRS Url = "http://suppliers.juniper.es" TimeStamp = "2021-10-27T16:07:33.0518941+02:00" IntCode = "fTBkVidasTZ49p51vnF8sNZBl2Kn2zXkU4D5BFD8dwo=">
<HotelDetailResponse>
<Hotel Code = "12067" ExtendedDiscount = "false">
<Names>
<Name Language = "es" HotelActive = "true">Nombre español</Name>
<Name Language = "en" HotelActive = "true">English name</Name>
</Names>
<Descriptions>
<Description Language = "es" Type = "SHT">Corta en español</Description>
<Description Language = "es" Type = "LNG">Larga en español</Description>
<Description Language = "en" Type = "SHT">English short</Description>
<Description Language = "en" Type = "LNG">English long</Description>
</Descriptions>
<HotelInformation>
<Zone Code = "54922">North Miami</Zone>
<AddressInformation>
<Address>Calle ancha sn</Address>
<PostalCode>07000</PostalCode>
<Longitude>2.234</Longitude>
<Latitude>35.933</Latitude>
</AddressInformation>
<HotelCategory Code = "15">Clarion</HotelCategory>
<HotelType Code = "27">General</HotelType>
<HotelChain Code = "17">Cadena Máximo</HotelChain>
</HotelInformation>
<Contact>
<PhoneNumbers>
<PhoneNumber Type = "GEN" Country = "+32" Area = "3212" Number = "4342342431"/>
</PhoneNumbers>
<Faxes>
<Fax Type = "GEN" Country = "+13" Area = "32423" Number = "434241324"/>
</Faxes>
<Emails>
<Email Type = "BOOK">hola@ejuniper.com</Email>
</Emails>
</Contact>
<Notifications>
<Bookings SendMailTo = "SUPPLIER" SendValuedBookingToSupplier = "true"/>
<ExtranetModification ExtranetUsers = "true" DepartmentPurchaseManager = "true" DepartmentExtranet = "true"/>
</Notifications>
<Currency Code = "EUR"/>
<ProductGroup Code = "92">Grupo JES</ProductGroup>
<Suppliers>
<Supplier Code = "288">TEST</Supplier>
</Suppliers>
<ChildrenAges FirstRangeFrom = "3" FirstRangeTo = "7" SecondRangeTo = "12"/>
<AdvancedInformation>
<OnlyAvailableInTheCallCenter>false</OnlyAvailableInTheCallCenter>
<AllowOnRequest>true</AllowOnRequest>
<MinimumAge>2</MinimumAge>
<Rooms>100</Rooms>
</AdvancedInformation>
<TimeInformation>
<CheckTime CheckIn = "10:15" CheckOut = "12:00"/>
<HotelTimeZone>Alaskan Standard Time</HotelTimeZone>
<ReleaseTime>12:00</ReleaseTime>
</TimeInformation>
<Services>
<ServicesCategory Code = "A">
<Service Code = "18">billar2</Service>
<Service Code = "6">H- Recepción</Service>
<Service Code = "17">restaurante</Service>
</ServicesCategory>
<ServicesCategory Code = "R">
<Service Code = "8">R- Restaurante barato</Service>
</ServicesCategory>
</Services>
<SalesChannels>
<SalesChannel Code = "Web"/>
</SalesChannels>
<BoardTypes>
<BoardType Code = "2">Con Desayuno</BoardType>
<BoardType Code = "7">Media Pensión</BoardType>
</BoardTypes>
<RoomTypes>
<RoomType Code = "215" MinimumAge = "2" FirstAdditional = "2" ExternalCode = "external" NonRefundable = "false">
<Names>
<Name Language = "es">Español</Name>
<Name Language = "en">Español</Name>
</Names>
<RoomCategory Code = "43">Individual</RoomCategory>
<RoomArea Size = "20.45" Unit = "F"/>
</RoomType>
</RoomTypes>
<SpecialNotes>
<SpecialNote Start = "2018-06-13" End = "2030-12-31">
<Notes>
<Note Language = "es">
Please note that on this field hotels have the possibility of supplying you with important information like:
- Additional taxes (like, for example, a city tax).
- Additional features (like, for example, a detailed explanation of a promotion)
- Additional warnings (like, for example, the pool being closed due to renovations)
- Additional information (like, for example, the emergency phone)
Among other examples.
</Note>
<Note Language = "en">
Please note that on this field hotels have the possibility of supplying you with important information like:
- Additional taxes (like, for example, a city tax).
- Additional features (like, for example, a detailed explanation of a promotion)
- Additional warnings (like, for example, the pool being closed due to renovations)
- Additional information (like, for example, the emergency phone)
Among other examples.
</Note>
</Notes>
</SpecialNote>
</SpecialNotes>
</Hotel>
</HotelDetailResponse>
</HotelDetailRS>
</HotelDetailResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to create a new hotel.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelCreationRequest | N | - | - |
./HotelCreationRequest/Hotel | N | - | Hotel information. |
./Hotel/@ExternalCode | Y | String | Hotel external code. |
./Hotel/@JPCodeDataImport | Y | String | JPCode from which to import data. If the system finds a matching JPCode while any of the related fields are not specified (as if they are specified they will be prioritized), the system will instead retrieve this information from this JPCode. The fields that may be retrieved through a JPCode are: - Names - Zone - Address (from AddressInformation) - Longitude (from AddressInformation) - Latitude (from AddressInformation) |
./Hotel/@ExtendedDiscount | Y | Boolean | Identifies if the hotel has the extended discount fields enabled. When active, the hotel will allow for up to 8 additional adult prices and up to 5 children prices, instead of the usual 2 and 2. Once enabled, it will not be possible to deactivate this configuration. |
./Hotel/Names | Y | - | Hotel names. Mandatory if no matching JPCodeDataImport is specified. |
./Names/Name | N | String | Hotel name in each language |
./Name/@Language | N | String | Language of the text |
./Name/@HotelActive | N | String | Hotel is active in this language |
./Hotel/Descriptions | N | ||
./Descriptions/Description | N | String | Hotel description in each language |
./Description/@Language | N | String | Language of the text |
./Description/@Type | N | Enum | Description type. Possible values: • SHT: Short • LNG: Long |
./Hotel/HotelInformation | N | ||
./HotelInformation/Zone | Y | String | Zone information. Mandatory if no matching JPCodeDataImport is specified. |
./Zone/@Code | N | Integer | Zone code. |
./HotelInformation/AddressInformation | Y | - | Address information. |
./AddressInformation/Address | Y | String | Address. Mandatory if no matching JPCodeDataImport is specified. |
./AddressInformation/PostalCode | Y | String | Postal code |
./AddressInformation/Longitude | Y | Double | Longitude coordenate. Mandatory if no matching JPCodeDataImport is specified. |
./AddressInformation/Latitude | Y | Double | Latitude coordinate. Mandatory if no matching JPCodeDataImport is specified. |
./HotelInformation/HotelCategory | N | Hotel category | |
./HotelCategory/@Code | N | Integer | Category code |
./HotelInformation/HotelType | N | Hotel type | |
./HotelType/@Code | N | Integer | Type code |
./HotelInformation/HotelChain | Y | Hotel chain | |
./HotelChain/@Code | N | Integer | Chain code |
./Hotel/Contact | N | Contact information | |
./Contact/PhoneNumbers | N | Phones information | |
./PhoneNumbers/PhoneNumber | N | Phone | |
./PhoneNumber/@Type | N | Enum | Phone number type. Possible values: • GEN: General • BOOK: Bookings |
./PhoneNumber/@Country | Y | String | Country phone code |
./PhoneNumber/@Area | Y | String | Area phone code |
./PhoneNumber/@Number | N | String | Local phone number |
./Contact/Faxes | Y | Faxes information | |
./Faxes/Fax | Y | Fax | |
./Fax/@Type | N | Enum | Fax type. Possible values: • GEN: General • BOOK: Bookings |
./Fax/@Country | Y | String | Country phone code |
./Fax/@Area | Y | String | Area phone code |
./Fax/@Number | N | String | Local phone number |
./Contact/Emails | N | Emails information | |
./Emails/Email | N | String | Email address |
./Email/@Type | N | Enum | Email type. Possible values: • GEN: General • BOOK: Bookings • ACCOUNT: Accounting • CLAIM: Claims |
./Hotel/Notifications | Y | Notification information | |
./Notifications/Bookings | Y | Booking notifications | |
./Bookings/@SendMailTo | Y | Enum | Recipient of the booking confirmation mails. Possible values: • SUPPLIER • BOKINGKMAIL • SUPPLIER_BOKINGKMAIL |
./Bookings/@SendValuedBookingToSupplier | Y | Boolean | Send the price in the supplier notifications |
./Notifications/ExtranetModification | Y | Notifications on the extranet changes | |
./ExtranetModification/@ExtranetUsers | Y | Boolean | Send to the extranet users |
./ExtranetModification/@DepartmentPurchaseManager | Y | Boolean | Send to the department purchase manager |
./ExtranetModification/@DepartmentExtranet | Y | Boolean | Send to the extranet department email |
./Hotel/Currency | N | ||
./Currency/@Code | N | String | Currency code |
./Hotel/ProductGroup | N | ||
./ProductGroup/@Code | N | Integer | Product group code |
./Hotel/Suppliers | N | Hotel suppliers | |
./Suppliers/Supplier | N | Hotel supplier(only one node at the moment) | |
./Supplier/@Code | N | Integer | Supplier code |
./Hotel/ChildrenAges | N | Children age information | |
./ChildrenAges/@FirstRangeFrom | N | Integer | Age from passangers are considerated as children |
./ChildrenAges/@FirstRangeTo | N | Integer | Age to passangers are considerated as the first range of children |
./ChildrenAges/@SecondRangeTo | Y | Integer | Age to passangers are considerated as the second range of children |
./ChildrenAges/@ThirdRangeTo | Y | Integer | Age to passangers are considerated as the third range of children. Its use requires for a migration and may be unavailable. |
./Hotel/AdvancedInformation | Y | Advanced information | |
./AdvancedInformation/OnlyAvailableInTheCallCenter | Y | Boolean | If the hotel will be only available in the callcenter (false by default) |
./AdvancedInformation/AllowOnRequest | Y | Boolean | If the hotel allow on request bookings (true by default) |
./AdvancedInformation/MinimumAge | Y | Integer | Minimum age allowed in the hotel |
./AdvancedInformation/Rooms | Y | Short | Informative field regarding the hotel total units, independently of the uploaded contract allotment. |
./Hotel/TimeInformation | Y | ||
./TimeInformation/CheckTime | Y | Times to checkin and checkout | |
./CheckTime/@CheckIn | Y | HH:MM | Minimum time to checkin |
./CheckTime/@CheckOut | Y | HH:MM | Maximum time to checkout |
./TimeInformation/HotelTimeZone | Y | String | Hotel time zone |
./TimeInformation/ReleaseTime | Y | HH:MM | Hour when the release change the day |
./Hotel/Images | Y | Images | |
./Images/Image | Y | URL to the image | |
./Hotel/Services | Y | Services related to with the hotel | |
./Services/ServicesCategory | Y | Service category | |
./ServicesCategory/@Code | N | String | Service category code |
./ServicesCategory/Service | N | Service | |
./Service/@Code | N | Integer | Service code |
./Hotel/SalesChannels | Y | Sales channels allowed to show this hotel | |
./SalesChannels/SalesChannel | Y | Sales channel | |
./SalesChannel/@Code | N | String | Channel code |
./Hotel/BoardTypes | Y | Board types | |
./BoardTypes/BoardType | Y | Board type | |
./BoardType/@Code | N | Integer | Board type code |
./Hotel/RoomTypes | Y | Room types | |
./RoomTypes/RoomType | Y | Room type | |
./RoomType/@Code | N | Integer | Room occupancy code. For the list of available room occupancy codes contact with Juniper. Additionally, note that you will need to retrieve the resultant room type code from its response. |
./RoomType/@PriceRoom | N | Boolean | If this room have price for the complet room |
./RoomType/@MinimumAge | N | Integer | Minimum age allowed |
./RoomType/@FirstAdditional | Y | Integer | First adult passanger that are considerated as a additional |
./RoomType/@ExternalCode | N | String | External code |
./RoomType/@NonRefundable | Y | Boolean | If true, the room will convey a non refundable cancellation policy. |
./RoomType/@ChildrenAsAdults | Y | Boolean | If true, the children that do not fit with the children category of the room will be considered and rated as adults. If not specified, its default value will be true. |
./RoomType/Names | N | Room names | |
./Names/Name | N | String | Room name |
./Name/@Language | N | String | Language |
./RoomType/AlternativeAllotment | Y | - | Alternative allotment configuration. |
./AlternativeAllotment/Room | N | - | Room that it would take allotments from alternatively (for reference, this room will keep having its own allotments available but, when at 0, it will attempt to use the allotments from the alternative room that's established here). |
./Room/@Code | Y | Integer | Room code. At least one of these properties will need to be provided. |
./Room/@ExternalCode | Y | String | Room external code. |
./AlternativeAllotment/SharedAllotmentType | N | - | Allotment types that will be shared. |
./SharedAllotmentType/@Base | Y | Boolean | Base allotments. |
./SharedAllotmentType/@Secured | Y | Boolean | Secured allotments. |
./SharedAllotmentType/@Minimum | Y | Boolean | Minimum allotments. |
./RoomType/Descriptions | N | Room descriptions | |
./Descriptions/Description | N | String | Room description |
./Description/@Language | N | String | Language |
./RoomType/RoomCategory | Y | Room category | |
./RoomCategory/@Code | Y | Integer | Category code |
./RoomType/RoomArea | Y | ||
./RoomArea/@Size | N | Decimal | Room area size |
./RoomArea/@Unit | N | Enum | Room area unit type. Possible values: • F: Feet2 • M: Meter2 |
./RoomType/Images | Y | Room images | |
./Images/Image | Y | Specific image | |
./Image/Path | N | String | Image path |
./RoomType/AgeLimits | Y | Age limits | |
./AgeLimits/AgeLimit | Y | Age limit | |
./AgeLimit/@Type | N | String | Age limit type. Possible values: • Child • Guest |
./AgeLimit/@From | N | Integer | From age |
./AgeLimit/@MaxAge | N | Integer | Maximum age |
./RoomType/Infants | Y | - | Room infant information. |
./Infants/@Max | Y | Integer | Maximum number of infants allowed in the room. If not specified, there will not be any limit established. |
./Hotel/SpecialNotes | Y | - | Special note information |
./SpecialNotes/SpecialNote | Y | - | Specific special note |
./SpecialNote/@Start | Y | Date | Special note start date |
./SpecialNote/@End | Y | Date | Special note end date |
./SpecialNote/Notes | N | - | Special note, separated by languages. |
./Notes/Note | N | String | Special note contents for a specific language. |
./Note/@Language | N | String | Special note language code |
./SpecialNote/SupplierContracts | Y | - | Special note supplier contract filter. If empty, the note will apply to all of the available contracts. |
./SupplierContracts/SupplierContract | Y | - | Specific supplier contract. |
./SupplierContract/@Code | N | Integer | Supplier contract internal code |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelCreation>
<HotelCreationRQ Version="1" Language="ES">
<Login Password="pass" Email="user@mydomain.com"/>
<HotelCreationRequest>
<Hotel ExternalCode="final">
<Names>
<Name Language="ES" HotelActive="true">Nombre español</Name>
<Name Language="EN" HotelActive="true">English name</Name>
</Names>
<Descriptions>
<Description Language="ES" Type="SHT">Corta en español</Description>
<Description Language="ES" Type="LNG">Larga en español</Description>
<Description Language="EN" Type="SHT">English short</Description>
<Description Language="EN" Type="LNG">English long</Description>
</Descriptions>
<HotelInformation>
<Zone Code="54922"/>
<AddressInformation>
<Address>Calle ancha sn</Address>
<PostalCode>07000</PostalCode>
<Longitude>2.234</Longitude>
<Latitude>35.933</Latitude>
</AddressInformation>
<HotelCategory Code="15"/>
<HotelType Code="27"/>
<HotelChain Code="17"/>
</HotelInformation>
<Contact>
<PhoneNumbers>
<PhoneNumber Type="GEN" Country="+32" Area="3212" Number="4342342431"/>
</PhoneNumbers>
<Faxes>
<Fax Type="GEN" Country="+13" Area="32423" Number="434241324"/>
</Faxes>
<Emails>
<Email Type="BOOK">hola@ejuniper.com</Email>
</Emails>
</Contact>
<Notifications>
<Bookings SendMailTo="SUPPLIER" SendValuedBookingToSupplier="true"/>
<ExtranetModification ExtranetUsers="true" DepartmentPurchaseManager="true" DepartmentExtranet="true"/>
</Notifications>
<Currency Code="EUR"/>
<ProductGroup Code="92"/>
<Suppliers>
<Supplier Code="288"/>
</Suppliers>
<ChildrenAges FirstRangeFrom="3" FirstRangeTo="7" SecondRangeTo="12"/>
<AdvancedInformation>
<OnlyAvailableInTheCallCenter>false</OnlyAvailableInTheCallCenter>
<AllowOnRequest>true</AllowOnRequest>
<MinimumAge>2</MinimumAge>
<Rooms>100</Rooms>
</AdvancedInformation>
<TimeInformation>
<CheckTime CheckIn="10:15" CheckOut="12:00"/>
<HotelTimeZone>Alaskan Standard Time</HotelTimeZone>
<ReleaseTime>12:00</ReleaseTime>
</TimeInformation>
<Images>
<Image>http://www.ejuniper.com/img/logo.png</Image>
<Image>http://www.ejuniper.com/media/147083/slider07.jpg</Image>
<Image>http://www.ejuniper.com/media/277226/packages.jpg</Image>
</Images>
<Services>
<ServicesCategory Code="A">
<Service Code="6"/>
<Service Code="17"/>
<Service Code="18"/>
</ServicesCategory>
<ServicesCategory Code="R">
<Service Code="8"/>
</ServicesCategory>
</Services>
<SalesChannels>
<SalesChannel Code="Web"/>
</SalesChannels>
<BoardTypes>
<BoardType Code="7"/>
<BoardType Code="2"/>
</BoardTypes>
<RoomTypes>
<RoomType Code="215" PriceRoom="false" MinimumAge="2" FirstAdditional="2" ExternalCode="external">
<Names>
<Name Language="ES">Español</Name>
</Names>
<Descriptions>
<Description Language="ES">Descripción habitación</Description>
</Descriptions>
<RoomCategory Code="43"/>
<RoomArea Size="20.45" Unit="F"/>
<Images>
<Image>
<Path>http://www.ejuniper.com/img/logo.png</Path>
</Image>
<Image>
<Path>http://www.ejuniper.com/img/logo8.png</Path>
</Image>
</Images>
</RoomType>
</RoomTypes>
</Hotel>
</HotelCreationRequest>
</HotelCreationRQ>
</HotelCreation>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation is correct, the system will supply you with the hotel complete information, which is exactly the same information as the one supplied on the HotelDetail response.
Kindly refer to the HotelDetail section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelCreationResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelCreationRS Url="http://localhost" TimeStamp="2016-02-19T16:00:55.4396399+01:00" IntCode="vbflRkLXsAwci1LLJwBTc9eJHQHJRAZ9FAk+0OC3yZw=">
<HotelCreationResponse>
<Hotel ExternalCode="final" Code="12067">
<Names>
<Name Language="es" HotelActive="true">Nombre español</Name>
<Name Language="en" HotelActive="true">English name</Name>
</Names>
<Descriptions>
<Description Language="es" Type="SHT">Corta en español</Description>
<Description Language="es" Type="LNG">Larga en español</Description>
<Description Language="en" Type="SHT">English short</Description>
<Description Language="en" Type="LNG">English long</Description>
</Descriptions>
<HotelInformation>
<Zone Code="54922">North Miami</Zone>
<AddressInformation>
<Address>Calle ancha sn</Address>
<PostalCode>07000</PostalCode>
<Longitude>2.234</Longitude>
<Latitude>35.933</Latitude>
</AddressInformation>
<HotelCategory Code="15">Clarion</HotelCategory>
<HotelType Code="27">General</HotelType>
<HotelChain Code="17">Cadena Máximo</HotelChain>
</HotelInformation>
<Contact>
<PhoneNumbers>
<PhoneNumber Type="GEN" Country="+32" Area="3212" Number="4342342431"/>
</PhoneNumbers>
<Faxes>
<Fax Type="GEN" Country="+13" Area="32423" Number="434241324"/>
</Faxes>
<Emails>
<Email Type="BOOK">hola@ejuniper.com</Email>
</Emails>
</Contact>
<Notifications>
<Bookings SendMailTo="SUPPLIER" SendValuedBookingToSupplier="true"/>
<ExtranetModification ExtranetUsers="true" DepartmentPurchaseManager="true" DepartmentExtranet="true"/>
</Notifications>
<Currency Code="EUR"/>
<ProductGroup Code="92">Grupo JES</ProductGroup>
<Suppliers>
<Supplier Code="288">TEST</Supplier>
</Suppliers>
<ChildrenAges FirstRangeFrom="3" FirstRangeTo="7" SecondRangeTo="12"/>
<AdvancedInformation>
<OnlyAvailableInTheCallCenter>false</OnlyAvailableInTheCallCenter>
<AllowOnRequest>true</AllowOnRequest>
<MinimumAge>2</MinimumAge>
<Rooms>100</Rooms>
</AdvancedInformation>
<TimeInformation>
<CheckTime CheckIn="10:15" CheckOut="12:00"/>
<HotelTimeZone>Alaskan Standard Time</HotelTimeZone>
<ReleaseTime>12:00</ReleaseTime>
</TimeInformation>
<Services>
<ServicesCategory Code="A">
<Service Code="18">billar2</Service>
<Service Code="6">H- Recepción</Service>
<Service Code="17">restaurante</Service>
</ServicesCategory>
<ServicesCategory Code="R">
<Service Code="8">R- Restaurante barato</Service>
</ServicesCategory>
</Services>
<SalesChannels>
<SalesChannel Code="Web"/>
</SalesChannels>
<BoardTypes>
<BoardType Code="2">Con Desayuno</BoardType>
<BoardType Code="7">Media Pensión</BoardType>
</BoardTypes>
<RoomTypes>
<RoomType Code="215" MinimumAge="2" FirstAdditional="2" ExternalCode="external">
<Names>
<Name Language="es">Español</Name>
<Name Language="en">Español</Name>
</Names>
<RoomCategory Code="43">Individual</RoomCategory>
<RoomArea Size="20.45" Unit="F"/>
</RoomType>
</RoomTypes>
</Hotel>
</HotelCreationResponse>
</HotelCreationRS>
</HotelCreationResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to update a specific hotel code. You should take into account that:
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelUpdateRequest | N | - | - |
./HotelUpdateRequest/Hotel | N | - | Specific hotel. |
./Hotel/@ExternalCode | Y | String | Hotel external code. |
./Hotel/@Code | N | String | Hotel code. |
./Hotel/@JPCodeDataImport | Y | String | JPCode from which to import data. If the system finds a matching JPCode while any of the related fields are not specified (as if they are specified they will be prioritized), the system will instead retrieve this information from this JPCode. The fields that may be retrieved through a JPCode are: - Names - Zone - Address (from AddressInformation) - Longitude (from AddressInformation) - Latitude (from AddressInformation) |
./Hotel/@ExtendedDiscount | Y | Boolean | Identifies if the hotel has the extended discount fields enabled. When active, the hotel will allow for up to 8 additional adult prices and up to 5 children prices, instead of the usual 2 and 2. Once enabled, it will not be possible to deactivate this configuration. |
./Hotel/Names | Y | ||
./Names/Name | N | String | Hotel name in each language. A name cannot be deleted. |
./Name/@Language | N | String | Language of the text |
./Name/@HotelActive | Y | String | Hotel is active in this language |
./Hotel/Descriptions | Y | ||
./Descriptions/Description | N | String | Hotel description in each language |
./Description/@Language | N | String | Language of the text |
./Description/@Type | N | Enum | Description type. Possible values: • SHT: Short • LNG: Long |
./Hotel/HotelInformation | Y | ||
./HotelInformation/Zone | Y | String | Zone name. |
./Zone/@Code | N | Integer | Zone code. |
./HotelInformation/AddressInformation | Y | Address information | |
./AddressInformation/Address | Y | String | Address |
./AddressInformation/PostalCode | Y | String | Postal code |
./AddressInformation/Longitude | Y | Double | Longitude coordenate. |
./AddressInformation/Latitude | Y | Double | Latitude coordinate. |
./HotelInformation/HotelCategory | Y | Hotel category | |
./HotelCategory/@Code | N | Integer | Category code |
./HotelInformation/HotelType | Y | Hotel type | |
./HotelType/@Code | N | Integer | Type code |
./HotelInformation/HotelChain | Y | Hotel chain | |
./HotelChain/@Code | N | Integer | Chain code |
./Hotel/Contact | Y | Contact information | |
./Contact/PhoneNumbers | Y | Phones information | |
./PhoneNumbers/PhoneNumber | N | Phone | |
./PhoneNumber/@Type | N | Enum | Phone number type. Possible values: • GEN: General • BOOK: Bookings |
./PhoneNumber/@Country | Y | String | Country phone code |
./PhoneNumber/@Area | Y | String | Area phone code |
./PhoneNumber/@Number | Y | String | Local phone number |
./Contact/Faxes | Y | Faxes information | |
./Faxes/Fax | Y | Fax | |
./Fax/@Type | N | Enum | Fax type. Possible values: • GEN: General • BOOK: Bookings |
./Fax/@Country | Y | String | Country phone code |
./Fax/@Area | Y | String | Area phone code |
./Fax/@Number | Y | String | Local phone number |
./Contact/Emails | Y | Emails information | |
./Emails/Email | Y | String | Email address |
./Email/@Type | N | Enum | Email type. Possible values: • GEN: General • BOOK: Bookings • ACCOUNT: Accounting • CLAIM: Claims |
./Hotel/Notifications | Y | Notification information | |
./Notifications/Bookings | Y | Booking notifications | |
./Bookings/@SendMailTo | Y | Enum | Recipient of the booking confirmation mails. Possible values: • SUPPLIER • BOKINGKMAIL • SUPPLIER_BOKINGKMAIL |
./Bookings/@SendValuedBookingToSupplier | Y | Boolean | Send the price in the supplier notifications |
./Notifications/ExtranetModification | Y | Notifications on the extranet changes | |
./ExtranetModification/@ExtranetUsers | Y | Boolean | Send to the extranet users |
./ExtranetModification/@DepartmentPurchaseManager | Y | Boolean | Send to the department purchase manager |
./ExtranetModification/@DepartmentExtranet | Y | Boolean | Send to the extranet department email |
./Hotel/Currency | Y | ||
./Currency/@Code | N | String | Currency code |
./Hotel/ProductGroup | Y | ||
./ProductGroup/@Code | N | Integer | Product group code |
./Hotel/Suppliers | Y | Hotel suppliers | |
./Suppliers/Supplier | N | Hotel supplier(only one node at the moment) | |
./Supplier/@Code | N | Integer | Supplier code |
./Hotel/ChildrenAges | Y | Children age information | |
./ChildrenAges/@FirstRangeFrom | Y | Integer | Age from passangers are considerated as children |
./ChildrenAges/@FirstRangeTo | Y | Integer | Age to passangers are considerated as the first range of children |
./ChildrenAges/@SecondRangeTo | Y | Integer | Age to passangers are considerated as the second range of children |
./ChildrenAges/@ThirdRangeTo | Y | Integer | Age to passangers are considerated as the third range of children. Its use requires for a migration and may be unavailable. |
./Hotel/AdvancedInformation | Y | Advanced information | |
./AdvancedInformation/OnlyAvailableInTheCallCenter | Y | Boolean | If the hotel will be only available in the callcenter (false by default) |
./AdvancedInformation/AllowOnRequest | Y | Boolean | If the hotel allow on request bookings (true by default) |
./AdvancedInformation/MinimumAge | Y | Integer | Minimum age allowed in the hotel |
./AdvancedInformation/Rooms | Y | Short | Informative field regarding the hotel total units, independently of the uploaded contract allotment. |
./Hotel/TimeInformation | Y | ||
./TimeInformation/CheckTime | Y | Times to checkin and checkout | |
./CheckTime/@CheckIn | Y | HH:MM | Minimum time to checkin |
./CheckTime/@CheckOut | Y | HH:MM | Maximum time to checkout |
./TimeInformation/HotelTimeZone | Y | String | Hotel time zone |
./TimeInformation/ReleaseTime | Y | HH:MM | Hour when the release change the day |
./Hotel/Images | Y | Images. Kindly note that you may also upload images using the UpdateProductImages transaction. | |
./Images/@Action | N | Enum | Action to be performed. Possible values: • Add: Add the specified elements (if an item already exists, it will be ignored). • Replace: Replace the current items with the specified ones (if empty, this will instead simply delete all of the previously existing items). • Delete: Delete a specific item (if an item does not exist, it will be ignored). |
./Images/Image | Y | URL to the image | |
./Hotel/Services | Y | Services related to with the hotel | |
./Services/@Action | N | Enum | Action to be performed. Possible values: • Add: Add the specified elements (if an item already exists, it will be ignored). • Replace: Replace the current items with the specified ones (if empty, this will instead simply delete all of the previously existing items). • Delete: Delete a specific item (if an item does not exist, it will be ignored). |
./Services/ServicesCategory | Y | Service category | |
./ServicesCategory/@Code | N | String | Service category code |
./ServicesCategory/Service | N | Service | |
./Service/@Code | N | Integer | Service code |
./Hotel/SalesChannels | Y | Sales channels allowed to show this hotel | |
./SalesChannels/@Action | N | Enum | Action to be performed. Possible values: • Add: Add the specified elements (if an item already exists, it will be ignored). • Replace: Replace the current items with the specified ones (if empty, this will instead simply delete all of the previously existing items). • Delete: Delete a specific item (if an item does not exist, it will be ignored). |
./SalesChannels/SalesChannel | Y | Sales channel | |
./SalesChannel/@Code | N | String | Channel code |
./Hotel/BoardTypes | Y | Board types | |
./BoardTypes/@Action | N | Enum | Action to be performed. Possible values: • Add: Add the specified elements (if an item already exists, it will be ignored). Note that board types may not be replaced and/or removed. |
./BoardTypes/BoardType | Y | Board type | |
./BoardType/@Code | N | Integer | Board type code |
./Hotel/RoomTypes | Y | Room types | |
./RoomTypes/@Action | Y | Enum | Action to be performed. Possible values: • Add: Add new rooms • Delete: Delete the specified room codes Kindly note that replacing rooms will not be possible. It is also very important to note that this is an optional property and that: • If not informed, it will attempt to modify any previously existing room type codes (if a room type @Code does not exist an error response will be returned). • If informed (along the @Add action), it will create new room types for all of the specified room occupancy codes (if the room occupancy code already exists it will also supply you with a warnNewRoomType warning on the response). |
./RoomTypes/RoomType | Y | Room type | |
./RoomType/@Code | N | Integer | Room type/occupancy code. While using this property, it is important to understand that: • When adding a new room, it will expect a room occupancy code. • When modifying previously existing rooms, it will expect a room type code. |
./RoomType/@PriceRoom | Y | Boolean | If this room have price for the complet room |
./RoomType/@MinimumAge | Y | Integer | Minimum age allowed |
./RoomType/@FirstAdditional | Y | Integer | First adult of the room to be rated as an additional adult. If you would like to remove this configuration (on a room on which you previously configured a @FirstAdditional), you may send the property along a value of 0. |
./RoomType/@ExternalCode | Y | String | External code. Currently allows for up to a maximum of 10 characters. |
./RoomType/@NonRefundable | Y | Boolean | If true, the room will convey a non refundable cancellation policy. |
./RoomType/@ChildrenAsAdults | Y | Boolean | If true, the children that do not fit with the children category of the room will be considered and rated as adults. If not specified, its default value will be true. |
./RoomType/Names | Y | Room names | |
./Names/Name | N | String | Room name |
./Name/@Language | N | String | Language |
./RoomType/AlternativeAllotment | Y | - | Alternative allotment configuration. |
./AlternativeAllotment/Room | N | - | Room that it would take allotments from alternatively (for reference, this room will keep having its own allotments available but, when at 0, it will attempt to use the allotments from the alternative room that's established here). |
./Room/@Code | Y | Integer | Room code. At least one of these properties will need to be provided. |
./Room/@ExternalCode | Y | String | Room external code. |
./AlternativeAllotment/SharedAllotmentType | N | - | Allotment types that will be shared. |
./SharedAllotmentType/@Base | Y | Boolean | Base allotments. |
./SharedAllotmentType/@Secured | Y | Boolean | Secured allotments. |
./SharedAllotmentType/@Minimum | Y | Boolean | Minimum allotments. |
./RoomType/Descriptions | Y | Room descriptions | |
./Descriptions/Description | N | String | Room description |
./Description/@Language | N | String | Language |
./RoomType/RoomCategory | Y | Room category | |
./RoomCategory/@Code | Y | Integer | Category code |
./RoomType/RoomArea | Y | ||
./RoomArea/@Size | Y | Decimal | Room area size |
./RoomArea/@Unit | Y | Enum | Room area unit type. Possible values: • F: Feet2 • M: Meter2 |
./RoomType/Images | Y | Room images | |
./Images/@Action | N | Enum | Action to be performed. Possible values: • Add: Add the specified elements (if an item already exists, it will be ignored). • Replace: Replace the current items with the specified ones (if empty, this will instead simply delete all of the previously existing items). • Delete: Delete a specific item (if an item does not exist, it will be ignored). |
./Images/Image | Y | Specific image | |
./Image/Path | N | String | Image path |
./RoomType/AgeLimits | Y | - | Age limits. If you set the node empty, it will delete any previously existing age limits. |
./AgeLimits/AgeLimit | Y | - | Age limit |
./AgeLimit/@Type | N | String | Age limit type. Possible values: • Child • Guest |
./AgeLimit/@From | N | Integer | From age |
./AgeLimit/@MaxAge | N | Integer | Maximum age |
./RoomType/Infants | Y | - | Room infant information. |
./Infants/@Max | Y | Integer | Maximum number of infants allowed in the room. If not specified, there will not be any limit established. |
./Hotel/SpecialNotes | Y | - | Special note information |
./SpecialNotes/@Action | Y | String | Enum |
./SpecialNotes/SpecialNote | Y | - | Specific special note |
./SpecialNote/@Start | Y | Date | Special note start date |
./SpecialNote/@End | Y | Date | Special note end date |
./SpecialNote/Notes | N | - | Special note, separated by languages. |
./Notes/Note | N | String | Special note contents for a specific language. |
./Note/@Language | N | String | Special note language code |
./SpecialNote/SupplierContracts | Y | - | Special note supplier contract filter. If empty, the note will apply to all of the available contracts. |
./SupplierContracts/SupplierContract | Y | - | Specific supplier contract. |
./SupplierContract/@Code | N | Integer | Supplier contract internal code |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelUpdate>
<HotelUpdateRQ Version = "1" Language = "es">
<Login Password = "pass" Email = "user@mydomain.com"/>
<HotelUpdateRequest>
<Hotel Code = "9862">
<Names>
<Name Language = "en" HotelActive = "true">Hotel Take EN</Name>
<Name Language = "es" HotelActive = "true">Hotel Take ES</Name>
</Names>
<Descriptions>
<Description Language = "en" Type = "SHT">No tocar EN</Description>
<Description Language = "en" Type = "LNG">Descripción <strong>larga </strong>Hotel Take EN</Description>
<Description Language = "es" Type = "SHT">No tocar ES</Description>
<Description Language = "es" Type = "LNG">Descripción <strong>larga </strong>Hotel Take</Description>
</Descriptions>
<Contact>
<PhoneNumbers>
<PhoneNumber Type = "BOOK" Country = "971" Area = "123" Number = "456"/>
<PhoneNumber Type = "GEN"/>
</PhoneNumbers>
<Emails>
<Email Type = "GEN">noreply@ejuniper.com</Email>
</Emails>
</Contact>
<Images Action = "Add">
<Image>/hotels/Hotel_Test/image1.jpg</Image>
<Image>/hotels/Hotel_Test/image2.jpg</Image>
</Images>
<Services Action = "Add">
<ServicesCategory Code = "A">
<Service Code = "63"/>
<Service Code = "40"/>
<Service Code = "56"/>
</ServicesCategory>
<ServicesCategory Code = "B">
<Service Code = "23"/>
</ServicesCategory>
</Services>
<SalesChannels Action = "Add">
<SalesChannel Code = "Dbg"/>
<SalesChannel Code = "EUR"/>
</SalesChannels>
<BoardTypes Action = "Add">
<BoardType Code = "5523"/>
</BoardTypes>
<HotelInformation>
<Zone Code = "17852"/>
</HotelInformation>
<RoomTypes Action = "Add">
<RoomType Code = "30" MinimumAge = "1" ExternalCode = "DDD" NonRefundable = "true">
<Names>
<Name Language = "en">Blele212</Name>
<Name Language = "es">Blele</Name>
</Names>
<RoomCategory Code = "42"/>
</RoomType>
</RoomTypes>
</Hotel>
</HotelUpdateRequest>
</HotelUpdateRQ>
</HotelUpdate>
</soapenv:Body>
</soapenv:Envelope>
Additionally, kindly refer to modification example of specific information:
<Names>
<Name Language="en">New hotel name</Name>
</Names>
<Names>
<Name Language="en" HotelActive="false" />
</Names>
<PhoneNumbers>
<PhoneNumber Type="GEN" Country="111" Area="222" Number="333"/>
</PhoneNumbers>
<PhoneNumbers>
<PhoneNumber Type="GEN" Country="" Area="" Number="111222333"/>
</PhoneNumbers>
<PhoneNumbers>
<PhoneNumber Type="GEN" Country="" Area="" Number="111222333"/>
</PhoneNumbers>
<PhoneNumbers>
<PhoneNumber Type="GEN"/>
</PhoneNumbers>
<Images Action="Add">
<Image>/hotels/Hotel_Test/image1.jpg</Image>
<Image>/hotels/Hotel_Test/image2.jpg</Image>
</Images>
<Images Action="Delete">
<Image>/hotels/Hotel_Test/image1.jpg</Image>
</Images>
<Images Action="Replace">
<Image>/hotels/Hotel_Test/image1.jpg</Image>
<Image>/hotels/Hotel_Test/image2.jpg</Image>
<Image>/hotels/Hotel_Test/image3.jpg</Image>
</Images>
<Images Action="Replace" />
<Services Action="Add">
<ServicesCategory Code="A">
<Service Code="63"/>
<Service Code="40"/>
</ServicesCategory>
<ServicesCategory Code="B">
<Service Code="23"/>
</ServicesCategory>
</Services>
<Services Action="Delete">
<ServicesCategory Code="A">
<Service Code="63"/>
</ServicesCategory>
</Services>
<Services Action="Replace">
<ServicesCategory Code="A">
<Service Code="63"/>
<Service Code="40"/>
</ServicesCategory>
<ServicesCategory Code="B">
<Service Code="23"/>
</ServicesCategory>
</Services>
<Services Action="Replace" />
<RoomTypes Action = "Add">
<RoomType Code = "2" PriceRoom = "true" FirstAdditional = "3" ExternalCode = "ABC123">
<Names>
<Name Language = "en">Triple Room Sea View</Name>
<Name Language = "es">Habitacion Triple Mar</Name>
</Names>
<RoomCategory Code = "42"/>
</RoomType>
<RoomType Code = "2" PriceRoom = "true" FirstAdditional = "3" ExternalCode = "ABC123">
<Names>
<Name Language = "en">Triple Room Mountain View</Name>
<Name Language = "es">Habitacion Triple Montaña</Name>
</Names>
<RoomCategory Code = "42"/>
</RoomType>
</RoomTypes>
<RoomTypes>
<RoomType Code = "2" PriceRoom = "true" FirstAdditional = "3" ExternalCode = "ABC123">
<Names>
<Name Language = "en">Triple Room Sea View Deluxe</Name>
<Name Language = "es">Habitacion Triple Mar Deluxe</Name>
</Names>
<RoomCategory Code = "57"/>
</RoomType>
<RoomType Code = "79" PriceRoom = "true" FirstAdditional = "3" ExternalCode = "ABC123">
<Names>
<Name Language = "en">Triple Room Mountain View Deluxe</Name>
<Name Language = "es">Habitacion Triple Montaña Deluxe</Name>
</Names>
<RoomCategory Code = "57"/>
</RoomType>
</RoomTypes>
Following the request example, if the modification is correct, the system will supply you with the hotel complete information, which is exactly the same information as the one supplied on the HotelDetail response.
Kindly refer to the HotelDetail section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelUpdateResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelUpdateRS Url="http://localhost" TimeStamp="2016-02-19T16:00:55.4396399+01:00" IntCode="vbflRkLXsAwci1LLJwBTc9eJHQHJRAZ9FAk+0OC3yZw=">
<HotelUpdateResponse>
<Hotel ExternalCode="final" Code="12067">
<Names>
<Name Language="es" HotelActive="true">Nombre español</Name>
<Name Language="en" HotelActive="true">English name</Name>
</Names>
<Descriptions>
<Description Language="es" Type="SHT">Corta en español</Description>
<Description Language="es" Type="LNG">Larga en español</Description>
<Description Language="en" Type="SHT">English short</Description>
<Description Language="en" Type="LNG">English long</Description>
</Descriptions>
<HotelInformation>
<Zone Code="54922">North Miami</Zone>
<AddressInformation>
<Address>Calle ancha sn</Address>
<PostalCode>07000</PostalCode>
<Longitude>2.234</Longitude>
<Latitude>35.933</Latitude>
</AddressInformation>
<HotelCategory Code="15">Clarion</HotelCategory>
<HotelType Code="27">General</HotelType>
<HotelChain Code="17">Cadena Máximo</HotelChain>
</HotelInformation>
<Contact>
<PhoneNumbers>
<PhoneNumber Type="GEN" Country="+32" Area="3212" Number="4342342431"/>
</PhoneNumbers>
<Faxes>
<Fax Type="GEN" Country="+13" Area="32423" Number="434241324"/>
</Faxes>
<Emails>
<Email Type="BOOK">hola@ejuniper.com</Email>
</Emails>
</Contact>
<Notifications>
<Bookings SendMailTo="SUPPLIER" SendValuedBookingToSupplier="true"/>
<ExtranetModification ExtranetUsers="true" DepartmentPurchaseManager="true" DepartmentExtranet="true"/>
</Notifications>
<Currency Code="EUR"/>
<ProductGroup Code="92">Grupo JES</ProductGroup>
<Suppliers>
<Supplier Code="288">TEST</Supplier>
</Suppliers>
<ChildrenAges FirstRangeFrom="3" FirstRangeTo="7" SecondRangeTo="12"/>
<AdvancedInformation>
<OnlyAvailableInTheCallCenter>false</OnlyAvailableInTheCallCenter>
<AllowOnRequest>true</AllowOnRequest>
<MinimumAge>2</MinimumAge>
<Rooms>100</Rooms>
</AdvancedInformation>
<TimeInformation>
<CheckTime CheckIn="10:15" CheckOut="12:00"/>
<HotelTimeZone>Alaskan Standard Time</HotelTimeZone>
<ReleaseTime>12:00</ReleaseTime>
</TimeInformation>
<Services>
<ServicesCategory Code="A">
<Service Code="18">billar2</Service>
<Service Code="6">H- Recepción</Service>
<Service Code="17">restaurante</Service>
</ServicesCategory>
<ServicesCategory Code="R">
<Service Code="8">R- Restaurante barato</Service>
</ServicesCategory>
</Services>
<SalesChannels>
<SalesChannel Code="Web"/>
</SalesChannels>
<BoardTypes>
<BoardType Code="2">Con Desayuno</BoardType>
<BoardType Code="7">Media Pensión</BoardType>
</BoardTypes>
<RoomTypes>
<RoomType Code="215" MinimumAge="2" FirstAdditional="2" ExternalCode="external">
<Names>
<Name Language="es">Español</Name>
<Name Language="en">Español</Name>
</Names>
<RoomCategory Code="43">Individual</RoomCategory>
<RoomArea Size="20.45" Unit="F"/>
</RoomType>
</RoomTypes>
</Hotel>
</HotelUpdateResponse>
</HotelUpdateRS>
</HotelUpdateResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to immediately block / unblock the creation of new booking for certain supplier contracts.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
BlockContracts | N | - | Filters needed in order to perform the blockage. |
./BlockContracts/@Block | N | Boolean | If the value is True the contracts will be blocked, False they will be unblocked. |
./BlockContracts/Suppliers | Y | - | - |
./Suppliers/Supplier | Y | - | Supplier. All the supplier contracts related to the hotels of the suppliers specified here will be blocked/unlocked. Limited to 3 supplier. |
./Supplier/@IntCode | Y | Integer | Supplier internal code. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<BlockHotelContracts>
<BlockHotelContractsRQ Version="1.1" Language="en">
<Login Password="pass" Email="user@mydomain.com"/>
<BlockContracts Block="true">
<Suppliers>
<Supplier IntCode="1"/>
<Supplier IntCode="5"/>
</Suppliers>
</BlockContracts>
</BlockHotelContractsRQ>
</BlockHotelContracts>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
BlockHotelContractsResponse | N | - | - |
./BlockHotelContractsResponse/BlockHotelContractsResult | N | - | - |
./BlockHotelContractsResult/@Blocked | N | Boolean | Indicates if the contracts have been blocked or unblocked. |
Example 1
Following the request example where we send two valid suppliers, the response would be the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<BlockHotelContractsResponse>
<BlockHotelContractsRS Url="http://xml.bookingengine.es" TimeStamp="2014-05-19T10:03:57.6186798+02:00" IntCode="u+l+aP7VT0svoiZ5jzJCp+OlsF3/Hjj0cG0lGjBHoWU=">
<BlockHotelContractsResult Blocked="true"/>
</BlockHotelContractsRS>
</BlockHotelContractsResponse>
</soapenv:Body>
</soapenv:Envelope>
Example 2
In this example, we send a block request with two suppliers, one valid supplier and one supplier without any related supplier contract.
Even if one supplier fails the rest of the valid suppliers will proceed with the petition accordingly.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<BlockHotelContractsResponse>
<BlockHotelContractsRS Url="http://xml.bookingengine.es" TimeStamp="2014-05-19T10:03:57.6186798+02:00" IntCode="u+l+aP7VT0svoiZ5jzJCp+OlsF3/Hjj0cG0lGjBHoWU=">
<Warnings>
<Warning Code=" warnSupplierNoContracts">
<Text>The Supplier '999' does not have any contract</Text>
</Warning>
</Warnings>
<BlockHotelContractsResult Blocked="true"/>
</BlockHotelContractsRS>
</BlockHotelContractsResponse>
</soapenv:Body>
</soapenv:Envelope>
Example 3
No contract will be blocked because the login is not correct.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<BlockHotelContractsResponse xmlns="http://www.juniper.es/webservice/2007/">
<BlockHotelContractsRS Url="http://localhost" TimeStamp="2014-05-16T16:55:13.2447055+02:00" IntCode="fcvg+1tPg/NcctH+jidfq6jVPongTmVFHfgRiMkr1cQ=">
<Errors>
<Error Code="INVALID_USER_OR_PASSWORD">
<Text>Login fails - Invalid user or password</Text>
</Error>
</Errors>
<BlockHotelContractsResult/>
</BlockHotelContractsRS>
</BlockHotelContractsResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to block / unblock booking reservations, which won’t be able to be modified nor cancelled.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
BlockBookings | N | - | Filters needed in order to perform the blockage. |
./BlockBookings/@Block | N | Boolean | If the value is True the bookings will be blocked, False they will be unblocked. |
./BlockBookings/Suppliers | Y | - | - |
./Suppliers/Supplier | Y | - | Supplier. All the hotel bookings related to the hotels of the suppliers specified here will be blocked/unlocked. Limited to 3 supplier. |
./Supplier/@IntCode | Y | Integer | Supplier internal code. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<BlockHotelBookings>
<BlockHotelBookingsRQ Version="1.1" Language="en">
<Login Password="pass" Email="user@mydomain.com"/>
<BlockBookings Block="true">
<Suppliers>
<Supplier IntCode="1"/>
<Supplier IntCode="5"/>
</Suppliers>
</BlockBookings>
</BlockHotelBookingsRQ>
</BlockHotelBookings>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
BlockHotelBookingsResults | N | - | - |
./BlockHotelBookingsResults/@Blocked | N | Boolean | Indicates if the bookings have been blocked or unblocked. |
Reservation | Y | - | - |
./Reservation/@Locator | Y | String | Booking code |
./Reservation/Items | Y | - | - |
./Items/HotelItem | Y | - | - |
./HotelItem/@ItemId | Y | Int | Item Identifier |
./HotelItem/Hotel | Y | - | - |
./Hotel/@Code | Y | String | Hotel Code |
./Hotel/Name | Y | - | Hotel Name |
Example 1
Following the request example where we send two valid suppliers, the response would be the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<BlockHotelBookingsResponse>
<BlockHotelBookingsRS Url="http://xml.bookingengine.es" TimeStamp="2014-05-19T10:03:57.6186798+02:00" IntCode="u+l+aP7VT0svoiZ5jzJCp+OlsF3/Hjj0cG0lGjBHoWU= ">
<BlockHotelBookingsResults Blocked="true">
<Reservartion Locator="CSY243">
<Items>
<HotelItem ItemId="46689">
<Hotel Code="123">
<Name>HotelTest</Name>
</Hotel>
</HotelItem>
</Items>
</Reservartion>
</BlockHotelBookingsResults>
</BlockHotelBookingsRS>
</BlockHotelBookingsResponse>
</soapenv:Body>
</soapenv:Envelope>
In this example there’s only one booking.
Example 2
In this example, we send a block request with two suppliers, one valid supplier and one supplier without any related booking.
Even if one supplier fails the rest of the valid suppliers will proceed with the petition accordingly.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<BlockHotelBookingsResponse>
<BlockHotelBookingsRS Url="http://xml.bookingengine.es" TimeStamp="2014-05-19T10:03:57.6186798+02:00" IntCode="u+l+aP7VT0svoiZ5jzJCp+OlsF3/Hjj0cG0lGjBHoWU= ">
<Warnings>
<Warning Code="warnSupplierNoBookings">
<Text>The Supplier '999' does not have any booking</Text>
</Warning>
</Warnings>
<BlockHotelBookingsResults Blocked="true">
<Reservartion Locator="CSY243">
<Items>
<HotelItem ItemId="46689">
<Hotel Code="123">
<Name>HotelTest</Name>
</Hotel>
</HotelItem>
</Items>
</Reservartion>
</BlockHotelBookingsResults>
</BlockHotelBookingsRS>
</BlockHotelBookingsResponse>
</soapenv:Body>
</soapenv:Envelope>
Example 3:
Here no booking is blocked because the property “Block” is missing from the request.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<BlockHotelBookingsResponse xmlns="http://www.juniper.es/webservice/2007/">
<BlockHotelBookingsRS Url="http://localhost" TimeStamp="2014-05-16T16:58:28.8702833+02:00" IntCode="t7dIHjkMIl8CEJdLWqj4OJB02f/YVzk6/LsRNWib/fc=">
<Errors>
<Error Code="JP_HOTEL_BLOCK">
<Text>XML seems to be incomplete. Block attribute was expected</Text>
</Error>
</Errors>
<BlockHotelContractsResult/>
</BlockHotelBookingsRS>
</BlockHotelBookingsResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain the allotment contracts of a hotel. Concretely, information related about the allotment itself and its stopsales.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Hotels | N | - | List of hotels to obtain. |
./Hotels/Hotel | N | - | |
./Hotel/@Code | N | Integer | Hotel code. |
AllotmentContracts | Y | - | List of allotment contracts to obtain. |
./AllotmentContracts/AllotmentContract | Y | - | Allotment contract. |
./AllotmentContract/@Code | N | Integer | Allotment contract code. |
Date | N | - | Date period of results |
./Date/@From | N | Date | Start period. |
./Date/@To | N | Date | End period. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Body>
<HotelAllotment>
<HotelAllotmentRQ Version="1.1" Language="en">
<Login Password="pass" Email="user@mydomain.com"/>
<Hotels>
<Hotel Code="123">
<AllotmentContracts>
<AllotmentContract Code="321"/>
<AllotmentContract Code="654"/>
</AllotmentContracts>
</Hotel>
</Hotels>
<Date From="2016-01-01" To="2016-01-31"/>
</HotelAllotmentRQ>
</HotelAllotment>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Hotels | N | - | List of hotels. |
./Hotels/Hotel | N | - | Hotel. |
./Hotel/@Code | N | Integer | Contract code. |
./Hotel/AllotmentContracts | N | - | List of allotment contracts. |
./AllotmentContracts/AllotmentContract | N | - | Allotment contract. |
./AllotmentContract/@Code | N | Integer | Allotment contract code. |
./AllotmentContract/@IsExtranet | N | Boolean | Indicates if it’s an Extranet contract. |
./AllotmentContract/@ContractAllotmentBaseCode | Y | Integer | Allotment contract BASE code. (contract which it depends on) |
./AllotmentContract/@ReservedAllotment | Y | Boolean | Indicates if the rooms’ allotment for this contract subtract the allotment from the base contract, reserving them exclusively. (visible only if ContractAllotmentBaseCode is specified) |
./AllotmentContract/Allotments | Y | - | List of allotments. |
./Allotments/{Allotment} | Y | - | Allotment to change. Will be explained in a following point. |
./AllotmentContract/StopSales | Y | - | List of stop sales. |
./StopSales/{StopSale} | Y | - | Stop sales to change. Will be explained in a following point. |
It stands for a specific allotment object. We refer to this object as {Allotment}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
RoomTypes | N | - | List of room types of the allotment. |
./RoomTypes/RoomType | N | - | At least have to be a RoomType node. |
./RoomType/@Code | N | Integer | Room type code |
Dates | N | - | List of date periods. |
./Dates/Date | N | - | At least have to be a Date node. |
./Date/@From | N | Date | Date from the change will be done. |
./Date/@To | N | Date | Date to the changed will be done |
@BaseAllotment | N | Integer | Indicate the base allotment. |
@NormalUsed | N | Integer | Allotment used by bookings. It is not possible to have less allotment than this value. |
@ExtraAllotment | N | Integer | Extra allotment on the contract. |
@TotalAvailable | N | Integer | Total free allotment available to book. |
@FreeSales | N | Boolean | Indicate if there are no limit on the allotment. |
It stands for a specific stop sale object. We refer to this object as {StopSale}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
RoomTypes | Y | - | List of room types that the stopsales applies. If it is not appearing, apply to all the room types. |
./RoomTypes** | RoomType** | Y | - |
./RoomType/@Code | N | Integer | Room type code. |
Dates | N | - | List of date periods. |
./Dates/Date | N | - | Date node. |
./Date/@From | N | Date | From date. |
./Date/@To | N | Date | To date. |
@Action | N | String | Possible values: - Close: It will be not possible to book. - OnRequest: Booking will be created as on request. |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelAllotmentResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelAllotmentRS Url="http://xml.bookingengine.es" TimeStamp="2015-10-02T16:00:30.8533448+02:00" IntCode="9pxGSJ5P83BbNasTT1A5LXmewYPNcSCJf/7pd8VcxEY=">
<Hotels>
<Hotel Code="123">
<AllotmentContracts>
<AllotmentContract Code="321" IsExtranet="false">
<Allotments>
<Allotment BaseAllotment="20" NormalUsed="7" ExtraAllotment="5" TotalAvailable="22" FreeSales="false">
<Dates>
<Date From="2016-01-01" To="2016-01-10"/>
<Date From="2016-01-20" To="2016-01-31"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
</RoomTypes>
</Allotment>
<Allotment BaseAllotment="0" NormalUsed="0" ExtraAllotment="0" TotalAvailable="999" FreeSales="true">
<Dates>
<Date From="2015-01-11" To="2015-01-19"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
<RoomType Code="222"/>
</RoomTypes>
</Allotment>
</Allotments>
</AllotmentContract>
<AllotmentContract Code="654" ContractAllotmentBaseCode="321" ReservedAllotment="true" IsExtranet="false">
<Allotments>
<Allotment BaseAllotment="10" NormalUsed="5" ExtraAllotment="0" TotalAvailable="5" FreeSales="false">
<Dates>
<Date From="2016-01-01" To="2016-01-31"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
</RoomTypes>
</Allotment>
</Allotments>
<StopSales>
<StopSale Action="Close">
<Dates>
<Date From="2015-01-11" To="2015-01-19"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
</RoomTypes>
</StopSale>
<StopSale Action="OnRequest">
<Dates>
<Date From="2016-01-01" To="2016-01-10"/>
<Date From="2016-01-20" To="2016-01-31"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
</RoomTypes>
</StopSale>
</StopSales>
</AllotmentContract>
</AllotmentContracts>
</Hotel>
</Hotels>
</HotelAllotmentRS>
</HotelAllotmentResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to update the allotment and stopsales of an allotment contract.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
AllotmentContracts | N | - | List of allotment contracts. |
./AllotmentContracts/AllotmentContract | N | - | Allotment contract. |
./AllotmentContract/@Code | N | Integer | Allotment contract code. |
./AllotmentContract/Allotments | Y | - | List of allotments. |
./Allotments/{Allotment} | Y | - | Allotment to change. Will be explained in a following point. |
./AllotmentContract/StopSales | Y | - | List of stop sales. |
./StopSales/{StopSale} | Y | - | Stop sales to change. Will be explained in a following point. |
It stands for a specific allotment object. We refer to this object as {Allotment}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
RoomTypes | N | - | List of room types of the allotment. |
./RoomTypes/RoomType | N | - | At least have to be a RoomType node. |
./RoomType/@Code | N | Integer | Room type code |
Dates | N | - | List of date periods. |
./Dates/Date | N | - | At least have to be a Date node. |
./Date/@From | N | Date | Date from the change will be done. |
./Date/@To | N | Date | Date to the changed will be done |
@BaseAllotment | Y | Integer | Indicate the base allotment. |
@ExtraAllotment | Y | Integer | Extra allotment on the contract. |
@FreeSales | Y | Boolean | Indicate if there are no limit on the allotment. |
It stands for a specific stop sale object. We refer to this object as {StopSale}
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
RoomTypes | Y | - | |
./RoomTypes/RoomType | Y | - | Room type to apply. |
./RoomType/@Code | N | Integer | Room type code. |
Dates | N | - | List of date periods. |
./Dates/Date | N | - | Date node. |
./Date/@From | N | Date | From date. |
./Date/@To | N | Date | To date. |
@Action | N | String | Action will be taken. Possible values: Close: Days will be close, and it will be not possible to book. Open: Days will be open, and stopsales on these days will be deleted. OnRequest: An on request stopsales will be created on that days. Booking will be created as on request. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Body>
<HotelAllotmentUpdate>
<HotelAllotmentUpdateRQ Version="1.1" Language="en">
<Login Password="pass" Email="user@mydomain.com"/>
<AllotmentContracts>
<AllotmentContract Code="321">
<Allotments>
<Allotment BaseAllotment="20" ExtraAllotment="5" FreeSales="false">
<Dates>
<Date From="2016-01-01" To="2016-01-10"/>
<Date From="2016-01-20" To="2016-01-31"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
</RoomTypes>
</Allotment>
<Allotment FreeSales="true">
<Dates>
<Date From="2015-01-11" To="2015-01-19"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
<RoomType Code="222"/>
</RoomTypes>
</Allotment>
</Allotments>
<StopSales>
<StopSale Action="OnRequest">
<Dates>
<Date From="2015-10-01" To="2015-10-10"/>
</Dates>
<RoomTypes>
<RoomType Code="111"/>
</RoomTypes>
</StopSale>
<StopSale Action="Open">
<Dates>
<Date From="2015-01-11" To="2015-01-19"/>
</Dates>
<RoomTypes>
<RoomType Code="222"/>
</RoomTypes>
</StopSale>
</StopSales>
</AllotmentContract>
</AllotmentContracts>
</HotelAllotmentUpdateRQ>
</HotelAllotmentUpdate>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Success | N | Boolean | Indicates whether the changes were succesfull or not. |
Example 1:
Modification OK
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelAllotmentUpdateResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelAllotmentUpdateRS Url="http://xml.bookingengine.es" TimeStamp="2015-10-05T10:09:44.5397229+02:00" IntCode="MrNmBd+xfuDBmrtuSEQi79vJj09Mrt3RDAAF7OEFdX4=">
<Succes>true</Succes>
</HotelAllotmentUpdateRS>
</HotelAllotmentUpdateResponse>
</soap:Body>
</soap:Envelope>
Example 2:
Modification KO
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelAllotmentUpdateResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelAllotmentUpdateRS Url="http://xml.bookingengine.es" TimeStamp="2015-10-05T10:12:18.6797229+02:00" IntCode="/xEqEVDGwa6HRzf4vxW+NTfE61ix/3B50fkhqvfnxV4=">
<Errors>
<Error Code="JP_INVALID_ROOMTYPECODE">
<Text>Invalid roomtype code: Incorrect room type 6412</Text>
</Error>
</Errors>
<Succes>false</Succes>
</HotelAllotmentUpdateRS>
</HotelAllotmentUpdateResponse>
</soap:Body>
</soap:Envelope>
Example 3:
In this example all of the modifications went ok with the exception of the allotment modification for the day “01/08/2016”, room “111” and contract “321” because, as the warning says, the used allotment is higher tan the base + extra that wants to be updated.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelAllotmentUpdateResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelAllotmentUpdateRS Url="http://xml.bookingengine.es" TimeStamp="2015-10-05T09:53:27.463282+02:00" IntCode="uitfnWwHgddzLf7zTwBo6GbElHu3lJkvFc8KWHLcx64=">
<Warnings>
<Warning Code="warnAssignedAllotmentHigher">
<Text>Allotment can not be modified because the used allotment is higher than the base-extra. ContractAllotment: 321. RoomType: 111. Dates: 01/08/2016.</Text>
</Warning>
</Warnings>
<Success>true</Success>
</HotelAllotmentUpdateRS>
</HotelAllotmentUpdateResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain the prepayments and recoveries of some hotels or contracts.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Hotels | Y | - | Filters the results by hotels. |
./Hotels/Hotel | N | - | Hotels. |
./Hotel/@Code | N | Int | IdAlo of the desired hotels. |
Contracts | Y | - | Filters the results by contract. |
./Contracts/Contract | N | - | Contracts. |
./Contract/@Code | N | Int | IdCon of the desired contracts. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GetHotelPrepayments>
<GetHotelPrepaymentsRQ Version="1" Language="ES">
<Login Password="pass" Email="user@mydomain.com"/>
<Hotels>
<Hotel Code="1195" />
</Hotels>
<Contracts>
<Contract Code="128867"/>
</Contracts>
</GetHotelPrepaymentsRQ>
</GetHotelPrepayments>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Hotels | Y | - | - |
./Hotels/Hotel | Y | - | Hotel. |
./Hotel/@Code | N | Int | Hotel code. |
./Hotel/Name | N | String | Hotel name. |
./Hotel/Contracts | N | - | Contracts. |
./Contracts/Contract | N | - | Contract |
./Contract/@Code | N | Int | Contract code. |
./Contract/Name | N | String | Contract name. |
./Contract/Prepayments | N | - | Prepayments |
./Prepayments/Prepayment | N | - | Prepayment |
./Prepayment/@Code | N | Integer | Prepayment code |
./Prepayment/@Type | N | String | F: Fixe, P: Percentage, G: Guarantie |
./Prepayment/BookingDate | Y | - | Only in percentage prepayments |
./BookingDate/@From | N | Date | From booking |
./BookingDate/@To | N | Date | To booking |
./Prepayment/StayDate | N | - | When the client stay at the hotel |
./StayDate/@From | N | Date | From |
./StayDate/@To | N | Date | To |
./Prepayment/ExpirationDate | N | Date | Expire date |
./Prepayment/Value | N | Double | Prepayment value |
./Prepayment/Description | N | String | Prepayment description |
./Contract/Recoveries | N | - | Recoveries |
./Recoveries/Recovery | N | - | Recovery |
./Recovery/@Type | N | String | F: Fixe, P: Percentage, G: Guarantie |
./Recovery/RecoveryDate | Y | Date | Recovery date |
./Recovery/Value | Y | Double | Recovery value |
./Recovery/InvoiceByBookings | N | Boolean | Invoice by bookings |
./Recovery/Prepayments | Y | - | Related prepayments |
./Prepayments/Prepayments | N | Date | Prepayment |
./Prepayments/@Code | N | Date | Prepayment code |
Example 1:
Following the request example where of the results for one contract. It define a prepayment for the bookings made in September, for stay between the 14th and 29th of October, and it will be pay a 10% on the 31st. The recovery will be on the bookings invoice:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetHotelPrepaymentsInfoResponse xmlns="http://www.juniper.es/webservice/2007/">
<GetHotelPrepaymentsRS Url=http://localhost
TimeStamp="2015-10-30T13:50:27.9276124+01:00"
IntCode="C3fWgJZB05m/44OBZuNGToXOIeCrLTPv7OTweFl/7Qw=" >
<Hotels>
<Hotel Code="1194">
<Name>Hotel fine</Name>
<Contracts>
<Contract Code="128858">
<Name>copia 1</Name>
<Prepayments>
<Prepayment Type="P" Code="366">
<BookingDate From="2015-09-01" To="2015-09-30"/>
<StayDate From="2015-10-14" To="2015-10-29"/>
<ExpirationDate>2015-10-31</ExpirationDate>
<Value>10</Value>
<Description>Description</Description>
</Prepayment>
</Prepayments>
<Recoveries>
<Recovery Type="P">
<InvoiceByBookings>true</InvoiceByBookings>
<Prepayments>
<Prepayment Code="-1"/>
</Prepayments>
</Recovery>
</Recoveries>
</Contract>
</Contracts>
</Hotel>
</Hotels>
</GetHotelPrepaymentsRS>
</GetHotelPrepaymentsInfoResponse>
</soap:Body>
</soap:Envelope>
Example 2:
In this example, we can show a more complex contract. There are two fixed prepayments, one of 1000 and the other of 2000, for the booking of diferent dates. These prepayments are related with two diferent recoveries.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetHotelPrepaymentsResponse xmlns="http://www.juniper.es/webservice/2007/">
<GetHotelPrepaymentsRS Url=http://localhost
TimeStamp="2015-10-30T13:50:27.9276124+01:00"
IntCode="C3fWgJZB05m/44OBZuNGToXOIeCrLTPv7OTweFl/7Qw=" >
<Hotels>
<Hotel Code="1194">
<Name>hotel cutre</Name>
<Contracts>
<Contract Code="128867">
<Name>Other contract</Name>
<Prepayments>
<Prepayment Type="F" Code="346">
<StayDate From="2016-09-03" To="2016-09-30"/>
<ExpirationDate>2016-10-10</ExpirationDate>
<Value>2000</Value>
<Description>First part</Description>
</Prepayment>
<Prepayment Type="F" Code="365">
<StayDate From="2015-10-05" To="2015-10-10"/>
<ExpirationDate>2015-11-08</ExpirationDate>
<Value>1000</Value>
<Description>Second part</Description>
</Prepayment>
</Prepayments>
<Recoveries>
<Recovery Type="P">
<RecoveryDate>2016-10-23</RecoveryDate>
<Value>67</Value>
<InvoiceByBookings>false</InvoiceByBookings>
<Prepayments>
<Prepayment Code="346"/>
<Prepayment Code="365"/>
</Prepayments>
</Recovery>
<Recovery Type="P">
<RecoveryDate>2016-10-29</RecoveryDate>
<Value>33</Value>
<InvoiceByBookings>false</InvoiceByBookings>
<Prepayments>
<Prepayment Code="346"/>
<Prepayment Code="365"/>
</Prepayments>
</Recovery>
</Recoveries>
</Contract>
</Contracts>
</Hotel>
</Hotels>
</GetHotelPrepaymentsRS>
</GetHotelPrepaymentsResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain the marketing contribution related to some hotels or contracts.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Hotels | Y | - | Filters the results by hotels. |
./Hotels/Hotel | N | - | Hotels. |
./Hotel/@Code | N | Int | IdAlo of the desired hotels. |
Contracts | Y | - | Filters the results by contract. |
./Contracts/Contract | N | - | Contracts. |
./Contract/@Code | N | Int | IdCon of the desired contracts. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GetHotelContributions>
<GetHotelContributionsInfoRQ Version="1" Language="ES">
<Login Password="pass" Email="user@mydomain.com"/>
<Hotels>
<Hotel Code="1195" />
</Hotels>
<Contracts>
<Contract Code="128867"/>
</Contracts>
</GetHotelContributionsInfoRQ>
</GetHotelContributions>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Contributions | Y | - | - |
./Contributions/Contribution | Y | - | Contribution information. |
./Contribution/@Active | N | Boolean | If contribution is active. |
./Contribution/@Type | N | String | F: Fixe, P: Percentage, A: Allotment. |
./Contribution/Name | N | String | Contribution name. |
./Contribution/Remarks | N | - | Contributions remarks. |
./Remarks/Remark | N | String | Remark text. |
./Remark/@Language | N | String | Language code. |
Hotels | N | - | All hotels related with contribution. |
./Hotels/Hotel | N | - | Hotel |
./Hotel/@Code | N | String | Hotel code |
./Hotel/Name | N | String | Hotel name. |
./Hotel/Contracts | Y | String | Contracts related with contribution. |
./Contracts/Contract | Y | String | Contract. |
./Contract/@Code | Y | String | Contract code. |
./Contract/Name | Y | String | Contract name. |
./Contribution/Rules | N | - | All hotels related with contribution. |
./Rules/Rule | N | - | Hotel |
./Rule/@From | Y | Double | From amount |
./Rule/@To | Y | Double | To amount |
./Rule/@Amount | Y | Double | Fixed contribution value |
./Rule/@Percentage | Y | Double | Percentage contribution value |
./Rule/@Quantity | Y | Integer | Quantity of elements |
./Rule/@Duration | Y | Integer | Booking duration |
./Rule/@Adults | Y | Integer | Maximum of adults |
./Rule/@Children | Y | Integer | Maximum of children |
./Rule/@Units | Y | String | Unit description |
./Rule/RoomType | Y | - | Room type |
./RoomType/@Code | N | Integer | Room type code |
./RoomType/Name | N | String | Room type name |
./Rule/BoardType | Y | - | Board type |
./BoardType/@Code | N | Integer | Board type code |
./BoardType/Name | N | String | Board type name |
./Rule/Application | Y | - | Application period |
./Application/@From | Y | Date | From date |
./Application/@To | Y | Date | To date |
Example:
Following the request example where of the results for some contributions. Notice that the Rule node is different depending on Type value.
First contribution is a fixed price. The second is a 5% for booking less than 100000, and 10% for 100000 to 200000. The third is nights free.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetHotelContributionsResponse xmlns="http://www.juniper.es/webservice/2007/">
<GetHotelContributionsRS Url="http://localhost" TimeStamp="2015-11-10T16:12:24.6041327+01:00" IntCode="+IKrcOde0hKjXWA16Vbgnekm9Vr572ihJ6J3Dy+6yjs=">
<Contributions>
<Contribution Active="true" Type="F">
<Name>test2</Name>
<Remarks>
<Remark Language="ES">Observaciones en castellano</Remark>
<Remark Language="EN">Remarks in English</Remark>
</Remarks>
<Hotels>
<Hotel Code="1194">
<Name>hotel cutre</Name>
</Hotel>
</Hotels>
<Rules>
<Rule From="1" To="9999999" Amount="100"/>
</Rules>
<Period From="2011-11-19" To="2011-11-29"/>
</Contribution>
<Contribution Active="true" Type="P">
<Name>otro</Name>
<Remarks>
<Remark Language="ES">Observaciones en castellano</Remark>
<Remark Language="EN">Remarks in English</Remark>
</Remarks>
<Hotels>
<Hotel Code="1194">
<Name>hotel cutre</Name>
<Contracts>
<Contract Code="114516">
<Name>Cutre compra 2013</Name>
</Contract>
</Contracts>
</Hotel>
</Hotels>
<Rules>
<Rule From="0" To="100000" Percentage="5"/>
<Rule From="100000.01" To="200000" Percentage="10"/>
</Rules>
<Period From="2012-01-01" To="2012-12-31"/>
</Contribution>
<Contribution Active="true" Type="A">
<Name>Nuevo</Name>
<Remarks/>
<Hotels>
<Hotel Code="1194">
<Name>hotel cutre</Name>
</Hotel>
</Hotels>
<Rules>
<Rule Quantity="2" Duration="1" Adults="1" Childs="0" Unit="dias">
<RoomType Code="877">
<Name>Doble Superior</Name>
</RoomType>
<BoardType Code="15">
<Name>Alojamiento & desayuno</Name>
</BoardType>
<Application From="2016-01-20" To="2016-10-20"/>
</Rule>
</Rules>
<Period From="2015-10-01" To="2016-01-30"/>
</Contribution>
</Contributions>
</GetHotelContributionsRS>
</GetHotelContributionsResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to list all the multimarkup contracts.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelMultimarkupContractListRequest | N | - | - |
./HotelMultimarkupContractListRequest/@IncludeExpired | Y | Boolean | If it is true, it will return the expired contracts, too. False by default. |
./HotelMultimarkupContractListRequest/ValidPeriod | N | - | Valid contract period |
./ValidPeriod/@From | N | Date | Contract period from value |
./ValidPeriod/@To | N | Date | Contract period to value |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:HotelMultimarkupContractList>
<ns:HotelMultimarkupContractListRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:HotelMultimarkupContractListRequest IncludeExpired="false">
<ns:ValidPeriod From="2010-01-01" To="2030-12-31"/>
</ns:HotelMultimarkupContractListRequest>
</ns:HotelMultimarkupContractListRQ>
</ns:HotelMultimarkupContractList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Contracts | N | - | - |
./Contracts/Contract | N | - | Multimarkup contract information |
./Contract/@Code | N | Integer | Contract code |
./Contract/@Active | N | Boolean | If the contract is active |
./Contract/Name | N | String | Contract name |
./Contract/ValidPeriod | N | - | Season period |
./ValidPeriod/@From | N | Date | From value |
./ValidPeriod/@To | N | Date | To value |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelMultimarkupContractListResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelMultimarkupContractListRS Url="http://localhost" TimeStamp="2020-06-12T13:11:36.6681527+02:00" IntCode="tJAmqrn15j+byZUrZ2qXsshyiGqIdmrG5nE/4JSMgf8=">
<Contracts>
<Contract Code="4395" Active="true">
<Name>Multimarkup Contract 1</Name>
<ValidPeriod From="2020-06-08" To="2020-09-01"/>
</Contract>
<Contract Code="4317" Active="true">
<Name>Multimarkup Contract 2</Name>
<ValidPeriod From="2020-01-10" To="2020-07-31"/>
</Contract>
</Contracts>
</HotelMultimarkupContractListRS>
</HotelMultimarkupContractListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain the complet information of some multimarkup contracts.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelMultimarkupContractGetRequest | N | - | - |
./HotelMultimarkupContractGetRequest/Contracts | N | - | Contracts list |
./Contracts/Contract | N | - | Up to 10 contracts |
./Contract/@Code | N | Integer | Contract code |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:HotelMultimarkupContractGet>
<ns:HotelMultimarkupContractGetRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:HotelMultimarkupContractGetRequest>
<ns:Contracts>
<ns:Contract Code="4317"/>
</ns:Contracts>
</ns:HotelMultimarkupContractGetRequest>
</ns:HotelMultimarkupContractGetRQ>
</ns:HotelMultimarkupContractGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Contracts | N | - | - |
./Contracts/{Contract} | N | - | Complete multimarkup contract information, detailed below. |
This is the complete information of one extranet contract.
Multimarkup Contract Detail
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Code | N | Integer | Contract code |
@Active | N | Boolean | If the contract is active |
@Markup | N | Double | Markup that will be applied to cost rates |
Name | N | String | Contract name |
Department | N | - | Department |
./Department/@Code | N | Integer | Department code |
./Department/Text | N | String | Department name |
Type | N | - | Contract type |
./Type/@Code | N | Integer | Contract type code |
./Type/Text | N | String | Contract type name |
Seasons | N | - | Seasons |
./Seasons/Season | N | - | Season |
./Season/@Code | N | Integer | Season code |
./Season/Text | N | String | Season name |
ValidPeriod | N | - | Valid contract period |
./ValidPeriod/@From | N | Integer | From value |
./ValidPeriod/@To | N | String | To value |
ContractTypes | Y | - | Contract cost types for which this contract will apply |
./ContractTypes/ContractType | Y | - | Contract type |
./ContractType/@Code | N | Integer | Contract type code |
./ContractType/Text | N | String | Contract type name |
Zones | Y | - | Zones for which this contract will apply |
./Zones/Zone | Y | - | Zone |
./Zone/@Code | N | Integer | Zone code |
./Zone/Text | N | String | Zone name |
HotelCategories | Y | - | Hotel categories for which this contract will apply |
./HotelCategories/HotelCategory | Y | - | Hotel category |
./HotelCategory/@Code | N | Integer | Zone code |
./HotelCategory/Text | N | String | Zone name |
ProductGroups | Y | - | Product groups for which this contract will apply |
./ProductGroups/Productgroup | Y | - | Product group |
./Productgroup/@Code | N | Integer | Product group code |
./Productgroup/Text | N | String | Product group name |
Hotels | Y | - | Hotels for which this contract will apply |
./Hotels/Hotel | Y | - | Hotel |
./Hotel/@Code | N | Integer | Hotel code |
./Hotel/Text | N | String | Hotel name |
Following the request example, with the complete information of the desired multimarkup contracts.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelMultimarkupContractGetResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelMultimarkupContractGetRS Url="http://localhost" TimeStamp="2020-06-12T13:26:57.324384+02:00" IntCode="BEdLwQaWfvYAwtZ6b45KMDVbgbIDmQPVqC5nVFEQ0VA=">
<Contracts>
<Contract Code="4317" Active="true" Markup="5">
<Name>Multimarkup Contract</Name>
<ValidPeriod From="2020-01-10" To="2020-07-31"/>
<Type Code="3">FIT</Type>
<Department Code="12">Department Test</Department>
<Seasons>
<Season Code="31">Season 2019 2020</Season>
</Seasons>
<ContractTypes>
<ContractType Code="7">BAR</ContractType>
<ContractType Code="1">Rack</ContractType>
</ContractTypes>
<Zones>
<Zone Code="37424"/>
</Zones>
<HotelCategories>
<HotelCategory Code="5">5 Stars</HotelCategory>
</HotelCategories>
<ProductGroups>
<ProductGroup Code="1">Local product group</ProductGroup>
</ProductGroups>
<Hotels>
<Hotel Code="12190">Hotel Test</Hotel>
</Hotels>
<AccessConditions>
<AccessCondition AllowAccess="true">
<Market Code="2" Name="British"/>
<AgencyGroup Code="45" Name="British agencies test group"/>
<Customer Code="13382" Name="British test agency"/>
</AccessCondition>
<AccessCondition AllowAccess="true">
<Market Code="6" Name="Spanish"/>
<AgencyGroup Code="62" Name="Spanish agencies test group"/>
<Customer Code="821" Name="Spanish test agency"/>
</AccessCondition>
<AccessCondition AllowAccess="false"/>
</AccessConditions>
</Contract>
</Contracts>
</HotelMultimarkupContractGetRS>
</HotelMultimarkupContractGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to create and change the multimarkup contracts. If @Code is not specified in HotelMultimarkupContractRequest, then the system will create a new extranet contract.
Important note:
The N/Y values in the Opt columns means that the value is mandatory in the contract creation, but it is optional in the modification. Additionally, if an optional element is not specified, the system will maintain the previously specified value while, if an empty element is specified, the system will understand that you wish to modify the contract as to set an empty value.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelMultimarkupContractRequest | N | - | - |
./HotelMultimarkupContractRequest/@Code | Y | Integer | Contract code. If it is not specified, means that it’s for a new contract. |
./HotelMultimarkupContractRequest/@Active | N/Y | Boolean | If the contract is active. |
./HotelMultimarkupContractRequest/@Markup | N/Y | Double | Markup that will be applied to cost rates |
./HotelMultimarkupContractRequest/Name | N/Y | String | Contract name |
./HotelMultimarkupContractRequest/Department | N/Y | - | Department |
./Department/@Code | N | Integer | Department code |
./HotelMultimarkupContractRequest/Type | N/Y | - | Contract type |
./Type/@Code | N | Integer | Contract type code |
./HotelMultimarkupContractRequest/Seasons | N/Y | - | Seasons |
./Seasons/Season | N | Season | |
./Season/@Code | N | Integer | Season code |
./HotelMultimarkupContractRequest/ValidPeriod | N/Y | - | Valid contract period |
./ValidPeriod/@From | N | Date | From value |
./ValidPeriod/@To | N | Date | To value |
./HotelMultimarkupContractRequest/ContractTypes | N/Y | - | Contract cost types for which this contract will apply |
./ContractTypes/ContractType | N | Contract type | |
./ContractType/@Code | N | Integer | Contract type code |
./HotelMultimarkupContractRequest/Zones | N/Y | - | Zones for which this contract will apply |
./Zones/Zone | N | Zone | |
./Zone/@Code | N | Integer | Zone code |
./HotelMultimarkupContractRequest/HotelCategories | N/Y | - | Hotel categories for which this contract will apply |
./HotelCategories/HotelCategory | N | Hotel category | |
./HotelCategory/@Code | N | Integer | Hotel category code |
./HotelMultimarkupContractRequest/ProductGroups | N/Y | - | Product groups for which this contract will apply |
./ProductGroups/ProductGroup | N | Product group | |
./ProductGroup/@Code | N | Integer | Product group code |
./HotelMultimarkupContractRequest/Hotels | N/Y | - | Hotels for which this contract will apply |
./Hotels/Hotel | N | Hotel | |
./Hotel/@Code | N | Integer | Hotel code |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:HotelMultimarkupContract>
<ns:HotelMultimarkupContractRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:HotelMultimarkupContractRequest Active="true" Markup="10">
<ns:Name>Multimarkup creation test</ns:Name>
<ns:ValidPeriod From="2020-06-01" To="2021-06-01"/>
<ns:Type Code="7"/>
<ns:Department Code="1"/>
<ns:Seasons>
<ns:Season Code="31"/>
</ns:Seasons>
<ns:ContractTypes>
<ns:ContractType Code="7"/>
<ns:ContractType Code="1"/>
</ns:ContractTypes>
<ns:Zones>
<ns:Zone Code="37424"/>
</ns:Zones>
<ns:HotelCategories>
<ns:HotelCategory Code="69"/>
</ns:HotelCategories>
<ns:ProductGroups>
<ns:ProductGroup Code="25"/>
</ns:ProductGroups>
<ns:Hotels>
<ns:Hotel Code="12109"/>
</ns:Hotels>
<ns:AccessConditions>
<ns:AccessCondition AllowAccess="true">
<ns:Market Code="2"/>
<ns:AgencyGroup Code="45"/>
<ns:Customer Code="13382"/>
</ns:AccessCondition>
<ns:AccessCondition AllowAccess="false"/>
</ns:AccessConditions>
</ns:HotelMultimarkupContractRequest>
</ns:HotelMultimarkupContractRQ>
</ns:HotelMultimarkupContract>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the modification is correct, the system will supply you with the hotel complete information, which is exactly the same information as the one supplied on the HotelMultimarkupContractGet response.
Kindly refer to the HotelMultimarkupContractGet section if you wish to consult the specifications of the nodes and properties of this transaction.
Following the request example, if the modification is correct, the system response with the complete information of the extranet contract.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelMultimarkupContractResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelMultimarkupContractRS Url="http://localhost" TimeStamp="2020-06-12T17:36:04.2305418+02:00" IntCode="R3BDqv0uu17sQUeK5XUuP3gyzIHnkIA9cjusDFtF1M0=">
<HotelMultimarkupContract>
<Contract Code="4399" Active="true" Markup="10">
<Name>Multimarkup creation test</Name>
<ValidPeriod From="2020-06-01" To="2021-06-01"/>
<Type Code="7">BAR</Type>
<Department Code="1">Department test</Department>
<Seasons>
<Season Code="31">Season 2020 2021</Season>
</Seasons>
<ContractTypes>
<ContractType Code="7">BAR</ContractType>
<ContractType Code="1">Rack</ContractType>
</ContractTypes>
<Zones>
<Zone Code="37424"/>
</Zones>
<HotelCategories>
<HotelCategory Code="69">* * * * *</HotelCategory>
</HotelCategories>
<ProductGroups>
<ProductGroup Code="25">Product group for Europe</ProductGroup>
</ProductGroups>
<Hotels>
<Hotel Code="12109">Hotel Test</Hotel>
</Hotels>
<AccessConditions>
<AccessCondition AllowAccess="true">
<Market Code="2" Name="British"/>
<AgencyGroup Code="45" Name="British agency group"/>
<Customer Code="13382" Name="Test agency"/>
</AccessCondition>
<AccessCondition AllowAccess="false"/>
</AccessConditions>
</Contract>
</HotelMultimarkupContract>
</HotelMultimarkupContractRS>
</HotelMultimarkupContractResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to list all of the available restrictions within specific hotel codes.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelRestrictionListRequest | N | - | Filters needed in order to list the available restrictions. |
./HotelRestrictionListRequest/@IncludeExpired | Y | Boolean | If it is true, it will return the expired restrictions too. False by default. |
./HotelRestrictionListRequest/Hotels | N | - | Hotels list. |
./Hotels/Hotel | N | - | Specific hotels. |
./Hotel/@Code | N | Integer | Hotel code. |
./Hotel/Contracts | Y | - | Contracts list. |
./Contracts/Contract | N | - | Specific contract. |
./Contract/@Code | N | - | Contract code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelRestrictionList>
<HotelRestrictionListRQ Version = "1.1" Language = "en">
<Login Email="user@mydomain.com" Password="pass"/>
<HotelRestrictionListRequest IncludeExpired = "false">
<Hotels>
<Hotel Code = "125">
<Contracts>
<Contract Code = "185"/>
</Contracts>
</Hotel>
</Hotels>
</HotelRestrictionListRequest>
</HotelRestrictionListRQ>
</HotelRestrictionList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelRestrictionListResponse | N | - | Restriction list response. |
./HotelRestrictionListResponse/Hotels | N | - | List of hotels. |
./Hotels/Hotel | N | - | Specific hotel. |
./Hotel/@Code | N | Integer | Hotel code. |
./Hotel/Restriction | Y | - | Specific restriction. |
./Restriction/@Code | N | Integer | Restriction code. |
./Restriction/@Active | N | Boolean | Restriction is active. |
./Restriction/Names | N | - | Restriction names. |
./Names/Name | N | String | Restriction name. |
./Name/@Language | N | String | Restriction name language. |
./Restriction/CheckInDates | Y | - | Restriction checkin dates. |
./CheckInDates/Date | N | - | Specific checkin date. |
./Date/@From | N | Date | Checkin from date. |
./Date/@To | N | Date | Checkin to date. |
./Restriction/StayDates | Y | - | Restriction stay dates. |
./StayDates/Date | N | - | Specific stay date. |
./Date/@From | N | Date | Stay from date. |
./Date/@To | N | Date | Stay to date. |
./Restriction/CheckOutDates | Y | - | Restriction checkout dates. |
./CheckOutDates/Date | N | - | Specific checkout date. |
./Date/@From | N | Date | Checkout from date. |
./Date/@To | N | Date | Checkout to date. |
./Restriction/Contracts | Y | - | Restriction contracts. |
./Contracts/Contract | N | String | Restriction contract name. |
./Contract/@Code | N | Integer | Restriction contract internal code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelRestrictionListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelRestrictionListRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-02-15T11:10:24.4303743+01:00" IntCode = "gGwZMVNdJkGkWMbt2+5XSiVK1A9EQ3b7tnZXGHmObO8=">
<HotelRestrictionListResponse>
<Hotels>
<Hotel Code = "125">
<Restriction Code = "321560" Active = "false">
<Names>
<Name Language = "en">Basic supplier restriction</Name>
</Names>
<CheckInDates>
<Date From = "2021-02-01" To = "2021-02-28"/>
</CheckInDates>
<Contracts>
<Contract Code = "185">General supplier contract</Contract>
</Contracts>
</Restriction>
</Hotel>
</Hotels>
</HotelRestrictionListResponse>
</HotelRestrictionListRS>
</HotelRestrictionListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve all of the detailed information of specific restriction codes.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelRestrictionGetRequest | N | - | Filters needed in order to retrieve restrictions. |
./HotelRestrictionListRequest/Restrictions | N | - | Restriction list. |
./Restrictions/Restriction | N | - | Specific restriction. |
./Restriction/@Code | N | Integer | Restriction code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelRestrictionGet>
<HotelRestrictionGetRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelRestrictionGetRequest>
<Restrictions>
<Restriction Code = "321560"/>
</Restrictions>
</HotelRestrictionGetRequest>
</HotelRestrictionGetRQ>
</HotelRestrictionGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelRestrictionGetRS | N | - | Restriction detail response. |
./HotelRestrictionGetRS/Restrictions | N | - | List of restrictions. |
./Restrictions/Restriction | N | - | Specific restriction. |
./Restriction/@Code | N | Integer | Restriction code. |
./Restriction/@Active | N | Boolean | Restriction is active. |
./Restriction/@Type | N | String | Restriction type. Possible values: • MinimumStay: Minimum stay restriction. • CheckinDays: Checkin days restriction. • CheckoutDays: Checkout days restriction. • Basic: Basic restriction. |
./Restriction/@OnRequest | N | Boolean | Restriction will convey on request allotment. |
./Restriction/@ContractAgreement | N | Boolean | Contract agreement. |
./Restriction/@ConventionRates | N | Boolean | Fair and convention rates. |
./Restriction/@ShowInRatesReport | N | Boolean | Show in rates report. |
./Restriction/@MatchAllStay | N | Boolean | Do not apply if it doesn´t match with all booking dates. |
./Restriction/@MatchOneApplyWholeStay | N | Boolean | Should any date coincide, apply this condition to the whole stay. |
./Restriction/@SpecialTax | Y | Boolean | Special tax. |
./Restriction/@Packaged | N | Boolean | Packaged restriction. |
./Restriction/@IncludeExtranetContracts | N | Boolean | Include in extranet contracts. |
./Restriction/Names | N | - | Restriction names. |
./Names/Name | N | String | Restriction name. |
./Name/@Language | N | String | Restriction name language. |
./Restriction/CheckInDates | Y | - | Restriction checkin dates. |
./CheckInDates/Date | N | - | Specific checkin date. |
./Date/@From | N | Date | Checkin from date. |
./Date/@To | N | Date | Checkin to date. |
./Restriction/StayDates | Y | - | Restriction stay dates. |
./StayDates/Date | N | - | Specific stay date. |
./Date/@From | N | Date | Stay from date. |
./Date/@To | N | Date | Stay to date. |
./Restriction/CheckOutDates | Y | - | Restriction checkout dates. |
./CheckOutDates/Date | N | - | Specific checkout date. |
./Date/@From | N | Date | Checkout from date. |
./Date/@To | N | Date | Checkout to date. |
./Restriction/Contracts | Y | - | Restriction contracts. |
./Contracts/Contract | N | String | Restriction contract name. |
./Contract/@Code | N | Integer | Restriction contract internal code. |
./Restriction/Hotels | Y | - | Restriction hotels. |
./Hotels/Hotel | N | String | Restriction hotel name. |
./Hotel/@Code | N | Integer | Restriction hotel internal code. |
./Restriction/ProductGroups | Y | - | Restriction product groups. |
./ProductGroups/ProductGroup | N | String | Restriction product group name. |
./ProductGroup/@Code | N | Integer | Restriction product group internal code. |
./Restriction/Descriptions | N | - | Restriction descriptions. |
./Descriptions/Description | N | String | Restriction description. |
./Description/@Language | N | String | Restriction description language. |
./Restriction/Category | N | String | Restriction category. |
./Category/@Code | N | Integer | Restriction category internal code. |
./Restriction/SpecialSupplementType | Y | String | Restriction special supplement type. |
./SpecialSupplementType/@Code | N | Integer | Restriction special supplement type internal code. |
./Restriction/LengthStay | Y | - | Restriction length of stay. |
./LengthStay/@ApplyToLengthStayOnly | N | Boolean | Apply only to the nights within the booking stay period. |
./LengthStay/@TotalBooking | N | Boolean | Total bookings. |
./LengthStay/@Min | N | Integer | Minimum lenght of stay. |
./LengthStay/@Max | N | Integer | Maximum lenght of stay. |
./Restriction/WeekStayDates | Y | - | Restriction week stay dates. |
./WeekStayDates/@WeekDays | N | String | Week days. Applicable days will be specified with a "X" while non applicable days will be specified by a "-". For example: "XXXXXXX" will mean that the restriction will apply to all of the days of the week while "XX-XXXX" will mean that the restriction will apply to all of the days of the week except the Wednesday. |
./Restriction/WeekCheckinDates | Y | - | Restriction week checkin dates. |
./WeekCheckinDates/@WeekDays | N | String | Week days. Applicable days will be specified with a "X" while non applicable days will be specified by a "-". For example: "XXXXXXX" will mean that the restriction will apply to all of the days of the week while "XX-XXXX" will mean that the restriction will apply to all of the days of the week except the Wednesday. |
./WeekCheckinDates/@ApplyToCheckOutToo | N | Boolean | Specifies if the restriction will also apply to the checkout. |
./Restriction/BookingPeriod | Y | - | Restriction booking period. |
./BookingPeriod/@Min | N | Date | Booking period minimum date. |
./BookingPeriod/@Max | N | Date | Booking period maximum date. |
./Restriction/AdvanceBooking | Y | - | Restriction advance booking. |
./AdvanceBooking/@Min | N | Integer | Advance booking minimum. |
./AdvanceBooking/@Max | N | Integer | Advance booking maximum. |
./Restriction/SpecialLengthStays | Y | - | Restriction special length of stays. |
./SpecialLengthStays/SpecialLengthStay | N | - | Specific special length of stay. |
./SpecialLengthStay/@From | N | Date | From date. |
./SpecialLengthStay/@To | N | Date | To date. |
./SpecialLengthStay/@Min | N | Integer | Minimum. |
./SpecialLengthStay/@Max | N | Integer | Maximum. |
./Restriction/BoardTypes | Y | - | Restriction applicable board types. If missing it will imply that the restriction applies to all of the board types of the hotel. |
./BoardTypes/BoardType | N | String | Board type name. |
./BoardType/@Code | N | Integer | Board type internal code. |
./Restriction/RoomTypes | Y | - | Restriction applicable room types. If missing it will imply that the restriction applies to all of the room types of the hotel. |
./RoomTypes/RoomType | N | String | Room type name. |
./RoomType/@Code | N | Integer | Room type internal code. |
./Restriction/ChildrenAge | Y | - | Restriction children ages. If missing it will imply that the restriction will use the hotel general children ages. |
./ChildrenAge/@ChildrenAgeAFrom | N | Integer | Starting this age, passengers will be rated as children (below this age passengers would be rated as infants which are free on our system). |
./ChildrenAge/@ChildrenAgeATo | N | Integer | Maximun age for the first range. |
./ChildrenAge/@ChildrenAgeBTo | Y | Integer | Maximun age for the second range. |
./ChildrenAge/@ChildrenAgeCTo | Y | Integer | Maximun age for the third range. |
./Restriction/Supplier | Y | String | Restriction supplier. |
./Supplier/@Code | N | Integer | Supplier internal code. |
./Restriction/Occupancies | Y | - | Restriction occupancies. Available whenever the restriction only applies to specific occupancies. |
./Occupancies/Occupancy | N | - | Specific occupancy. |
./Occupancy/@MinChild | N | Integer | Minimum number of children of the occupancy. |
./Occupancy/@MaxChild | N | Integer | Maximum number of children of the occupancy. |
./Occupancy/@MinAdult | N | Integer | Minimum number of adults of the occupancy. |
./Occupancy/@MaxAdult | N | Integer | Maximum number of adults of the occupancy. |
./Restriction/{AccessConditions} | N | - | Node that contains access control restrictions about the restriction. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelRestrictionGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelRestrictionGetRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-02-15T12:15:38.9566957+01:00" IntCode = "RmZea/HkwdOs0stlbHzG1AgTNi4LeWyVOaIpYDJrk7c=">
<Restrictions>
<Restriction Code = "321560" Active = "false" Type = "Basic" OnRequest = "false" ContractAgreement = "true" ConventionRates = "true" ShowInRatesReport = "true" MatchAllStay = "false" MatchOneApplyWholeStay = "false" Packaged = "false" IncludeExtranetContracts = "false">
<Names>
<Name Language = "es">Basic supplier restriction</Name>
<Name Language = "en">Basic supplier restriction</Name>
</Names>
<CheckInDates>
<Date From = "2021-02-01" To = "2021-02-28"/>
</CheckInDates>
<Contracts>
<Contract Code = "185">General supplier contract</Contract>
</Contracts>
<Hotels>
<Hotel Code = "125">APARTAMENTOS ALLSUN PIL-LARI PLAYA</Hotel>
</Hotels>
<Descriptions>
<Description Language = "es"/>
<Description Language = "en"/>
</Descriptions>
<Category Code = "1">General</Category>
<AccessConditions>
<AccessCondition AllowAccess = "true"/>
</AccessConditions>
</Restriction>
</Restrictions>
</HotelRestrictionGetRS>
</HotelRestrictionGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to create, update or deleted a specific restriction.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelRestrictionRequest | N | - | Filters needed in order to create, update or delete a restriction. |
./HotelRestrictionRequest/@Code | N | Integer | Restriction code. If available, the request will imply either a modification or deletion (if @Delete is also included). |
./HotelRestrictionRequest/@Delete | Y | Boolean | If specified, the restriction whose code has been specified will attempt to be deleted. |
./HotelRestrictionRequest/@Active | N | Boolean | Restriction is active. |
./HotelRestrictionRequest/@Type | N | String | Restriction type. Possible values: • MinimumStay: Minimum stay restriction. • CheckinDays: Checkin days restriction. • CheckoutDays: Checkout days restriction. • Basic: Basic restriction. |
./HotelRestrictionRequest/@OnRequest | N | Boolean | Restriction will convey on request allotment. |
./HotelRestrictionRequest/@ContractAgreement | N | Boolean | Contract agreement. |
./HotelRestrictionRequest/@ConventionRates | N | Boolean | Fair and convention rates. |
./HotelRestrictionRequest/@ShowInRatesReport | N | Boolean | Show in rates report. |
./HotelRestrictionRequest/@MatchAllStay | N | Boolean | Do not apply if it doesn´t match with all booking dates. |
./HotelRestrictionRequest/@MatchOneApplyWholeStay | N | Boolean | Should any date coincide, apply this condition to the whole stay. |
./HotelRestrictionRequest/@SpecialTax | Y | Boolean | Special tax. |
./HotelRestrictionRequest/@Packaged | N | Boolean | Packaged restriction. |
./HotelRestrictionRequest/@IncludeExtranetContracts | N | Boolean | Include in extranet contracts. |
./HotelRestrictionRequest/Names | N | - | Restriction names. |
./Names/Name | N | String | Restriction name. |
./Name/@Language | N | String | Restriction name language. |
./HotelRestrictionRequest/CheckInDates | Y | - | Restriction checkin dates. |
./CheckInDates/Date | N | - | Specific checkin date. |
./Date/@From | N | Date | Checkin from date. |
./Date/@To | N | Date | Checkin to date. |
./HotelRestrictionRequest/StayDates | Y | - | Restriction stay dates. |
./StayDates/Date | N | - | Specific stay date. |
./Date/@From | N | Date | Stay from date. |
./Date/@To | N | Date | Stay to date. |
./HotelRestrictionRequest/CheckOutDates | Y | - | Restriction checkout dates. |
./CheckOutDates/Date | N | - | Specific checkout date. |
./Date/@From | N | Date | Checkout from date. |
./Date/@To | N | Date | Checkout to date. |
./HotelRestrictionRequest/Contracts | Y | - | Restriction contracts. |
./Contracts/Contract | N | - | Restriction contract. |
./Contract/@Code | N | Integer | Restriction contract internal code. |
./HotelRestrictionRequest/Hotels | Y | - | Restriction hotels. |
./Hotels/Hotel | N | - | Restriction hotel. |
./Hotel/@Code | N | Integer | Restriction hotel internal code. |
./HotelRestrictionRequest/ProductGroups | Y | - | Restriction product groups. |
./ProductGroups/ProductGroup | N | - | Restriction product group. |
./ProductGroup/@Code | N | Integer | Restriction product group internal code. |
./HotelRestrictionRequest/Descriptions | N | - | Restriction descriptions. |
./Descriptions/Description | N | String | Restriction description. |
./Description/@Language | N | String | Restriction description language. |
./HotelRestrictionRequest/Category | N | - | Restriction category. |
./Category/@Code | N | Integer | Restriction category internal code. |
./HotelRestrictionRequest/SpecialSupplementType | Y | - | Restriction special supplement type. |
./SpecialSupplementType/@Code | N | Integer | Restriction special supplement type internal code. |
./HotelRestrictionRequest/LengthStay | Y | - | Restriction length of stay. |
./LengthStay/@ApplyToLengthStayOnly | N | Boolean | Apply only to the nights within the booking stay period. |
./LengthStay/@TotalBooking | N | Boolean | Total bookings. |
./LengthStay/@Min | N | Integer | Minimum lenght of stay. |
./LengthStay/@Max | N | Integer | Maximum lenght of stay. |
./HotelRestrictionRequest/WeekStayDates | Y | - | Restriction week stay dates. |
./WeekStayDates/@WeekDays | N | String | Week days. Applicable days will be specified with a "X" while non applicable days will be specified by a "-". For example: "XXXXXXX" will mean that the restriction will apply to all of the days of the week while "XX-XXXX" will mean that the restriction will apply to all of the days of the week except the Wednesday. |
./HotelRestrictionRequest/WeekCheckinDates | Y | - | Restriction week checkin dates. |
./WeekCheckinDates/@WeekDays | N | String | Week days. Applicable days will be specified with a "X" while non applicable days will be specified by a "-". For example: "XXXXXXX" will mean that the restriction will apply to all of the days of the week while "XX-XXXX" will mean that the restriction will apply to all of the days of the week except the Wednesday. |
./WeekCheckinDates/@ApplyToCheckOutToo | N | Boolean | Specifies if the restriction will also apply to the checkout. |
./HotelRestrictionRequest/BookingPeriod | Y | - | Restriction booking period. |
./BookingPeriod/@Min | N | Date | Booking period minimum date. |
./BookingPeriod/@Max | N | Date | Booking period maximum date. |
./HotelRestrictionRequest/AdvanceBooking | Y | - | Restriction advance booking. |
./AdvanceBooking/@Min | N | Integer | Advance booking minimum. |
./AdvanceBooking/@Max | N | Integer | Advance booking maximum. |
./HotelRestrictionRequest/SpecialLengthStays | Y | - | Restriction special length of stays. |
./SpecialLengthStays/SpecialLengthStay | N | - | Specific special length of stay. |
./SpecialLengthStay/@From | N | Date | From date. |
./SpecialLengthStay/@To | N | Date | To date. |
./SpecialLengthStay/@Min | N | Integer | Minimum. |
./SpecialLengthStay/@Max | N | Integer | Maximum. |
./HotelRestrictionRequest/BoardTypes | Y | - | Restriction applicable board types. If missing it will imply that the restriction applies to all of the board types of the hotel. |
./BoardTypes/BoardType | N | - | Board type. |
./BoardType/@Code | N | Integer | Board type internal code. |
./HotelRestrictionRequest/RoomTypes | Y | - | Restriction applicable room types. If missing it will imply that the restriction applies to all of the room types of the hotel. |
./RoomTypes/RoomType | N | - | Room type. |
./RoomType/@Code | N | Integer | Room type internal code. |
./HotelRestrictionRequest/ChildrenAge | Y | - | Restriction children ages. If missing it will imply that the restriction will use the hotel general children ages. |
./ChildrenAge/@ChildrenAgeAFrom | N | Integer | Starting this age, passengers will be rated as children (below this age passengers would be rated as infants which are free on our system). |
./ChildrenAge/@ChildrenAgeATo | N | Integer | Maximun age for the first range. |
./ChildrenAge/@ChildrenAgeBTo | Y | Integer | Maximun age for the second range. |
./ChildrenAge/@ChildrenAgeCTo | Y | Integer | Maximun age for the third range. |
./HotelRestrictionRequest/Supplier | Y | - | Restriction supplier. |
./Supplier/@Code | N | Integer | Supplier internal code. |
./HotelRestrictionRequest/Occupancies | Y | - | Restriction occupancies. Available whenever the restriction only applies to specific occupancies. |
./Occupancies/Occupancy | N | - | Specific occupancy. |
./Occupancy/@MinChild | N | Integer | Minimum number of children of the occupancy. |
./Occupancy/@MaxChild | N | Integer | Maximum number of children of the occupancy. |
./Occupancy/@MinAdult | N | Integer | Minimum number of adults of the occupancy. |
./Occupancy/@MaxAdult | N | Integer | Maximum number of adults of the occupancy. |
./HotelRestrictionRequest/{AccessConditions} | N | - | Node that contains access control restrictions about the restriction. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelRestriction>
<HotelRestrictionRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelRestrictionRequest Active = "true" Type = "Basic" OnRequest = "false" ContractAgreement = "true" ConventionRates = "true" ShowInRatesReport = "true" MatchAllStay = "false" MatchOneApplyWholeStay = "false" Packaged = "false" IncludeExtranetContracts = "false">
<Names>
<Name Language = "en">Basic test restriction</Name>
<Name Language = "es">Basic test restriction</Name>
</Names>
<CheckInDates>
<Date From = "2021-02-01" To = "2021-05-28"/>
</CheckInDates>
<Hotels>
<Hotel Code = "125"/>
</Hotels>
<Category Code = "1"/>
<AccessConditions>
<AccessCondition AllowAccess = "true"/>
</AccessConditions>
</HotelRestrictionRequest>
</HotelRestrictionRQ>
</HotelRestriction>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelRestrictionRS | N | - | Restriction detail response. |
./HotelRestrictionRS/HotelRestriction | N | - | List of restrictions. |
./HotelRestriction/Restriction | N | - | Specific restriction. |
./Restriction/@Code | N | Integer | Restriction code. |
./Restriction/@Active | N | Boolean | Restriction is active. |
./Restriction/@Type | N | String | Restriction type. Possible values: • MinimumStay: Minimum stay restriction. • CheckinDays: Checkin days restriction. • CheckoutDays: Checkout days restriction. • Basic: Basic restriction. |
./Restriction/@OnRequest | N | Boolean | Restriction will convey on request allotment. |
./Restriction/@ContractAgreement | N | Boolean | Contract agreement. |
./Restriction/@ConventionRates | N | Boolean | Fair and convention rates. |
./Restriction/@ShowInRatesReport | N | Boolean | Show in rates report. |
./Restriction/@MatchAllStay | N | Boolean | Do not apply if it doesn´t match with all booking dates. |
./Restriction/@MatchOneApplyWholeStay | N | Boolean | Should any date coincide, apply this condition to the whole stay. |
./Restriction/@SpecialTax | Y | Boolean | Special tax. |
./Restriction/@Packaged | N | Boolean | Packaged restriction. |
./Restriction/@IncludeExtranetContracts | N | Boolean | Include in extranet contracts. |
./Restriction/Names | N | - | Restriction names. |
./Names/Name | N | String | Restriction name. |
./Name/@Language | N | String | Restriction name language. |
./Restriction/CheckInDates | Y | - | Restriction checkin dates. |
./CheckInDates/Date | N | - | Specific checkin date. |
./Date/@From | N | Date | Checkin from date. |
./Date/@To | N | Date | Checkin to date. |
./Restriction/StayDates | Y | - | Restriction stay dates. |
./StayDates/Date | N | - | Specific stay date. |
./Date/@From | N | Date | Stay from date. |
./Date/@To | N | Date | Stay to date. |
./Restriction/CheckOutDates | Y | - | Restriction checkout dates. |
./CheckOutDates/Date | N | - | Specific checkout date. |
./Date/@From | N | Date | Checkout from date. |
./Date/@To | N | Date | Checkout to date. |
./Restriction/Contracts | Y | - | Restriction contracts. |
./Contracts/Contract | N | String | Restriction contract name. |
./Contract/@Code | N | Integer | Restriction contract internal code. |
./Restriction/Hotels | Y | - | Restriction hotels. |
./Hotels/Hotel | N | String | Restriction hotel name. |
./Hotel/@Code | N | Integer | Restriction hotel internal code. |
./Restriction/ProductGroups | Y | - | Restriction product groups. |
./ProductGroups/ProductGroup | N | String | Restriction product group name. |
./ProductGroup/@Code | N | Integer | Restriction product group internal code. |
./Restriction/Descriptions | N | - | Restriction descriptions. |
./Descriptions/Description | N | String | Restriction description. |
./Description/@Language | N | String | Restriction description language. |
./Restriction/Category | N | String | Restriction category. |
./Category/@Code | N | Integer | Restriction category internal code. |
./Restriction/SpecialSupplementType | Y | String | Restriction special supplement type. |
./SpecialSupplementType/@Code | N | Integer | Restriction special supplement type internal code. |
./Restriction/LengthStay | Y | - | Restriction length of stay. |
./LengthStay/@ApplyToLengthStayOnly | N | Boolean | Apply only to the nights within the booking stay period. |
./LengthStay/@TotalBooking | N | Boolean | Total bookings. |
./LengthStay/@Min | N | Integer | Minimum lenght of stay. |
./LengthStay/@Max | N | Integer | Maximum lenght of stay. |
./Restriction/WeekStayDates | Y | - | Restriction week stay dates. |
./WeekStayDates/@WeekDays | N | String | Week days. Applicable days will be specified with a "X" while non applicable days will be specified by a "-". For example: "XXXXXXX" will mean that the restriction will apply to all of the days of the week while "XX-XXXX" will mean that the restriction will apply to all of the days of the week except the Wednesday. |
./Restriction/WeekCheckinDates | Y | - | Restriction week checkin dates. |
./WeekCheckinDates/@WeekDays | N | String | Week days. Applicable days will be specified with a "X" while non applicable days will be specified by a "-". For example: "XXXXXXX" will mean that the restriction will apply to all of the days of the week while "XX-XXXX" will mean that the restriction will apply to all of the days of the week except the Wednesday. |
./WeekCheckinDates/@ApplyToCheckOutToo | N | Boolean | Specifies if the restriction will also apply to the checkout. |
./Restriction/BookingPeriod | Y | - | Restriction booking period. |
./BookingPeriod/@Min | N | Date | Booking period minimum date. |
./BookingPeriod/@Max | N | Date | Booking period maximum date. |
./Restriction/AdvanceBooking | Y | - | Restriction advance booking. |
./AdvanceBooking/@Min | N | Integer | Advance booking minimum. |
./AdvanceBooking/@Max | N | Integer | Advance booking maximum. |
./Restriction/SpecialLengthStays | Y | - | Restriction special length of stays. |
./SpecialLengthStays/SpecialLengthStay | N | - | Specific special length of stay. |
./SpecialLengthStay/@From | N | Date | From date. |
./SpecialLengthStay/@To | N | Date | To date. |
./SpecialLengthStay/@Min | N | Integer | Minimum. |
./SpecialLengthStay/@Max | N | Integer | Maximum. |
./Restriction/BoardTypes | Y | - | Restriction applicable board types. If missing it will imply that the restriction applies to all of the board types of the hotel. |
./BoardTypes/BoardType | N | String | Board type name. |
./BoardType/@Code | N | Integer | Board type internal code. |
./Restriction/RoomTypes | Y | - | Restriction applicable room types. If missing it will imply that the restriction applies to all of the room types of the hotel. |
./RoomTypes/RoomType | N | String | Room type name. |
./RoomType/@Code | N | Integer | Room type internal code. |
./Restriction/ChildrenAge | Y | - | Restriction children ages. If missing it will imply that the restriction will use the hotel general children ages. |
./ChildrenAge/@ChildrenAgeAFrom | N | Integer | Starting this age, passengers will be rated as children (below this age passengers would be rated as infants which are free on our system). |
./ChildrenAge/@ChildrenAgeATo | N | Integer | Maximun age for the first range. |
./ChildrenAge/@ChildrenAgeBTo | Y | Integer | Maximun age for the second range. |
./ChildrenAge/@ChildrenAgeCTo | Y | Integer | Maximun age for the third range. |
./Restriction/Supplier | Y | String | Restriction supplier. |
./Supplier/@Code | N | Integer | Supplier internal code. |
./Restriction/Occupancies | Y | - | Restriction occupancies. Available whenever the restriction only applies to specific occupancies. |
./Occupancies/Occupancy | N | - | Specific occupancy. |
./Occupancy/@MinChild | N | Integer | Minimum number of children of the occupancy. |
./Occupancy/@MaxChild | N | Integer | Maximum number of children of the occupancy. |
./Occupancy/@MinAdult | N | Integer | Minimum number of adults of the occupancy. |
./Occupancy/@MaxAdult | N | Integer | Maximum number of adults of the occupancy. |
./Restriction/{AccessConditions} | N | - | Node that contains access control restrictions about the restriction. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelRestrictionResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelRestrictionRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-02-16T10:22:49.5851895+01:00" IntCode = "4hDKPcAlOdv9fezayz/twsUOaFWEbMJKe9JkgN9gNgE=">
<HotelRestriction>
<Restriction Code = "321561" Active = "false" Type = "Basic" OnRequest = "false" ContractAgreement = "false" ConventionRates = "true" ShowInRatesReport = "true" MatchAllStay = "false" MatchOneApplyWholeStay = "false" Packaged = "false" IncludeExtranetContracts = "false">
<Names>
<Name Language = "en">Basic test restriction</Name>
<Name Language = "es">Basic test restriction</Name>
</Names>
<CheckInDates>
<Date From = "2021-02-01" To = "2021-05-28"/>
</CheckInDates>
<Descriptions/>
<Category Code = "1">General</Category>
<ChildrenAge ChildrenAgeAFrom = "0" ChildrenAgeATo = "0"/>
<AccessConditions>
<AccessCondition AllowAccess = "true"/>
</AccessConditions>
</Restriction>
</HotelRestriction>
</HotelRestrictionRS>
</HotelRestrictionResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to list all of the available extranet contracts within specific hotel codes.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelExtranetContractListRequest | N | - | Filters needed in order to list the available contracts. |
./HotelExtranetContractListRequest/@IncludeExpired | Y | Boolean | If it is true, it will return the expired contracts, too. False by default. |
./HotelExtranetContractListRequest/Hotels | N | - | Hotels list. |
./Hotels/Hotel | N | - | Specific hotels. Up to 10 hotels may be specified. |
./Hotel/@Code | N | Integer | Hotel code. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelExtranetContractList>
<HotelExtranetContractListRQ Version="1" Language="es">
<Login Email="user@mydomain.com" Password="pass" />
<HotelExtranetContractListRequest IncludeExpired="false">
<Hotels>
<Hotel Code="1176"/>
</Hotels>
</HotelExtranetContractListRequest>
</HotelExtranetContractListRQ>
</HotelExtranetContractList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Hotels | N | - | List of hotels. |
./Hotels/Hotel | N | - | Hotel information. |
./Hotel/@Code | N | Integer | Hotel code. |
./Hotel/Contracts | N | - | List of hotel contracts. |
./Contracts/Contract | N | - | Specific extranet contract. |
./Contract/@Code | N | Integer | Extranet contract code. |
./Contract/@Active | N | Boolean | If the contract is active. |
./Contract/Name | N | String | Contract name. |
./Contract/Season | N | - | Contract season period. |
./Season/@From | N | Date | From value. |
./Season/@To | N | Date | To value. |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelExtranetContractListResponse xmlns="http://www.juniper.es/webservice/2007/">
<HotelExtranetContractListRS Url="http://localhost" TimeStamp="2020-02-10T12:09:02.6399598+01:00" IntCode="rmMyLlHNA92WbvxvRZrpWi2iokFQP3hd9jAb2O9F1I0=">
<Hotels>
<Hotel Code="1176">
<Contracts>
<Contract Code="14007" Active="true">
<Name>contract</Name>
<Season From="2019-01-01" To="2024-12-31"/>
</Contract>
<Contract Code="18418" Active="true">
<Name>contract2</Name>
<Season From="2019-01-01" To="2024-12-31"/>
</Contract>
<Contract Code="18428" Active="true">
<Name>FIT</Name>
<Season From="2019-01-01" To="2024-12-31"/>
</Contract>
</Contracts>
</Hotel>
</Hotels>
</HotelExtranetContractListRS>
</HotelExtranetContractListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain the complete detailed information of specific extranet contracts.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelExtranetContractGetRequest | N | - | |
./HotelExtranetContractGetRequest/Contracts | N | - | Contracts list. |
./Contracts/Contract | N | - | Specific contract. Up to 10 contracts may be specified. |
./Contract/@Code | N | Integer | Contract code. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelExtranetContractGet>
<HotelExtranetContractGetRQ Version="1" Language="es">
<Login Email="user@mydomain.com" Password="pass" />
<HotelExtranetContractGetRequest>
<Contracts>
<Contract Code="1176"/>
</Contracts>
</HotelExtranetContractGetRequest>
</HotelExtranetContractGetRQ>
</HotelExtranetContractGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Contracts | N | - | List of contracts. |
./Contracts/Contract | N | - | Complete contract information. |
./Contract/@Code | N | Integer | Contract code. |
./Contract/@HotelCode | N | Integer | Related hotel code. |
./Contract/@Active | N | Boolean | If the contract is active. |
./Contract/@Currency | N | String | Contract currency code. |
./Contract/@ReleaseApplication | N | Enum | Release application. Possible values: • Stay: Applies to all of the stay. • Checkin: Applies to the checkin date. |
./Contract/@VisibleForExtranetUsers | N | Boolean | If the contract is visible for extranet users. |
./Contract/@OffersApplication | N | Enum | Offer application. Possible values. • Priority: By the priority attribute. • BestPrice: Apply the best price. |
./Contract/@AllowFreeRate | N | Boolean | If the contract will work with free reates. |
./Contract/@RecommendedSalesPrice | N | Enum | If the contract will allow for recommended prices to be specified. Possible values: • NoShow: It is possible to load, but they will not show to customers • NoShowHours: It will not show only at special hours • Yes: It is possible to load and they will show to customers. |
./Contract/@SendStopSales | N | Boolean | If the stop sales will be send in the reports. |
./Contract/@PaymentAtDestination | Y | Boolean | If the contract accept payment at destination. It is not available in all the systems. |
./Contract/@ShowValuedBookingSupplier | N | Enum | If the supplier can see the booking value. Possible values: • Yes • No • Default |
./Contract/@SendBookingToHotel | N | Enum | Send bookings to the hotel email, and not to the supplier email. Possible values: • Yes • No • Default |
./Contract/@ImmediatePayment | Y | Boolean | If part of the bookings should be paid at booking time. It is not available in all the systems. |
./Contract/@NonRefundable | N | Boolean | Indicates if the contract will be a non-refundable one. |
./Contract/Name | N | String | Contract name. |
./Contract/Type | N | - | Contract type. |
./Type/@Code | N | Integer | Contract type code. |
./Type/Text | N | String | Contract type name. |
./Contract/Season | N | - | Season. |
./Season/@Code | N | Integer | Season code. |
./Season/Text | N | String | Season name. |
./Contract/ValidPeriod | N | - | Valid contract period. |
./ValidPeriod/@From | N | Date | From value. |
./ValidPeriod/@To | N | Date | To value. |
./Contract/Category | Y | - | Contract category. |
./Category/@Code | N | Integer | Contract category code. |
./Category/Text | N | String | Contract category name. |
./Contract/SupplierContractSharingAllotment | Y | - | If use the allotment from another contract. |
./SupplierContractSharingAllotment/@Code | N | Integer | Contract code. |
./SupplierContractSharingAllotment/Text | N | String | Contract name. |
./Contract/Organization | Y | - | Contract organization. It is not available in all the systems. |
./Organization/@Code | N | Integer | Organization code. |
./Organization/Text | N | String | Organization name. |
./Contract/VirtualCreditCardPayment | N | - | Virtual credit card information. |
./VirtualCreditCardPayment/@Type | N | Enum | If it uses a credit card. Possible values: • Yes • No • Default |
./VirtualCreditCardPayment/CardPoolCurrency | Y | String | Card currency. |
./VirtualCreditCardPayment/PaymentDate | Y | - | Payment date. |
./PaymentDate/@Type | N | Enum | Payment date type. Possible values • Arrival • Booking • Departure |
./PaymentDate/@Days | Y | Integer | Number of days |
./VirtualCreditCardPayment/RecipientsEmailAddress | Y | String | Emails. |
./Contract/UseMultipleAccommodationContracts | N | Boolean | If the contract can be used in multiple accommodation sales contracts. |
./Contract/PackageApplication | N | Enum | If the contract may be used as part of a package. Possible values: • All: It may be used in both package and hotel rates • HotelOnly: Only for hotel rates • PackagingOnly: Only for package rates. • DynamicPackageOnly: Only for package rates while using strictly dynamic packages. |
./Contract/LiberateMinimumAllotments | Y | - | Rules to release the minimum allotment. |
./LiberateMinimumAllotments/LiberateMinimumAllotment | Y | - | Rule. It can have, @From, @To and @NumDays, or @RelaseDate |
./LiberateMinimumAllotment/@RoomTypeCode | N | Integer | Room type code to which it applies. |
./LiberateMinimumAllotment/@From | Y | Date | From period. |
./LiberateMinimumAllotment/@To | Y | Date | To date period. |
./LiberateMinimumAllotment/@NumDays | Y | Integer | Number of days to liberate allotment. |
./LiberateMinimumAllotment/@ReleaseDate | Y | Date | Date when all the minimum allotment will be liberated. |
./Contract/RoomTypes | Y | - | Room types available in the contract. |
./RoomTypes/RoomType | Y | - | Specific room type. |
./RoomType/@Code | N | Integer | Room type code. |
./RoomType/Text | Y | String | Room type name. |
./Contract/Boards | Y | - | Board filter. If unavailable, it will mean that the contract was configured to work with all of the meal plans available on the hotel. |
./Boards/Board | Y | - | Specific board. |
./Board/@Code | N | Integer | Board internal code. |
./Contract/AdditionalInformation | N | - | Additional information. |
./AdditionalInformation/Remarks | Y | - | Contract remarks. |
./Remarks/Remark | Y | - | Contract remark. |
./Remark/@Language | N | String | Language code. The list of available languages will depend on the system. |
./Remark/Text | N | String | Remark text. |
./AdditionalInformation/InternalNotes | Y | String | Internal notes. |
./AdditionalInformation/ChildrenAges | Y | String | Children ages ranges, if they are different than in the hotel. |
./ChildrenAges/@FirstRangeFrom | N | Integer | First range from. |
./ChildrenAges/@FirstRangeTo | N | Integer | First range to. |
./ChildrenAges/@SecondRangeTo | Y | Integer | Second range to, if configured. |
./ChildrenAges/@ThirdRangeTo | Y | Integer | Third range to, if configured. |
./AdditionalInformation/BookingLengthOfStay | Y | - | Length of stay restriction for all the contract. |
./BookingLengthOfStay/@From | Y | Integer | From nights. |
./BookingLengthOfStay/@To | Y | Integer | To nights. |
./AdditionalInformation/SupplierCommission | N | - | Supplier commission configuration. |
./SupplierCommission/@Type | N | Enum | Supplier commission type. Possible values: • Yes: The commission should be in @Value • No: No commission • Default: Will refer to the hotel configuration. |
./SupplierCommission/@Value | Y | Double | Supplier commission percentage. |
./AdditionalInformation/ExternalCode | Y | String | External code. |
./AdditionalInformation/ContractsManager | Y | String | Contract manager information. |
./AdditionalInformation/MinimumAgeDateRanges | Y | - | Minimum age configuration. Optional configuration from the system on which the hotel may set minimum age configurations by date range. |
./MinimumAgeDateRanges/MinimumAgeDateRange | N | - | Specific date range. |
./MinimumAgeDateRange/@From | N | Date | From date. |
./MinimumAgeDateRange/@To | N | Date | To date. |
./MinimumAgeDateRange/@MinimumAge | N | Integer | Minimum age for the date range. |
./Contract/ExtranetUsers | Y | - | Extranet users that have access to this contract. |
./ExtranetUsers/ExtranetUser | Y | - | Specific extranet user. |
./ExtranetUser/@Code | N | Integer | Extranet user code. |
./ExtranetUser/Text | Y | String | Extranet user name. |
./Contract/{AccessConditions} | N | - | Node that contains access control restrictions about the policy. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelExtranetContractGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelExtranetContractGetRS Url = "http://localhost" TimeStamp = "2020-02-10T12:45:01.3011119+01:00" IntCode = "iqP/NUiHqWQRn4sLIs3ORvj4rCEoq5OTYRKDfJGx070=">
<Contracts>
<Contract Code = "11535" HotelCode = "1176" Active = "true" Currency = "USD" ReleaseApplication = "Stay" VisibleForExtranetUsers = "false" OffersApplication = "BestPrice" AllowFreeRate = "true" RecommendedSalesPrice = "No" SendStopSales = "true" PaymentAtDestination = "true" ShowValuedBookingSupplier = "Default" SendBookingToHotel = "Yes" ImmediatePayment = "false" NonRefundable = "false">
<Name>Contract name</Name>
<Type Code = "5">FIT</Type>
<Season Code = "1">General</Season>
<ValidPeriod From = "2019-01-01" To = "2025-12-31"/>
<Category Code = "13">General category</Category>
<VirtualCreditCardPayment Type = "Default"/>
<UseMultipleAccommodationContracts>true</UseMultipleAccommodationContracts>
<PackageApplication>All</PackageApplication>
<RoomTypes>
<RoomType Code = "5">Doble (1/2A+0/2N)</RoomType>
<RoomType Code = "26">Triple De Lujo (3/3A+0/0N)</RoomType>
</RoomTypes>
<AdditionalInformation>
<Remarks>
<Remark Language = "es">Remarks</Remark>
<Remark Language = "en">Comentarios</Remark>
</Remarks>
<ChildrenAges FirstRangeFrom = "1" FirstRangeTo = "10" SecondRangeTo = "12"/>
<BookingLengthOfStay From = "1" To = "3"/>
<SupplierCommission Type = "No"/>
<ExternalCode>REW32</ExternalCode>
</AdditionalInformation>
<ExtranetUsers>
<ExtranetUser Code = "10">user1</ExtranetUser>
<ExtranetUser Code = "15">user2</ExtranetUser>
</ExtranetUsers>
<AccessConditions>
<AccessCondition AllowAccess = "true">
<Market Code = "5" Name = "Alemán"/>
<AgencyGroup Code = "72" Name = "Agencia 1"/>
<Customer Code = "13478" Name = "test"/>
<CountryGroup Code = "2" Name = "As"/>
<Country Code = "12" Name = "ARMENIA"/>
</AccessCondition>
</AccessConditions>
</Contract>
</Contracts>
</HotelExtranetContractGetRS>
</HotelExtranetContractGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to either create or modify extranet contracts. If @Code is not specified within HotelExtranetContractRequest, then the system will create a new extranet contract.
Important note:
The N/Y values in the Opt columns means that the value is mandatory in the contract creation, but it is optional in the modification. Additionally, if an optional element is not specified, the system will maintain the previously specified value while, if an empty element is specified, the system will understand that you wish to modify the contract as to set an empty value.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelExtranetContractRequest | N | - | |
./HotelExtranetContractRequest/@Code | Y | Integer | Contract code. It is worth mentioning that: • If not included, it will imply a contract creation • If included, it will imply a contract modification. |
./HotelExtranetContractRequest/@HotelCode | N | Integer | Related hotel code. |
./HotelExtranetContractRequest/@Active | Y | Boolean | If the contract is active. |
./HotelExtranetContractRequest/@Delete | Y | Boolean | If you wish to delete the contract. |
./HotelExtranetContractRequest/@Currency | N/Y | String | Contract currency code. It’s not possible to change if there are bookings or prices loaded |
./HotelExtranetContractRequest/@ReleaseApplication | Y | Enum | Release application. Possible values: • Stay: Applies to all of the stay. • Checkin: Applies to the checkin date. |
./HotelExtranetContractRequest/@VisibleForExtranetUsers | Y | Boolean | If the contract is visible for extranet users. |
./HotelExtranetContractRequest/@OffersApplication | Y | Enum | Offer application. Possible values. • Priority: By the priority attribute. • BestPrice: Apply the best price. |
./HotelExtranetContractRequest/@AllowFreeRate | Y | Boolean | If the contract it is of free rates. It will be required on contracts meant to later by used by channel managers through the Extranet API. It’s not possible to change if it have rates. |
./HotelExtranetContractRequest/@RecommendedSalesPrice | Y | Enum | If the contract will allow for recommended prices to be specified. Possible values: • No: Recommended prices will not be allowed • NoShow: It is possible to load, but they will not show to customers • NoShowHours: It will not show only at special hours • Yes: It is possible to load and they will show to customers. |
./HotelExtranetContractRequest/@SendStopSales | Y | Boolean | If the stop sales will be send in the reports. |
./HotelExtranetContractRequest/@PaymentAtDestination | Y | Boolean | If the contract accept payment at destination. It is not available in all the systems. If the contract has this value selected, it’s not possible to change. |
./HotelExtranetContractRequest/@ShowValuedBookingSupplier | Y | Enum | If the supplier can see the booking value. Possible values: • Yes • No • Default |
./HotelExtranetContractRequest/@SendBookingToHotel | Y | Enum | Send bookings to the hotel email, and not to the supplier email. Possible values: • Yes • No • Default |
./HotelExtranetContractRequest/@ImmediatePayment | Y | Boolean | If part of the bookings should be paid at booking time. It is not available in all the systems. |
./HotelExtranetContractRequest/@NonRefundable | Y | Boolean | Indicates if the contract will be a non-refundable one. |
./HotelExtranetContractRequest/Name | N/Y | String | Contract name. |
./HotelExtranetContractRequest/Type | N/Y | - | Contract type. |
./Type/@Code | N | Integer | Contract type code. |
./HotelExtranetContractRequest/Season | N/Y | - | Season. |
./Season/@Code | N | Integer | Season code. |
./HotelExtranetContractRequest/ValidPeriod | N/Y | - | Valid contract period. |
./ValidPeriod/@From | N | Date | From value. |
./ValidPeriod/@To | N | Date | To value. |
./HotelExtranetContractRequest/Category | Y | - | Contract category. |
./Category/@Code | Y | Integer | If there is Category, but don’t have @Code, means that no category is wanted |
./HotelExtranetContractRequest/SupplierContractSharingAllotment | Y | - | If use the allotment from another contract. Only allowed in the creation request. |
./SupplierContractSharingAllotment/@Code | N | Integer | Contract code with the allotment. |
./HotelExtranetContractRequest/Organization | Y | - | Contract organization. It is not available in all the systems. |
./Organization/@Code | N | Integer | Organization code. |
./HotelExtranetContractRequest/VirtualCreditCardPayment | Y | - | Virtual credit card information. |
./VirtualCreditCardPayment/@Type | N | Enum | If it uses a credit card. Possible values: • Yes • No • Default |
./VirtualCreditCardPayment/CardPoolCurrency | Y | String | Card currency. |
./VirtualCreditCardPayment/PaymentDate | Y | - | Payment date. |
./PaymentDate/@Type | N | Enum | Payment date type. Possible values: • Arrival • Booking • Departure |
./PaymentDate/@Days | Y | Integer | Number of days |
./VirtualCreditCardPayment/RecipientsEmailAddress | Y | String | Emails. |
./HotelExtranetContractRequest/UseMultipleAccommodationContracts | Y | Boolean | If the contract can be used in multiple accommodation sales contracts. |
./HotelExtranetContractRequest/PackageApplication | Y | Enum | If the contract may be used as part of a package. Possible values: • All: It may be used in both package and hotel rates • HotelOnly: Only for hotel rates • PackagingOnly: Only for package rates. • DynamicPackageOnly: Only for package rates while using strictly dynamic packages. |
./HotelExtranetContractRequest/LiberateMinimumAllotments | Y | - | Rules to release the minimum allotment. |
./LiberateMinimumAllotments/@Action | N | Enum | Action to be performed. Possible values: • Add: Add the specified elements • Replace: Replace the current items with the specified ones. • Delete: Delete the currently saved list of elements. |
./LiberateMinimumAllotments/LiberateMinimumAllotment | Y | - | Rule. It can have, @From, @To and @NumDays, or @RelaseDate |
./LiberateMinimumAllotment/@RoomTypeCode | N | Integer | Room type code to which it applies. |
./LiberateMinimumAllotment/@From | Y | Date | From period. |
./LiberateMinimumAllotment/@To | Y | Date | To date period. |
./LiberateMinimumAllotment/@NumDays | Y | Integer | Number of days to liberate allotment. |
./LiberateMinimumAllotment/@ReleaseDate | Y | Date | Date when all the minimum allotment will be liberated. |
./HotelExtranetContractRequest/RoomTypes | Y | - | New room types to be related to the contract. Removing room types will not be possible. |
./RoomTypes/RoomType | Y | - | Specific room type. |
./RoomType/@Code | N | Integer | Room type code. |
./HotelExtranetContractRequest/Boards | Y | - | Board filter, allows for the following actions: • If not included on its creation, the contract will work with all of the existing boards of the hotel. • When modifying, not including the node will retain its previous configuration, while including the node as empty will remove the filter itself, enabling all of the existing boards of the hotel. |
./Boards/Board | Y | - | Specific board. |
./Board/@Code | N | Integer | Board internal code. |
./HotelExtranetContractRequest/AdditionalInformation | Y | - | Additional information. |
./AdditionalInformation/Remarks | Y | - | Contract remarks. |
./Remarks/Remark | Y | - | Contract remark. |
./Remark/@Language | N | String | Language code. The list of available languages will depend on the system. |
./Remark/Text | N | String | Remark text. |
./AdditionalInformation/MinimumAgeDateRanges | Y | - | Minimum age configuration. Optional configuration from the system on which the hotel may set minimum age configurations by date range. |
./MinimumAgeDateRanges/MinimumAgeDateRange | N | - | Specific date range. |
./MinimumAgeDateRange/@From | N | Date | From date. |
./MinimumAgeDateRange/@To | N | Date | To date. |
./MinimumAgeDateRange/@MinimumAge | N | Integer | Minimum age for the date range. |
./AdditionalInformation/InternalNotes | Y | String | Internal notes. |
./AdditionalInformation/ChildrenAges | Y | String | Children ages ranges, if they are different than in the hotel. |
./ChildrenAges/@FirstRangeFrom | N | Integer | First range from. |
./ChildrenAges/@FirstRangeTo | N | Integer | First range to. |
./ChildrenAges/@SecondRangeTo | Y | Integer | Second range to, if it is neccesary. |
./ChildrenAges/@ThirdRangeTo | Y | Integer | Third range to, if it is neccesary. Its use requires for a migration and may be unavailable. |
./AdditionalInformation/BookingLengthOfStay | Y | - | Length of stay restriction for all the contract. |
./BookingLengthOfStay/@From | Y | Integer | From nights. |
./BookingLengthOfStay/@To | Y | Integer | To nights. |
./AdditionalInformation/SupplierCommission | Y | - | Supplier commission configuration. |
./SupplierCommission/@Type | N | Enum | Supplier commission type. Possible values: • Yes: The commission should be in @Value • No: No commission • Default: Will refer to the hotel configuration. |
./SupplierCommission/@Value | Y | Double | Supplier commission percentage. |
./AdditionalInformation/ExternalCode | Y | String | External code. |
./AdditionalInformation/ContractsManager | Y | String | Contract manager information. |
./HotelExtranetContractRequest/ExtranetUsers | Y | - | Extranet users that have access to this contract. |
./ExtranetUsers/@Action | N | Enum | Action to be performed. Possible values: • Add: Add the specified elements • Replace: Replace the current items with the specified ones. • Delete: Delete the currently saved list of elements. |
./ExtranetUsers/ExtranetUser | Y | - | Specific extranet user. |
./ExtranetUser/@Code | N | Integer | Extranet user code. |
./HotelExtranetContractRequest/{AccessConditions} | N | - | Node that contains access control restrictions about the policy. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelExtranetContract>
<HotelExtranetContractRQ Version = "1" Language = "es">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelExtranetContractRequest Code = "18418" HotelCode = "1176" Active = "true" Currency = "USD" ReleaseApplication = "Stay" VisibleForExtranetUsers = "false" OffersApplication = "BestPrice" AllowFreeRate = "true" RecommendedSalesPrice = "No" SendStopSales = "true" PaymentAtDestination = "true" ShowValuedBookingSupplier = "Default" SendBookingToHotel = "Yes" ImmediatePayment = "false" NonRefundable = "false">
<Name>contrato13</Name>
<Type Code = "7"/>
<Season Code = "30"/>
<ValidPeriod From = "2019-01-01" To = "2024-12-31"/>
<Category Code = "13"/>
<SupplierContractSharingAllotment Code = "18418"/>
<Organization Code = "31"/>
<VirtualCreditCardPayment Type = "Yes">
<CardPoolCurrency>USD</CardPoolCurrency>
<PaymentDate Type = "Booking" Days = "10"/>
<RecipientsEmailAddress>test@test.com</RecipientsEmailAddress>
</VirtualCreditCardPayment>
<UseMultipleAccommodationContracts>true</UseMultipleAccommodationContracts>
<PackageApplication>HotelOnly</PackageApplication>
<LiberateMinimumAllotments Action = "Replace">
<LiberateMinimumAllotment RoomTypeCode = "5" From = "2020-01-28" To = "2020-01-28" NumDays = "0"/>
<LiberateMinimumAllotment RoomTypeCode = "26" From = "2020-01-28" To = "2020-01-28" NumDays = "0"/>
</LiberateMinimumAllotments>
<RoomTypes>
<RoomType Code = "26"/>
<RoomType Code = "5"/>
</RoomTypes>
<AdditionalInformation>
<Remarks>
<Remark Language = "es">fsda</Remark>
</Remarks>
<InternalNotes/>
<ChildrenAges FirstRangeFrom = "1" FirstRangeTo = "10" SecondRangeTo = "12"/>
<BookingLengthOfStay From = "1" To = "3"/>
<SupplierCommission Type = "Yes" Value = "1"/>
<ExternalCode>rew</ExternalCode>
<ContractsManager/>
</AdditionalInformation>
<ExtranetUsers Action = "Replace">
<ExtranetUser Code = "10"/>
<ExtranetUser Code = "42"/>
<ExtranetUser Code = "55"/>
<ExtranetUser Code = "111"/>
<ExtranetUser Code = "148"/>
</ExtranetUsers>
<AccessConditions>
<AccessCondition AllowAccess = "true">
<Market Code = "5"/>
<AgencyGroup Code = "72"/>
<Customer Code = "13478"/>
<CountryGroup Code = "2"/>
<Country Code = "12"/>
</AccessCondition>
</AccessConditions>
</HotelExtranetContractRequest>
</HotelExtranetContractRQ>
</HotelExtranetContract>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation/modification is correct, the system will supply you with the extranet contract complete information, which is exactly the same information as the one supplied on the HotelExtranetContractGet response.
Kindly refer to the HotelExtranetContractGet section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelExtranetContractResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelExtranetContractRS Url = "http://localhost" TimeStamp = "2020-02-10T17:32:02.9818443+01:00" IntCode = "JY6eNfuQF2DUizIvzWyUO5lmVf70dAQPdpIEIgOKcVM=">
<HotelExtranetContract>
<Contract Code = "18418" HotelCode = "1176" Active = "true" Currency = "USD" ReleaseApplication = "Stay" VisibleForExtranetUsers = "false" OffersApplication = "BestPrice" AllowFreeRate = "true" RecommendedSalesPrice = "No" SendStopSales = "true" PaymentAtDestination = "true" ShowValuedBookingSupplier = "Default" SendBookingToHotel = "Yes" ImmediatePayment = "false">
<Name>contrato13</Name>
<Type Code = "7">BAR</Type>
<Season Code = "30">Yeti todo el año</Season>
<ValidPeriod From = "2019-01-01" To = "2024-12-31"/>
<Category Code = "13">Awesome</Category>
<Organization Code = "31">Organización Panamá</Organization>
<VirtualCreditCardPayment Type = "Yes">
<CardPoolCurrency>USD</CardPoolCurrency>
<PaymentDate Type = "Booking" Days = "10"/>
<RecipientsEmailAddress>?</RecipientsEmailAddress>
</VirtualCreditCardPayment>
<UseMultipleAccommodationContracts>true</UseMultipleAccommodationContracts>
<PackageApplication>HotelOnly</PackageApplication>
<LiberateMinimumAllotments>
<LiberateMinimumAllotment RoomTypeCode = "5" From = "2020-01-28" To = "2020-01-28" NumDays = "0"/>
<LiberateMinimumAllotment RoomTypeCode = "26" From = "2020-01-28" To = "2020-01-28" NumDays = "0"/>
</LiberateMinimumAllotments>
<RoomTypes>
<RoomType Code = "5">Doble (1/2A+0/2N)</RoomType>
<RoomType Code = "26">Triple De Lujo (3/3A+0/0N)</RoomType>
<RoomType Code = "32">Doble Gran Turismo (2/2A+0/0N)</RoomType>
</RoomTypes>
<AdditionalInformation>
<Remarks>
<Remark Language = "es">Comentario</Remark>
<Remark Language = "en"/>
</Remarks>
<ChildrenAges FirstRangeFrom = "1" FirstRangeTo = "10" SecondRangeTo = "12"/>
<BookingLengthOfStay From = "1" To = "3"/>
<SupplierCommission Type = "Yes" Value = "1"/>
<ExternalCode>rew</ExternalCode>
</AdditionalInformation>
<ExtranetUsers>
<ExtranetUser Code = "10">pere</ExtranetUser>
<ExtranetUser Code = "42">jesextranet</ExtranetUser>
<ExtranetUser Code = "55">MaxExtranet</ExtranetUser>
<ExtranetUser Code = "111">jespruebcreacion</ExtranetUser>
<ExtranetUser Code = "148">vcbc</ExtranetUser>
</ExtranetUsers>
<AccessConditions>
<AccessCondition AllowAccess = "true">
<Market Code = "5" Name = "Alemán"/>
<AgencyGroup Code = "72" Name = "Agencia 1"/>
<Customer Code = "13478" Name = "test"/>
<CountryGroup Code = "2" Name = "As"/>
<Country Code = "12" Name = "ARMENIA"/>
</AccessCondition>
</AccessConditions>
</Contract>
</HotelExtranetContract>
</HotelExtranetContractRS>
</HotelExtranetContractResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain some codes neded in the service creation request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ServiceCatalogueData>
<ServiceCatalogueDataRQ Version="1" Language="ES">
<Login Password="pass" Email="user@mydomain.com"/>
</ServiceCatalogueDataRQ>
</ServiceCatalogueData>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
ServiceCatalogueDataResponse | N | - | - |
./ServiceCatalogueDataResponse/ServiceTypes | N | - | Possible services types. |
./ServiceTypes/Type | N | String | Type Name |
./Type/@Code | N | Integer | Type id |
./ServiceCatalogueDataResponse/Servicelabels | N | - | Possible services labels. |
./Servicelabels/Label | N | String | Label name |
./Label/@Code | N | Integer | Label id |
./ServiceCatalogueDataResponse/ServiceClassifications | N | - | Possible services classification. |
./ServiceClassifications/Classification | N | String | Classification name |
./Classification/@Code | N | Integer | Classification id |
./ServiceCatalogueDataResponse/ServiceCategories | N | - | Possible services categories. |
./ServiceCategories/Category | N | String | Category name |
./Category/@Code | N | Integer | Category id |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ServiceCatalogueDataResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ServiceCatalogueDataRS Url = "http://localhost" TimeStamp = "2019-04-08T10:50:27.4261218+02:00" IntCode = "98exxWhDxKJesB4E8+eK8qnCiNaLyHARU1JCKdRWVmw=">
<ServiceCatalogueDataResponse>
<ServiceTypes>
<Type Code = "8">Sport Activities</Type>
<Type Code = "61">TEATRO</Type>
<Type Code = "124">CINE</Type>
<Type Code = "129">Ejercicio Operativa</Type>
<Type Code = "130">Tour</Type>
<Type Code = "131">City tours</Type>
</ServiceTypes>
<ServiceLabels>
<Label Code = "1">Atraccion</Label>
<Label Code = "17">EtiquetaPrioridad2</Label>
<Label Code = "20">EtiquetaPrioridad3</Label>
</ServiceLabels>
<ServiceClassifications>
<Classification Code = "5">CLASS1</Classification>
<Classification Code = "6">CLASS2</Classification>
<Classification Code = "7">CLASS3</Classification>
</ServiceClassifications>
<ServiceCategories>
<Category Code="18">
<Name>Category 1</Name>
</Category>
<Category Code="8">
<Name>Category 2</Name>
</Category>
<Category Code="1">
<Name>Category 3</Name>
</Category>
</ServiceCategories>
</ServiceCatalogueDataResponse>
</ServiceCatalogueDataRS>
</ServiceCatalogueDataResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to update a service.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ServiceCreationRequest | N | - | - |
./ServiceCreationRequest/Service | N | - | Service information. |
./Service/@Code | Y | String | Service code. |
./Service/@Label | N | Integer | Service label id |
./Service/ServiceGeneralInformation | N | ||
./ServiceGeneralInformation/Names | N | ||
./Names/Name | N | String | Service name in each language |
./Names/@Language | N | String | Language of the text |
./ServiceGeneralInformation/Descriptions | N | - | Service descriptions, broken down by language and type. |
./Descriptions/Description | N | String | Specify description contents. You may specificy multiple Description nodes for the multiple languages and/or types. |
./Description/@Language | N | String | Language code of the description. |
./Description/@Type | N | String | Type of the description. Possible values: • SHT: Short description • LNG: Long description • SPE: Special information |
./ServiceGeneralInformation/ServiceInformation | N | ||
./ServiceInformation/Type | N | Service type | |
./ServiceInformation/@Code | N | Integer | Service type id |
./ServiceGeneralInformation/Classifications | N | ||
./Classifications/Classification | N | Classifications of the service | |
./Classifications/@Code | N | Integer | Classification id |
./ServiceGeneralInformation/Categories | N | ||
./Categories/Category | N | Category of the service | |
./Category/Name | N | Name of the category service | |
./Category/@Code | N | Integer | Category id |
./Service/ServiceOptions | N | ||
./ServiceOptions/ServiceOption | N | ||
./ServiceOption/@Code | Y | Integer | Option id |
./ServiceOption/Descriptions | |||
./Descriptions/Description | N | String | Option descriptions in each language |
./Description/@Language | N | String | Language code of the description. |
./Description/@Type | N | String | Type of the description. Possible values: • SHT: Short description • LNG: Long description • VCH: Voucher description |
./ServiceOption/Names | |||
./Names/Name | N | String | Option name in each language |
./Names/@Language | N | String | Language of the text |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ServiceCatalogueDataResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ServiceCatalogueDataRS Url = "http://localhost" TimeStamp = "2019-04-08T10:50:27.4261218+02:00" IntCode = "98exxWhDxKJesB4E8+eK8qnCiNaLyHARU1JCKdRWVmw=">
<ServiceCatalogueDataResponse>
<ServiceTypes>
<Type Code = "8">Sport Activities</Type>
<Type Code = "61">TEATRO</Type>
<Type Code = "124">CINE</Type>
<Type Code = "129">Ejercicio Operativa</Type>
<Type Code = "130">Tour</Type>
<Type Code = "131">City tours</Type>
</ServiceTypes>
<ServiceLabels>
<Label Code = "1">Atraccion</Label>
<Label Code = "17">EtiquetaPrioridad2</Label>
<Label Code = "20">EtiquetaPrioridad3</Label>
</ServiceLabels>
<ServiceClassifications>
<Classification Code = "5">CLASS1</Classification>
<Classification Code = "6">CLASS2</Classification>
<Classification Code = "7">CLASS3</Classification>
</ServiceClassifications>
<ServiceCategories>
<Category Code = "18">
<Name>Category 1</Name>
</Category>
<Category Code = "8">
<Name>Category 2</Name>
</Category>
<Category Code = "1">
<Name>Category 3</Name>
</Category>
</ServiceCategories>
</ServiceCatalogueDataResponse>
</ServiceCatalogueDataRS>
</ServiceCatalogueDataResponse>
</soap:Body>
</soap:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
ServiceCreationResponse | N | - | - |
./ServiceCreationResponse/Service | N | - | Service information. |
./Service/@Code | Y | String | Service code. |
./Service/@Label | N | Integer | Service label id |
./Service/ServiceGeneralInfomation | N | - | |
./ServiceGeneralInfomation/Names | N | - | |
./Names/Name | N | String | Service name in each language |
./Names/@Language | N | String | Language of the text |
./ServiceGeneralInfomation/Descriptions | N | - | Service descriptions, broken down by language and type. |
./Descriptions/Description | N | String | Specify description contents. |
./Description/@Language | N | String | Language code of the description. |
./Description/@Type | N | String | Type of the description. Possible values: • SHT: Short description • LNG: Long description • SPE: Special information |
./ServiceGeneralInfomation/ServiceInformation | N | ||
./ServiceInformation/Type | N | Service type | |
./ServiceInformation/@Code | N | Integer | Service type id |
./ServiceGeneralInfomation/Classifications | N | ||
./Classifications/Classification | N | Classifications of the service | |
./Classifications/@Code | N | Integer | Classification id |
./ServiceGeneralInfomation/Categories | N | ||
./Categories/Category | N | Category of the service | |
./Category/@Code | N | Integer | Category id |
./Category/Name | N | String | Category Name |
./Service/ServiceOptions | N | ||
./ServiceOptions/ServiceOption | N | ||
./ServiceOption/@Code | Y | Integer | Option id |
./ServiceOption/Descriptions | |||
./Descriptions/Description | N | String | Option descriptions in each language |
./Description/@Language | N | String | Language code of the description. |
./Description/@Type | N | String | Type of the description. Possible values: • SHT: Short description • LNG: Long description • VCH: Voucher description |
./ServiceOption/Names | |||
./Names/Name | N | String | Option name in each language |
./Names/@Language | N | String | Language of the text |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ServiceCreationResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ServiceCrationRS Url = "http://localhost" TimeStamp = "2019-04-08T11:32:33.6686644+02:00" IntCode = "Ppkb5oHGaVOBc671Mxul9k1CDhI008828z/53aEU62k=">
<ServiceCrationResponse>
<Service Code = "593" Label = "20">
<ServiceGeneralInfomation>
<Names>
<Name Language = "ES">Servicio</Name>
<Name Language = "EN">Nombre Servicio EN</Name>
</Names>
<Descriptions>
<Description Language = "ES" Type = "SHT">Corta en espaF1ol</Description>
<Description Language = "ES" Type = "LNG">Desc LNG ES</Description>
<Description Language = "EN" Type = "SHT">English short</Description>
<Description Language = "EN" Type = "LNG">Desc LNG EN</Description>
</Descriptions>
<ServiceInformation>
<Type Code = "8">Sport Activities</Type>
</ServiceInformation>
<Classifications>
<Classification Code = "5">CLASS1</Classification>
</Classifications>
<VideoLinks>
<Video>https://www.youtube.com/watch?v=54W8kktFE_o</Video>
</VideoLinks>
</ServiceGeneralInfomation>
<ServiceOptions>
<ServiceOption Code = "1854">
<Names>
<Name Language = "es">Servicio</Name>
</Names>
<Descriptions>
<Description Language = "es" Type = "SHT">esc ES</Description>
</Descriptions>
</ServiceOption>
<ServiceOption Code = "1855">
<Names>
<Name Language = "es">Servicio</Name>
</Names>
<Descriptions>
<Description Language = "es" Type = "SHT">esc ES</Description>
</Descriptions>
</ServiceOption>
</ServiceOptions>
</Service>
</ServiceCrationResponse>
</ServiceCrationRS>
</ServiceCreationResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain some codes neded in the transfer creation request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<TransferCatalogueData>
<TransferCatalogueDataRQ Version="1" Language="ES">
<Login Password="pass" Email="user@mydomain.com"/>
</TransferCatalogueDataRQ>
</TransferCatalogueData>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
TransferCatalogueDataResponse | N | - | - |
./TransferCatalogueDataResponse/TransferTypes | N | - | Possible transfer types. |
./TransferTypes/Type | N | String | Type Name |
./Type/@Code | N | Integer | Type id |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<TransferCatalogueDataResponse xmlns = "http://www.juniper.es/webservice/2007/">
<TransferCatalogueDataRS Url = "http://localhost" TimeStamp = "2019-04-08T10:50:27.4261218+02:00" IntCode = "98exxWhDxKJesB4E8+eK8qnCiNaLyHARU1JCKdRWVmw=">
<TransferCatalogueDataResponse>
<TransferTypes>
<Type Code = "127">Ferries</Type>
<Type Code = "61">Shuttle</Type>
</TransferTypes>
</TransferCatalogueDataResponse>
</TransferCatalogueDataRS>
</TransferCatalogueDataResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to update a transfer.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
TransferCreationRequest | N | - | - |
Transfer | N | - | Transfer information. |
./Transfer/@Code | Y | Integer | Transfer code. |
./Transfer/@PrintigCode | N | String | Printing code |
./Transfer/TransferGeneralInformation | N | ||
./TransferGeneralInformation/Names | N | ||
./Names/Name | N | String | Transfer name in each language |
./Names/@Language | N | String | Language of the text |
./TransferGeneralInformation/Descriptions | N | ||
./Descriptions/Description | N | String | Transfer descriptions in each language |
./Descriptions/@Language | N | String | Language of the text |
./Descriptions/@Type | N | String | - SHT: Short description - LNG: Long description - OPICKUP: Origin pick-up message - DPICKUP: Destination pick-up mesage |
./TransferGeneralInformation/TransferInformation | N | ||
./TransferInformation/Type | N | Transfer type | |
./TransferInformation/@Code | N | Integer | Transfer type id |
./Transfer/TransferOptions | N | ||
./TransferOptions/TransferOption | N | ||
./TransferOption/@Code | Y | Integer | Option id |
./TransferOption/Descriptions | |||
./Descriptions/Description | N | String | Option descriptions in each language |
./Descriptions/@Language | N | String | Language of the text |
./Descriptions/@Type | N | String | - SHT: Short description - LNG: Long description - VCH: Voucher description |
./TransferOption/Names | |||
./Names/Name | N | String | Option name in each language |
./Names/@Language | N | String | Language of the text |
<soapenv:Envelope xmlsoapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<TransferCreation>
<TransferCreationRQ Version = "1" Language = "?">
<Login Password = "pass" Email = "user@mydomain.com"/>
<TransferCrationRequest>
<Transfer Code = "593" PrintingCode = "2HJSYE450">
<TransferGeneralInfomation>
<Names>
<Name Language = "es">Transfer</Name>
</Names>
<Descriptions>
<Description Language = "ES" Type = "SHT">Desc ES</Description>
<Description Language = "ES" Type = "LNG">Desc LNG ES</Description>
<Description Language = "EN" Type = "SHT">Desc EN</Description>
<Description Language = "EN" Type = "LNG">Desc LNG EN</Description>
</Descriptions>
<TransferInformation>
<Type Code = "8"/>
</TransferInformation>
<VideoLinks>
<Video>https://www.youtube.com/watch?v=54W8kktFE_o</Video>
</VideoLinks>
</TransferGeneralInfomation>
<TransferOptions>
<TransferOption Code = "1854">
<Names>
<Name Language = "en">Option Name</Name>
</Names>
<Descriptions>
<Description Language = "es" Type = "SHT">Desc ES</Description>
</Descriptions>
</TransferOption>
<TransferOption Code = "1855">
<Names>
<Name Language = "en">Option Name</Name>
</Names>
<Descriptions>
<Description Language = "es" Type = "SHT">Desc ES</Description>
</Descriptions>
</TransferOption>
</TransferOptions>
</Transfer>
</TransferCrationRequest>
</TransferCreationRQ>
</TransferCreation>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
TransferCreationResponse | N | - | - |
./TransferCreationResponse/Transfer | N | - | Transfer information. |
./Transfer/@Code | Y | Integer | Transfer code. |
./Transfer/@PrintigCode | N | String | Printing code |
./Transfer/TransferGeneralInformation | N | ||
./TransferGeneralInformation/Names | N | ||
./Names/Name | N | String | Transfer name in each language |
./Names/@Language | N | String | Language of the text |
./TransferGeneralInformation/Descriptions | N | ||
./Descriptions/Description | N | String | Transfer descriptions in each language |
./Descriptions/@Language | N | String | Language of the text |
./Descriptions/@Type | N | String | - SHT: Short description - LNG: Long description - OPICKUP: Origin pick-up message - DPICKUP: Destination pick-up mesage |
./TransferGeneralInformation/TransferInformation | N | ||
./TransferInformation/Type | N | Transfer type | |
./TransferInformation/@Code | N | Integer | Transfer type id |
./Transfer/TransferOptions | N | ||
./TransferOptions/TransferOption | N | ||
./TransferOption/@Code | Y | Integer | Option id |
Descriptions | |||
./Descriptions/**Description | N | String | Option descriptions in each language |
./Descriptions/**@Language | N | String | Language of the text |
./Descriptions/**@Type | N | String | - SHT: Short description - LNG: Long description - VCH: Voucher description |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<TransferCreationResponse xmlns = "http://www.juniper.es/webservice/2007/">
<TransferCrationRS Url = "http://localhost" TimeStamp = "2019-04-08T09:12:17.0898485+02:00" IntCode = "0CAkyoKNMUR5JNI0oeWf898vLwgfdsxHQGBsVzuwppY=">
<TransferCrationResponse>
<Transfer Code = "1050">
<TransferGeneralInfomation>
<Names>
<Name Language = "ES">Transefer</Name>
<Name Language = "EN">a with cost contract (Copy)</Name>
</Names>
<Descriptions>
<Description Language = "ES" Type = "SHT">SHT ES</Description>
<Description Language = "ES" Type = "LNG">LNG ES</Description>
<Description Language = "ES" Type = "OPICKUP">OPICKUP ES</Description>
<Description Language = "ES" Type = "DPICKUP">DPICKUP ES</Description>
<Description Language = "EN" Type = "SHT">SHT EN</Description>
<Description Language = "EN" Type = "LNG">LNG EN</Description>
<Description Language = "EN" Type = "OPICKUP">OPICKUP EN</Description>
<Description Language = "EN" Type = "DPICKUP">DPICKUP EN</Description>
</Descriptions>
<TransferInformation>
<Type Code = "34"/>
</TransferInformation>
<VideoLinks>
<Video>https://www.youtube.com/watch?v=x4oxq8Bqt8A</Video>
</VideoLinks>
</TransferGeneralInfomation>
<TransferOptions>
<TransferOption Code = "2595">
<Names>
<Name Language = "en">Option Name</Name>
</Names>
<Descriptions>
<Description Language = "ES" Type = "SHT">SHT ES</Description>
<Description Language = "ES" Type = "LNG">LNG ES</Description>
<Description Language = "ES" Type = "VCH">VCH ES</Description>
<Description Language = "EN" Type = "SHT">SHT EN</Description>
<Description Language = "EN" Type = "LNG">LNG EN</Description>
<Description Language = "EN" Type = "VCH">VCH EN</Description>
</Descriptions>
</TransferOption>
<TransferOption Code = "2596">
<Names>
<Name Language = "en">Option Name</Name>
</Names>
<Descriptions/>
</TransferOption>
</TransferOptions>
</Transfer>
</TransferCrationResponse>
</TransferCrationRS>
</TransferCreationResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve the list of existing unique hotel templates of the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelTemplateList>
<HotelTemplateListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
</HotelTemplateListRQ>
</HotelTemplateList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelTemplates | Y | - | - |
./HotelTemplates/HotelTemplate | Y | - | Specific template. |
./HotelTemplate/@Code | N | Integer | Internal template code. |
./HotelTemplate/@TotalHotels | N | Integer | Total number of hotels included within the template. |
./HotelTemplate/Name | N | String | Template name. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelTemplateListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelTemplateListRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-09-15T12:11:44.4495832+02:00" IntCode = "zcJUwDKJHGNvZP3Ljq5d2YC38vI77ptHP7R179uVpaU=">
<HotelTemplates>
<HotelTemplate Code = "337" TotalHotels = "6236">
<Name>Test Juniper Template</Name>
</HotelTemplate>
<HotelTemplate Code = "326" TotalHotels = "92322">
<Name>HGD + ASE Template</Name>
</HotelTemplate>
<HotelTemplate Code = "311" TotalHotels = "110000">
<Name>Big Template</Name>
</HotelTemplate>
</HotelTemplates>
</HotelTemplateListRS>
</HotelTemplateListResponse>
</soap:Body>
</soap:Envelope>
Following the internal template codes that you could retrieve on the HotelTemplateList request, this petition will allow you to retrieve the detailed information of these unique hotel templates. You may request for up to 5 templates at once.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelTemplateGetRequest | N | - | Filters related to the request. |
./HotelTemplateGetRequest/HotelTemplates | N | - | List of hotel templates. You may request for up to 5 templates at once. |
./HotelTemplates/Template | N | - | Specific template. |
./Template/@Code | N | Integer | Internal template code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelTemplateGet>
<HotelTemplateGetRQ Version = "1.1" Language = "es">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelTemplateGetRequest>
<HotelTemplates>
<Template Code = "298"/>
</HotelTemplates>
</HotelTemplateGetRequest>
</HotelTemplateGetRQ>
</HotelTemplateGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelTemplates | Y | - | - |
./HotelTemplates/HotelTemplate | Y | - | Specific template. |
./HotelTemplate/@Code | N | Integer | Internal template code. |
./HotelTemplate/@TotalHotels | N | Integer | Total number of hotels included within the template. |
./HotelTemplate/Name | N | String | Template name. |
./HotelTemplate/Hotels | N | - | List of hotels included within the template. |
./Hotels/Hotel | N | - | Specific hotel. |
./Hotel/@JPCode | N | String | Hotel JPCode. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelTemplateGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelTemplateGetRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-09-16T09:58:43.5517219+02:00" IntCode = "UiDLek37twUMUCsG3vNlBBPiheEswGoJDJAjdN4ANoY=">
<HotelTemplates>
<HotelTemplate Code = "298" TotalHotels = "2">
<Name>Test Template</Name>
<Hotels>
<Hotel JPCode = "JP000400"/>
<Hotel JPCode = "JP000402"/>
</Hotels>
</HotelTemplate>
</HotelTemplates>
</HotelTemplateGetRS>
</HotelTemplateGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to either create, modify or delete unique hotel templates. If @Code is not specified within HotelTemplateRequest, then the system will create a new unique hotel template.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelTemplateRequest | N | - | Filters related to the request. |
./HotelTemplateRequest/@Code | Y | Integer | Unique hotel template code. If not included, the system will create a new unique hotel template with this information. |
./HotelTemplateRequest/@Delete | Y | Boolean | If true, the hotel template will be deleted. |
./HotelTemplateRequest/Hotels | Y | - | List of hotels of the template. |
./Hotels/@Action | Y | String | Action to perform regarding the list of hotels, mandatory on modifications. Possible values • Add: Add new hotels to the template. • Delete: Delete the list of specified hotels from the template. |
./Hotels/Hotel | N | - | Specific hotel. |
./Hotel/@JPCode | N | String | Hotel JPCode. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelTemplate>
<HotelTemplateRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelTemplateRequest Code = "298">
<Hotels Action = "Add">
<Hotel JPCode = "JP001124"/>
<Hotel JPCode = "JP001125"/>
</Hotels>
</HotelTemplateRequest>
</HotelTemplateRQ>
</HotelTemplate>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation/modification is correct, the system will supply you with the unique hotel template complete information, which is exactly the same information as the one supplied on the HotelTemplateGet response.
Kindly refer to the HotelTemplateGet section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelTemplateResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelTemplateRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-09-16T10:50:08.0817132+02:00" IntCode = "y5XCOLim35CizA0hKVtv078xuYtZrXYOAz2YUdxcKYg=">
<HotelTemplate Code = "298" TotalHotels = "4">
<Name>Test Template</Name>
<Hotels>
<Hotel JPCode = "JP000400"/>
<Hotel JPCode = "JP000402"/>
<Hotel JPCode = "JP001124"/>
<Hotel JPCode = "JP001125"/>
</Hotels>
</HotelTemplate>
</HotelTemplateRS>
</HotelTemplateResponse>
</soap:Body>
</soap:Envelope>
Following the internal template codes that you could retrieve on the HotelTemplateList request, this petition will allow you to retrieve the detailed assignment information of these unique hotel templates. You may request for up to 5 templates at once.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelTemplateAssignmentGetRequest | N | - | Filters related to the request. |
./HotelTemplateAssignmentGetRequest/HotelTemplates | N | - | List of hotel templates. You may request for up to 5 templates at once. |
./HotelTemplates/Template | N | - | Specific template. |
./Template/@Code | N | Integer | Internal template code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelTemplateAssignmentGet>
<HotelTemplateAssignmentGetRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelTemplateAssignmentGetRequest>
<HotelTemplates>
<Template Code = "13"/>
</HotelTemplates>
</HotelTemplateAssignmentGetRequest>
</HotelTemplateAssignmentGetRQ>
</HotelTemplateAssignmentGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelTemplates | Y | - | - |
./HotelTemplates/HotelTemplate | Y | - | Specific template. |
./HotelTemplate/@Code | N | Integer | Internal template code. |
./HotelTemplate/@TotalHotels | N | Integer | Total number of hotels included within the template. |
./HotelTemplate/Name | N | String | Template name. |
./HotelTemplate/TemplateAssignments | N | - | List of assignments included within the template. |
./TemplateAssignments/TemplateAssignment | N | - | Specific template assignment. |
./TemplateAssignment/@Code | N | Integer | Template assignment internal code. |
./TemplateAssignment/@Active | N | Boolean | Template assignment is active. An inactive template means that the filters specified would not have any template being applied to them, not even the default one. |
./TemplateAssignment/@AllBranches | N | Boolean | Template assignment applies to all branches. |
./TemplateAssignment/@Default | Y | Boolean | Default assignment. If true, identifies if this is a default assignment that would apply whenever there weren't any other applicable conditions. |
./TemplateAssignment/StartBooking | Y | Date | Template assignment start booking date. |
./TemplateAssignment/EndBooking | Y | Date | Template assignment end booking date. |
./TemplateAssignment/StartStay | Y | Date | Template assignment start stay date. |
./TemplateAssignment/EndStay | Y | Date | Template assignment end stay date. |
./TemplateAssignment/Customer | Y | String | Template assignment customer name. |
./Customer/@Code | N | Integer | Customer code. |
./TemplateAssignment/AgencyGroup | Y | String | Template assignment agency group name. |
./AgencyGroup/@Code | N | Integer | Agency group code. |
./TemplateAssignment/Channel | Y | String | Template assignment sales channel name. |
./Channel/@Code | N | String | Sales channel code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelTemplateAssignmentGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelTemplateAssignmentGetRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-10-20T10:29:32.7330376+02:00" IntCode = "gu3tH+qyh+fTcdlgnCXxoHN/PU6qnapwL73jFsOqbRk=">
<HotelTemplates>
<HotelTemplate Code = "13" TotalHotels = "2">
<Name>Test Template</Name>
<TemplateAssignments>
<TemplateAssignment Code = "46" Active = "true" AllBranches = "false" Default = "true"/>
<TemplateAssignment Code = "47" Active = "true" AllBranches = "false">
<Customer Code = "1345">XML Test</Customer>
<Channel Code = "Xml ">WebService</Channel>
</TemplateAssignment>
<TemplateAssignment Code = "48" Active = "true" AllBranches = "false">
<Customer Code = "1345">XML Test</Customer>
<Channel Code = "Xml3">WebService Xml3</Channel>
</TemplateAssignment>
</TemplateAssignments>
</HotelTemplate>
</HotelTemplates>
</HotelTemplateAssignmentGetRS>
</HotelTemplateAssignmentGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to either create, modify or delete template assignments. Including both @Code and @Action will be mandatory.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelTemplateRequest | N | - | Filters related to the request. |
./HotelTemplateRequest/@Code | N | Integer | Unique hotel template code. As assignments are always related to a template, including this property will always be mandatory. |
./HotelTemplateRequest/TemplateAssignments | Y | - | List of template assignments. |
./TemplateAssignments/@Action | N | String | Action to take with the assignments. Possible values • Add: Add new assignments or, if TemplateAssignment@Code is included, modify existing assignments. • Delete: Delete selected (those that include @Code) assignments. • Replace: Replace the list of existing assignments. Including an empty list of TemplateAssignments will clear the list of assignments of the template. |
./TemplateAssignments/TemplateAssignment | N | - | Specific template assignment. |
./TemplateAssignment/@Code | Y | Integer | Template assignment internal code. Required in order to delete and/or modify the assignment. |
./TemplateAssignment/@Active | Y | Boolean | Template assignment is active. An inactive template means that the filters specified would not have any template being applied to them, not even the default one. |
./TemplateAssignment/@AllBranches | Y | Boolean | Template assignment applies to all branches. |
./TemplateAssignment/@Default | Y | Boolean | Default assignment. If true, identifies if this is a default assignment that would apply whenever there weren't any other applicable conditions. |
./TemplateAssignment/StartBooking | Y | Date | Template assignment start booking date. |
./TemplateAssignment/EndBooking | Y | Date | Template assignment end booking date. |
./TemplateAssignment/StartStay | Y | Date | Template assignment start stay date. |
./TemplateAssignment/EndStay | Y | Date | Template assignment end stay date. |
./TemplateAssignment/Customer | Y | String | Template assignment customer name. |
./Customer/@Code | N | Integer | Customer code. |
./TemplateAssignment/AgencyGroup | Y | String | Template assignment agency group name. |
./AgencyGroup/@Code | N | Integer | Agency group code. |
./TemplateAssignment/Channel | Y | String | Template assignment sales channel name. |
./Channel/@Code | N | String | Sales channel code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelTemplateAssignment>
<HotelTemplateAssignmentRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelTemplateRequest Code = "13">
<TemplateAssignments Action = "Add">
<TemplateAssignment Active = "true" AllBranches = "false" Default = "true"/>
<TemplateAssignment Active = "true" AllBranches = "false">
<Customer Code = "1345"/>
<Channel Code = "Xml"/>
</TemplateAssignment>
<TemplateAssignment Active = "true" AllBranches = "false">
<Customer Code = "1345"/>
<Channel Code = "Xml3"/>
</TemplateAssignment>
</TemplateAssignments>
</HotelTemplateRequest>
</HotelTemplateAssignmentRQ>
</HotelTemplateAssignment>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation/modification is correct, the system will supply you with the template assignments complete information, which is exactly the same information as the one supplied on the HotelTemplateAssignmentGet response.
Kindly refer to the HotelTemplateAssignmentGet section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelTemplateAssignmentResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelTemplateAssignmentRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2021-10-20T10:29:25.5468003+02:00" IntCode = "vvNNCjFHXgwlE0CscR7hl/fO7ZI3MAtpHqE4qW/be8s=">
<HotelTemplateAssignment Code = "13" TotalHotels = "2">
<Name>Test Template</Name>
<TemplateAssignments>
<TemplateAssignment Code = "46" Active = "true" AllBranches = "false" Default = "true"/>
<TemplateAssignment Code = "47" Active = "true" AllBranches = "false">
<Customer Code = "1345">XML Test</Customer>
<Channel Code = "Xml ">WebService</Channel>
</TemplateAssignment>
<TemplateAssignment Code = "48" Active = "true" AllBranches = "false">
<Customer Code = "1345">XML Test</Customer>
<Channel Code = "Xml3">WebService Xml3</Channel>
</TemplateAssignment>
</TemplateAssignments>
</HotelTemplateAssignment>
</HotelTemplateAssignmentRS>
</HotelTemplateAssignmentResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve the list of existing supplier templates of the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Supplier | Y | String | Optional filter that lets you establish the supplier code from which you would like to retrieve templates from. Contact your project manager for a list of your available supplier codes. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelSupplierTemplateList>
<HotelSupplierTemplateListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<Supplier>EXR</Supplier>
</HotelSupplierTemplateListRQ>
</HotelSupplierTemplateList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelSupplierTemplates | Y | - | - |
./HotelSupplierTemplates/HotelSupplierTemplate | Y | - | Specific template. |
./HotelSupplierTemplate/@Code | N | Integer | Internal template code. |
./HotelSupplierTemplate/@Supplier | N | String | Supplier code. |
./HotelSupplierTemplate/@NoHotel | N | Boolean | Template labeled as NoHotel. |
./HotelSupplierTemplate/@TotalHotels | N | Integer | Total number of hotels included within the template. |
./HotelSupplierTemplate/Name | N | String | Template name. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelSupplierTemplateListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelSupplierTemplateListRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-09-29T13:01:33.3605933+02:00" IntCode = "fTBkVidasTZ49p51vnF8sBBx4ITB0PeblnBjiyyX+Dc=">
<HotelSupplierTemplates>
<HotelSupplierTemplate Code = "20" Supplier = "EXR" NoHotel = "false" TotalHotels = "2">
<Name>Expedia Inventory for QA process</Name>
</HotelSupplierTemplate>
</HotelSupplierTemplates>
</HotelSupplierTemplateListRS>
</HotelSupplierTemplateListResponse>
</soap:Body>
</soap:Envelope>
Following the internal template codes that you could retrieve on the HotelSupplierTemplateList request, this petition will allow you to retrieve the detailed information of these unique hotel templates.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelSupplierTemplateGetRequest | N | - | Filters related to the request. |
./HotelSupplierTemplateGetRequest/HotelSupplierTemplates | N | - | List of hotel templates. Up to 5 templates may be requested. |
./HotelSupplierTemplates/SupplierTemplate | N | - | Specific template. |
./SupplierTemplate/@Code | N | Integer | Internal template code. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelSupplierTemplateGet>
<HotelSupplierTemplateGetRQ Version="1.1" Language="en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelSupplierTemplateGetRequest>
<HotelSupplierTemplates>
<SupplierTemplate Code="20"/>
</HotelSupplierTemplates>
</HotelSupplierTemplateGetRequest>
</HotelSupplierTemplateGetRQ>
</HotelSupplierTemplateGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelSupplierTemplates | Y | - | - |
./HotelSupplierTemplates/HotelSupplierTemplate | Y | - | Specific template. |
./HotelSupplierTemplate/@Code | N | Integer | Internal template code. |
./HotelSupplierTemplate/@Supplier | N | String | Supplier code. |
./HotelSupplierTemplate/@NoHotel | N | Boolean | Template labeled as NoHotel. |
./HotelSupplierTemplate/@TotalHotels | N | Integer | Total number of hotels included within the template. |
./HotelSupplierTemplate/Name | N | String | Template name. |
./HotelSupplierTemplate/Hotels | N | - | List of hotels included within the template. |
./Hotels/Hotel | N | - | Specific hotel. |
./Hotel/@Code | N | String | Supplier hotel code. |
./Hotel/@JPCode | Y | String | Hotel JPCode. |
./Hotel/Name | N | String | Hotel name. |
./Hotel/Zone | Y | - | Hotel zone. |
./Zone/@Code | N | Integer | Zone code. |
./Zone/Name | N | String | Zone name. |
./Hotel/HotelCategory | Y | String | Hotel category. |
./Hotel/Address | Y | - | Hotel address. |
./Address/Address | Y | String | Address line. |
./Address/Latitude | Y | String | Address latitude. |
./Address/Longitude | Y | String | Address longitude. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelSupplierTemplateGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelSupplierTemplateGetRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-09-29T13:20:43.4091881+02:00" IntCode = "mof2tE9gWynBt3Dj6UTGK3QjzlVDooiQnavFj5VfOV0=">
<HotelSupplierTemplates>
<HotelSupplierTemplate Code = "20" Supplier = "EXR" NoHotel = "false" TotalHotels = "2">
<Name>Expedia Inventory for QA process</Name>
<Hotels>
<Hotel Code = "1202786" JPCode = "JP169526">
<Name>Hilton Garden Inn Chicago/Midway Airport</Name>
<Zone Code = "21730">
<Name>Bedford Park</Name>
</Zone>
<HotelCategory>3.0</HotelCategory>
<Address>
<Address>6530 S Cicero Ave, 60638, Chicago, United States</Address>
<Latitude>41,77467</Latitude>
<Longitude>-87,74538</Longitude>
</Address>
</Hotel>
<Hotel Code = "14447" JPCode = "JP419068">
<Name>The Ritz-Carlton, Chicago</Name>
<Zone Code = "517">
<Name>Chicago</Name>
</Zone>
<HotelCategory>5.0</HotelCategory>
<Address>
<Address>160 E Pearson Street, 60611, Chicago, United States</Address>
<Latitude>41,89765</Latitude>
<Longitude>-87,62245</Longitude>
</Address>
</Hotel>
</Hotels>
</HotelSupplierTemplate>
</HotelSupplierTemplates>
</HotelSupplierTemplateGetRS>
</HotelSupplierTemplateGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to either create, modify or delete unique hotel templates. If @Code is not specified within HotelSupplierTemplateRequest, then the system will create a new supplier template.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelTemplateRequest | N | - | Filters related to the request. |
./HotelTemplateRequest/@Code | Y | Integer | Unique hotel template code. If not included, the system will create a new unique hotel template with this information. |
./HotelTemplateRequest/@Supplier | Y | String | Supplier code. |
./HotelTemplateRequest/@NoHotel | Y | Boolean | Template labeled as NoHotel. |
./HotelTemplateRequest/@Delete | Y | Boolean | Delete the template. |
./HotelTemplateRequest/Name | Y | String | Template name. |
./HotelTemplateRequest/Hotels | Y | - | List of hotels of the template. |
./Hotels/@Action | Y | String | Action to perform regarding the list of hotels, mandatory on modifications. Possible values • Add: Add new hotels to the template. • Delete: Delete hotels from the template. |
./Hotels/Hotel | N | - | Specific hotel. |
./Hotel/@Code | Y | String | Supplier hotel code. |
./Hotel/@JPCode | Y | String | Hotel JPCode. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelSupplierTemplate>
<HotelSupplierTemplateRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelTemplateRequest Supplier = "EXR" NoHotel = "false">
<Name>EXR Test Template</Name>
<Hotels>
<Hotel Code = "1202786"/>
<Hotel Code = "14447"/>
</Hotels>
</HotelTemplateRequest>
</HotelSupplierTemplateRQ>
</HotelSupplierTemplate>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation/modification is correct, the system will supply you with the supplier hotel template complete information, which is exactly the same information as the one supplied on the HotelSupplierTemplateGet response.
Kindly refer to the HotelSupplierTemplateGet section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelSupplierTemplateResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelSupplierTemplateRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-09-29T13:35:06.1457912+02:00" IntCode = "bm/mEeIEiEoU3pjtgEFbRiAHYKflqeYofDXaPo7EGKQ=">
<HotelSupplierTemplate Code = "21" Supplier = "EXR" NoHotel = "false" TotalHotels = "2">
<Name>EXR Test Template</Name>
<Hotels>
<Hotel Code = "1202786" JPCode = "JP169526">
<Name>Hilton Garden Inn Chicago/Midway Airport</Name>
<Zone Code = "21730">
<Name>Bedford Park</Name>
</Zone>
<HotelCategory>3.0</HotelCategory>
<Address>
<Address>6530 S Cicero Ave, 60638, Chicago, United States</Address>
<Latitude>41,77467</Latitude>
<Longitude>-87,74538</Longitude>
</Address>
</Hotel>
<Hotel Code = "14447" JPCode = "JP419068">
<Name>The Ritz-Carlton, Chicago</Name>
<Zone Code = "517">
<Name>Chicago</Name>
</Zone>
<HotelCategory>5.0</HotelCategory>
<Address>
<Address>160 E Pearson Street, 60611, Chicago, United States</Address>
<Latitude>41,89765</Latitude>
<Longitude>-87,62245</Longitude>
</Address>
</Hotel>
</Hotels>
</HotelSupplierTemplate>
<Success>true</Success>
</HotelSupplierTemplateRS>
</HotelSupplierTemplateResponse>
</soap:Body>
</soap:Envelope>
Following the internal template codes that you could retrieve on the HotelSupplierTemplateList request, this petition will allow you to retrieve the detailed assignment information of these supplier hotel templates.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelSupplierTemplateAssignmentGetRequest | N | - | Filters related to the request. |
./HotelSupplierTemplateAssignmentGetRequest/HotelSupplierTemplates | N | - | List of hotel templates. |
./HotelSupplierTemplates/SupplierTemplate | N | - | Specific template. |
./SupplierTemplate/@Code | N | Integer | Internal template code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelSupplierTemplateAssignmentGet>
<HotelSupplierTemplateAssignmentGetRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelSupplierTemplateAssignmentGetRequest>
<HotelSupplierTemplates>
<SupplierTemplate Code = "20"/>
</HotelSupplierTemplates>
</HotelSupplierTemplateAssignmentGetRequest>
</HotelSupplierTemplateAssignmentGetRQ>
</HotelSupplierTemplateAssignmentGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelSupplierTemplateAssignments | Y | - | - |
./HotelSupplierTemplateAssignments/HotelSupplierTemplateAssignment | Y | - | Specific template. |
./HotelSupplierTemplateAssignment/@Code | N | Integer | Internal template code. |
./HotelSupplierTemplateAssignment/@Supplier | N | String | Supplier code. |
./HotelSupplierTemplateAssignment/@NoHotel | N | Boolean | Template labeled as NoHotel. |
./HotelSupplierTemplateAssignment/@TotalHotels | N | Integer | Total number of hotels included within the template. |
./HotelSupplierTemplateAssignment/Name | N | String | Template name. |
./HotelSupplierTemplateAssignment/SupplierTemplateAssignments | N | - | List of assignments included within the template. |
./SupplierTemplateAssignments/SupplierTemplateAssignment | N | - | Specific template assignment. |
./SupplierTemplateAssignment/@Code | N | Integer | Template assignment internal code. |
./SupplierTemplateAssignment/@Active | N | Boolean | Template assignment is active. An inactive template means that the filters specified would not have any template being applied to them, not even the default one. |
./SupplierTemplateAssignment/Customer | Y | String | Template assignment customer name. |
./Customer/@Code | N | Integer | Customer code. |
./SupplierTemplateAssignment/AgencyGroup | Y | String | Template assignment agency group name. |
./AgencyGroup/@Code | N | Integer | Agency group code. |
./SupplierTemplateAssignment/Market | Y | String | Template assignment market. |
./Market/@Code | N | Integer | Market code. |
./SupplierTemplateAssignment/Credential | Y | String | Template assignment credential. |
./Credential/@Code | N | Integer | Credential code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelSupplierTemplateAssignmentGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelSupplierTemplateAssignmentGetRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-09-29T13:44:53.0125589+02:00" IntCode = "OTcEXCQDwi995MNdcEAtcdBzvk28LLx8ctQe3oHdWNI=">
<HotelSupplierTemplateAssignments>
<HotelSupplierTemplateAssignment Code = "20" NoHotel = "false" TotalHotels = "2" Supplier = "EXR">
<Name>Expedia Inventory for QA process</Name>
<SupplierTemplateAssignments>
<SupplierTemplateAssignment Code = "13" Active = "true">
<Customer Code = "1074">Juniper (Integrador) Supplier Access on Portfolio</Customer>
</SupplierTemplateAssignment>
</SupplierTemplateAssignments>
</HotelSupplierTemplateAssignment>
</HotelSupplierTemplateAssignments>
</HotelSupplierTemplateAssignmentGetRS>
</HotelSupplierTemplateAssignmentGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to either create, modify or delete template assignments. Including both @Code and @Action will be mandatory.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
HotelSupplierTemplateRequest | N | - | Filters related to the request. |
./HotelSupplierTemplateRequest/@Code | N | Integer | Supplier hotel template code. As assignments are always related to a template, including this property will always be mandatory. |
./HotelSupplierTemplateRequest/@Action | Y | String | Action to perform regarding the template, mandatory on modifications. Possible values • Add: Add new assignments. • Delete: Delete assignments. If no assignments is specified, all of the assignments of the template will be deleted. • Replace: Replace the list of assignments. |
./HotelSupplierTemplateRequest/SupplierTemplateAssignments | Y | - | List of template assignments. |
./SupplierTemplateAssignments/SupplierTemplateAssignment | N | - | Specific template assignment. |
./SupplierTemplateAssignment/@Code | Y | Integer | Template assignment internal code. Required in order to delete and/or modify the assignment. |
./SupplierTemplateAssignment/@Active | Y | Boolean | Template assignment is active. An inactive template means that the filters specified would not have any template being applied to them, not even the default one. |
./SupplierTemplateAssignment/Customer | Y | - | Template assignment customer. |
./Customer/@Code | N | Integer | Customer code. |
./SupplierTemplateAssignment/AgencyGroup | Y | - | Template assignment agency group. |
./AgencyGroup/@Code | N | Integer | Agency group code. |
./SupplierTemplateAssignment/Market | Y | - | Template assignment. |
./Market/@Code | N | Integer | Market code. |
./SupplierTemplateAssignment/Credential | Y | - | Template assignment credential. |
./Credential/@Code | N | Integer | Credential code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<HotelSupplierTemplateAssignment>
<HotelSupplierTemplateAssignmentRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<HotelSupplierTemplateRequest Code = "20" Action = "Add">
<SupplierTemplateAssignments>
<SupplierTemplateAssignment>
<Customer Code = "280"/>
</SupplierTemplateAssignment>
</SupplierTemplateAssignments>
</HotelSupplierTemplateRequest>
</HotelSupplierTemplateAssignmentRQ>
</HotelSupplierTemplateAssignment>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation/modification is correct, the system will supply you with the template assignments complete information, which is exactly the same information as the one supplied on the HotelSupplierTemplateAssignmentGet response.
Kindly refer to the HotelSupplierTemplateAssignmentGet section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<HotelSupplierTemplateAssignmentResponse xmlns = "http://www.juniper.es/webservice/2007/">
<HotelSupplierTemplateAssignmentRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-09-29T13:59:18.551593+02:00" IntCode = "NuuhCBmoLY4ebmGYdjeJ+CeG50sR5iK3HOo6HS4+qNM=">
<Success>true</Success>
<HotelSupplierTemplateAssignment Code = "20" NoHotel = "false" TotalHotels = "2" Supplier = "EXR">
<Name>Expedia Inventory for QA process</Name>
<SupplierTemplateAssignments>
<SupplierTemplateAssignment Code = "13" Active = "true">
<Customer Code = "1074">Juniper (Integrador) Supplier Access on Portfolio</Customer>
<AgencyGroup Code = "0">DEFAULT</AgencyGroup>
<Market Code = "0">DEFAULT</Market>
<Credential Code = "0">DEFAULT</Credential>
</SupplierTemplateAssignment>
<SupplierTemplateAssignment Code = "64" Active = "true">
<Customer Code = "280">Juniper (Integrador)</Customer>
<AgencyGroup Code = "0">DEFAULT</AgencyGroup>
<Market Code = "0">DEFAULT</Market>
<Credential Code = "0">DEFAULT</Credential>
</SupplierTemplateAssignment>
</SupplierTemplateAssignments>
</HotelSupplierTemplateAssignment>
</HotelSupplierTemplateAssignmentRS>
</HotelSupplierTemplateAssignmentResponse>
</soap:Body>
</soap:Envelope>
This request allows you to create and assign an image to a Product. Only one image can be sent per request. Only one product can be updated per request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
UpdateProductImages | N | - | - |
./UpdateProductImages/ProductImages | N | - | Transfer information. |
./ProductImages/HotelImages | N | ||
./HotelImages/HotelImage | |||
./HotelImage/@Code | N | Integer | Hotel Code |
./HotelImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./ProductImages/ServiceImages | N | ||
./ServiceImages/ServiceImage | |||
./ServiceImage/@Code | N | Integer | Service Code |
./ServiceImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./ServiceImages/ServiceOptionImage | N | ||
./ServiceOptionImage/@Code | N | Integer | Service option Code |
./ServiceOptionImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./ProductImages/TransferImages | N | ||
./TransferImages/TransferImage | |||
./TransferImage/@Code | N | Integer | Transfer Code |
./TransferImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./TransferImages/TransferOptionImage | |||
./TransferOptionImage/@Code | N | Integer | Transfer Option Code |
./TransferOptionImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | URL endpoint |
@TimeStamp | N | DateTime | Response date and time. - Format: yyyy-MM-ddThh:mm:ss (UTC) |
@IntCode | N | String | Internal control code |
UpdateProductImages | N | - | - |
./UpdateProductImages/ProductImages | N | - | Transfer information. |
./ProductImages/HotelImages | N | ||
./HotelImages/HotelImage | |||
./HotelImage/@Code | N | Integer | Hotel Code |
./HotelImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./ProductImages/ServiceImages | N | ||
./ServiceImages/ServiceImage | |||
./ServiceImage/@Code | N | Integer | Service Code |
./ServiceImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./ServiceImages/ServiceOptionImage | N | ||
./ServiceOptionImage/@Code | N | Integer | Service option Code |
./ServiceOptionImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./ProductImages/TransferImages | N | ||
./TransferImages/TransferImage | |||
./TransferImage/@Code | N | Integer | Transfer Code |
./TransferImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
./TransferImages/TransferOptionImage | |||
./TransferOptionImage/@Code | N | Integer | Transfer Option Code |
./TransferOptionImage/Images | N | ||
./Images/Image | N | String | Image base64 |
./Image/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Image/@Name | N | String | Image Name |
This request allows you to create and assign an image to a hotel
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:UpdateProductImages>
<ns:JP_UpdateProductImagesRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:UpdateProductImagesRequest>
<ns:ProductImages>
<ns:HotelImages>
<ns:HotelImage Code="12107">
<ns:Images>
<ns:Image Format="JPG" Name="foto2"> /9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS9 </ns:Image>
</ns:Images>
</ns:HotelImage>
</ns:HotelImages>
</ns:ProductImages>
</ns:UpdateProductImagesRequest>
</ns:JP_UpdateProductImagesRQ>
</ns:UpdateProductImages>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<UpdateProductImagesResponse xmlns="http://www.juniper.es/webservice/2007/">
<UpdateProductImagesRS Url="http://localhost" TimeStamp="2019-09-18T10:30:03.2333931+02:00" IntCode="/s/4OEJK957aP/P1mBLH/O+JhrzszI/4fIr2tK1n0sQ=">
<UpdateProductImagesResponse>
<ProductImages>
<HotelImages>
<HotelImage Code="12107">
<Images>
<Image Format="JPG" Name="foto1"/>
<Image Format="JPG" Name="foto4"/>
<Image Format="PNG" Name="icons8-hora-de-salida-del-hotel-40"/>
<Image Format="JPG" Name="foto2"/>
</Images>
</HotelImage>
</HotelImages>
</ProductImages>
</UpdateProductImagesResponse>
</UpdateProductImagesRS>
</UpdateProductImagesResponse>
</soap:Body>
</soap:Envelope>
This request allows you to create and assign an image to a Service
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:UpdateProductImages>
<ns:JP_UpdateProductImagesRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:UpdateProductImagesRequest>
<ns:ProductImages>
<ns:ServiceImages>
<ns:ServiceImage Code="9844">
<ns:Images>
<ns:Image Format="JPG" Name="fotoServ"> /9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS9 </ns:Image>
</ns:Images>
</ns:ServiceImage>
</ns:ServiceImages>
</ns:ProductImages>
</ns:UpdateProductImagesRequest>
</ns:JP_UpdateProductImagesRQ>
</ns:UpdateProductImages>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<UpdateProductImagesResponse xmlns="http://www.juniper.es/webservice/2007/">
<UpdateProductImagesRS Url="http://localhost" TimeStamp="2019-09-18T10:45:32.2295156+02:00" IntCode="pYBJaajFxMnRBBmUSAHZbNfr/rKmsa0qxVPUmS3/o7Y=">
<UpdateProductImagesResponse>
<ProductImages>
<ServiceImages>
<ServiceImage Code="593">
<Images>
<Image Format="JPG" Name="fotoServ"/>
</Images>
</ServiceImage>
</ServiceImages>
</ProductImages>
</UpdateProductImagesResponse>
</UpdateProductImagesRS>
</UpdateProductImagesResponse>
</soap:Body>
</soap:Envelope>
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:UpdateProductImages>
<ns:JP_UpdateProductImagesRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:UpdateProductImagesRequest>
<ns:ProductImages>
<ns:ServiceImages>
<ns:ServiceOptionImage Code="91212">
<ns:Images>
<ns:Image Format="JPG" Name="fotoServOpt"> /9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS9 </ns:Image>
</ns:Images>
</ns:ServiceOptionImage>
</ns:ServiceImages>
</ns:ProductImages>
</ns:UpdateProductImagesRequest>
</ns:JP_UpdateProductImagesRQ>
</ns:UpdateProductImages>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<UpdateProductImagesResponse xmlns="http://www.juniper.es/webservice/2007/">
<UpdateProductImagesRS Url="http://localhost" TimeStamp="2019-09-18T10:53:08.7600913+02:00" IntCode="FtI0dTuFitJi+98Z9b+zaXME412xw79T5pi8gx1alZQ=">
<UpdateProductImagesResponse>
<ProductImages>
<ServiceImages>
<ServiceOptionImage Code="1854">
<Images>
<Image Format="JPG" Name="fotoOptServ"/>
</Images>
</ServiceOptionImage>
</ServiceImages>
</ProductImages>
</UpdateProductImagesResponse>
</UpdateProductImagesRS>
</UpdateProductImagesResponse>
</soap:Body>
</soap:Envelope>
This request allows you to create and assign an image to a Transfer
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:UpdateProductImages>
<ns:JP_UpdateProductImagesRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:UpdateProductImagesRequest>
<ns:ProductImages>
<ns:TransferImages>
<ns:TransferImage Code="9844">
<ns:Images>
<ns:Image Format="JPG" Name="fotoServ"> /9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS9 </ns:Image>
</ns:Images>
</ns:TransferImage>
</ns:TransferImages>
</ns:ProductImages>
</ns:UpdateProductImagesRequest>
</ns:JP_UpdateProductImagesRQ>
</ns:UpdateProductImages>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<UpdateProductImagesResponse xmlns="http://www.juniper.es/webservice/2007/">
<UpdateProductImagesRS Url="http://localhost" TimeStamp="2019-09-18T11:01:17.8955703+02:00" IntCode="r1uYXYXEyGd4OMDWKs5h/6KlpGJRp1b0gWl+RjdGiTA=">
<UpdateProductImagesResponse>
<ProductImages>
<TransferImages>
<TransferImage Code="997">
<Images>
<Image Format="JPG" Name="fotoTrans"/>
</Images>
</TransferImage>
</TransferImages>
</ProductImages>
</UpdateProductImagesResponse>
</UpdateProductImagesRS>
</UpdateProductImagesResponse>
</soap:Body>
</soap:Envelope>
This request allows you to create and assign an image to a Transfer Option
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:UpdateProductImages>
<ns:JP_UpdateProductImagesRQ Version="1" Language="es">
<ns:Login Password="pass" Email="user@mydomain.com"/>
<ns:UpdateProductImagesRequest>
<ns:ProductImages>
<ns:TransferImages>
<ns:TransferOptionImage Code="91212">
<ns:Images>
<ns:Image Format="JPG" Name="fotoOptTrans"> /9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS9 </ns:Image>
</ns:Images>
</ns:TransferOptionImage>
</ns:TransferImages>
</ns:ProductImages>
</ns:UpdateProductImagesRequest>
</ns:JP_UpdateProductImagesRQ>
</ns:UpdateProductImages>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<UpdateProductImagesResponse xmlns="http://www.juniper.es/webservice/2007/">
<UpdateProductImagesRS Url="http://localhost" TimeStamp="2019-09-18T11:02:41.6700454+02:00" IntCode="RjoudVw3AkxqmwPzT63qocoPzTY2oqRv+uFsznrlY+E=">
<UpdateProductImagesResponse>
<ProductImages>
<TransferImages>
<TransferOptionImage Code="2595">
<Images>
<Image Format="JPG" Name="fotoOptTrans"/>
</Images>
</TransferOptionImage>
</TransferImages>
</ProductImages>
</UpdateProductImagesResponse>
</UpdateProductImagesRS>
</UpdateProductImagesResponse>
</soap:Body>
</soap:Envelope>
This request allows you to unassign an image from a Product. Multiple images can be sent per request. Multiple productd can be updated per request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
DeleteProductImages | N | - | - |
./DeleteProductImages/ProductImages | N | - | Transfer information. |
./ProductImages/HotelImages | N | ||
./HotelImages/HotelImage | |||
./HotelImage/@Code | N | Integer | Hotel Code |
./HotelImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | Y | String | Image Type. JPG, JPEG, PNG, GIF - If not specified, all image with same name will be deleted |
./Images/@Name | N | String | Image Name |
./ProductImages/ServiceImages | N | ||
./ServiceImages/ServiceImage | |||
./ServiceImage/@Code | N | Integer | Service Code |
./ServiceImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF - If not specified, all image with same name will be deleted |
./Images/@Name | N | String | Image Name |
./ProductImages/TransferImages | N | ||
./TransferImages/TransferImage | |||
./TransferImage/@Code | N | Integer | Transfer Code |
./TransferImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF - If not specified, all image with same name will be deleted |
./Images/@Name | N | String | Image Name |
./ProductImages/TransferOptionImages | N | ||
./TransferOptionImages/TransferOptionImage | |||
./TransferOptionImage/@Code | N | Integer | Transfer Option Code |
./TransferOptionImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF - If not specified, all image with same name will be deleted |
./Images/@Name | N | String | Image Name |
./ProductImages/ServiceOptionImages | N | ||
./ServiceOptionImages/ServiceOptionImage | |||
./ServiceOptionImage/@Code | N | Integer | Service option Code |
./ServiceOptionImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF - If not specified, all image with same name will be deleted |
./Images/@Name | N | String | Image Name |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ns:DeleteProductImages>
<ns:JP_DeleteProductImagesRQ Version = "1" Language = "es">
<ns:Login Password = "pass" Email = "user@mydomain.com"/>
<ns:DeleteProductImagesRequest>
<ns:ProductImages>
<ns:HotelImages>
<ns:HotelImage Code = "12107">
<ns:Images>
<ns:Image Format = "JPG" Name = "foto2"/>
</ns:Images>
</ns:HotelImage>
</ns:HotelImages>
<ns:ServiceImages>
<ns:ServiceImage Code = "593">
<ns:Images>
<ns:Image Format = "JPG" Name = "fotoServ"/>
</ns:Images>
</ns:ServiceImage>
</ns:ServiceImages>
<ns:TransferImages>
<ns:TransferOptionImage Code = "2595">
<ns:Images>
<ns:Image Format = "JPG" Name = "fotoTrans"></ns:Image>
<ns:Image Format = "JPG" Name = "fotoTrans2"></ns:Image>
</ns:Images>
</ns:TransferOptionImage>
</ns:TransferImages>
</ns:ProductImages>
</ns:DeleteProductImagesRequest>
</ns:JP_DeleteProductImagesRQ>
</ns:DeleteProductImages>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
UpdateProductImages | N | - | - |
./UpdateProductImages/ProductImages | N | - | Transfer information. |
./ProductImages/HotelImages | N | ||
./HotelImages/HotelImage | |||
./HotelImage/@Code | N | Integer | Hotel Code |
Images | N | ||
./Images/Image | N | ||
./Images/@Format | Y | String | Image Type. JPG, JPEG, PNG, GIF |
./Images/@Name | N | String | Image Name |
./ProductImages/ServiceImages | N | ||
./ServiceImages/ServiceImage | |||
./ServiceImage/@Code | N | Integer | Service Code |
Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Images/@Name | N | String | Image Name |
./ProductImages/TransferImages | N | ||
./TransferImages/TransferImage | |||
./TransferImage/@Code | N | Integer | Transfer Code |
./TransferImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Images/@Name | N | String | Image Name |
./ProductImages/TransferOptionImages | N | ||
./TransferOptionImages/TransferOptionImage | |||
./TransferOptionImage/@Code | N | Integer | Transfer Option Code |
./TransferOptionImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Images/@Name | N | String | Image Name |
./ProductImages/ServiceOptionImages | N | ||
./ServiceOptionImages/ServiceOptionImage | |||
./ServiceOptionImage/@Code | N | Integer | Service option Code |
./ServiceOptionImage/Images | N | ||
./Images/Image | N | ||
./Images/@Format | N | String | Image Type. JPG, JPEG, PNG, GIF |
./Images/@Name | N | String | Image Name |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<DeleteProductImagesResponse xmlns="http://www.juniper.es/webservice/2007/">
<DeleteProductImagesRS Url="http://localhost" TimeStamp="2019-09-18T11:55:51.8167841+02:00" IntCode="lbDzVnk35Jvzlg3BbNhTv24WGm/AwQKtOYvLIQQpdm8=">
<DeleteProductImagesResponse>
<ProductImages>
<HotelImages>
<HotelImage Code="12107">
<Images>
<Image Format="JPG" Name="foto1"/>
<Image Format="JPG" Name="foto4"/>
<Image Format="PNG" Name="icons8-hora-de-salida-del-hotel-40"/>
<Image Format="PNG" Name="icons8-hora-de-salida-del-hotel-40"/>
</Images>
</HotelImage>
</HotelImages>
<ServiceImages>
<ServiceImage Code="593">
<Images/>
</ServiceImage>
</ServiceImages>
<TransferImages>
<TransferOptionImage Code="2595">
<Images/>
</TransferOptionImage>
</TransferImages>
</ProductImages>
</DeleteProductImagesResponse>
</DeleteProductImagesRS>
</DeleteProductImagesResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to list all of the available cancellation policies within the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
CancellationPolicyRequest | N | - | Filters needed in order to list the available cancellation policies. |
./CancellationPolicyRequest/@Active | Y | Boolean | Activation status of the requested policies. |
./CancellationPolicyRequest/@NonRefundable | Y | Boolean | Non refundable status of the requested policies. |
./CancellationPolicyRequest/Products | N | - | Products filter. |
./Products/@Type | N | Enum | Product type. Possible values: • A: Hotel |
./Products/@Id | Y | String | Internal product id. |
./CancellationPolicyRequest/Dates | N | - | Dates filter. |
./Dates/@From | N | Date | Creation from date. Format: YYYY-MM-DD |
./Dates/@From | Y | Date | Creation to date. Format: YYYY-MM-DD |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CancellationPolicyList>
<CancellationPolicyListRQ Version = "1.1" Language = "en">
<Login Password = "pass" Email = "user@mydomain.com"/>
<CancellationPolicyRequest>
<Products Type = "A"/>
<Dates From = "2020-04-30"/>
</CancellationPolicyRequest>
</CancellationPolicyListRQ>
</CancellationPolicyList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
CancellationPolicies | N | - | Cancellation policy. |
./CancellationPolicies/@Id | N | String | Cancellation policy id. |
./CancellationPolicies/@NonRefundable | N | Boolean | Indicates if it is a non refundable policy. |
./CancellationPolicies/Name | N | String | Cancellation policy name. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CancellationPolicyListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CancellationPolicyListRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-04-30T11:22:46.5647322+02:00" IntCode = "q5XoyQjAd467WrV3u5T0z6On1vEx4bfb8VZTsYUorss=">
<CancellationPolicies Id = "84" NonRefundable = "false">
<Name>GENERAL Cancel Policy</Name>
</CancellationPolicies>
<CancellationPolicies Id = "100" NonRefundable = "true">
<Name>NON REFUNDABLE Cancel Policy</Name>
</CancellationPolicies>
<CancellationPolicies Id = "117" NonRefundable = "false">
<Name>First Night Policy</Name>
</CancellationPolicies>
</CancellationPolicyListRS>
</CancellationPolicyListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to obtain the complete detailed information of specific cancellation policies.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
CancellationPolicyRequest | N | - | |
./CancellationPolicyRequest/@IdPol | N | String | Cancellation policy id. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CancellationPolicyRead>
<CancellationPolicyReadRQ Version = "1.1" Language = "en">
<Login Password = "pass" Email = "user@mydomain.com"/>
<CancellationPolicyRequest IdPol = "84"/>
</CancellationPolicyReadRQ>
</CancellationPolicyRead>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
CancellationPolicies | N | - | Cancellation policy information. |
./CancellationPolicies/@Id | N | String | Cancellation policy id. |
./CancellationPolicies/@CurrencyCode | N | String | Cancellation policy currency code. |
./CancellationPolicies/@Priority | N | Integer | If you assign a priority value it will exclude any other cancellation policy with lesser value. |
./CancellationPolicies/@NonRefundable | N | Boolean | Indicate if the cancellation policy is nonrefundable. |
./CancellationPolicies/@Verified | N | Boolean | Indicate if the cancellation policy is verified. |
./CancellationPolicies/@OnlyApplyEarlyBooking | N | Boolean | Indicate that the cancellation policy will only apply to bookings with earlybooking discount. |
./CancellationPolicies/Name | N | String | Cancellation currency name. |
./CancellationPolicies/ApplicationDates | N | - | Cancellation policy application dates. |
./ApplicationDates/BookingDate | N | - | Cancellation policy booking dates. |
./BookingDate/@From | N | Date | From booking date. |
./BookingDate/@To | N | Date | To booking date. |
./ApplicationDates/CheckInDates | Y | - | Cancellation policy checkin dates. |
./CheckInDates/@From | Y | Date | From checkin date. |
./CheckInDates/@To | Y | Date | To checkin date. |
./ApplicationDates/StayDates | Y | - | Cancellation policy stay dates. |
./StayDates/@From | Y | Date | From stay date. |
./StayDates/@To | Y | Date | To stay date. |
./CancellationPolicies/Descriptions | N | - | Cancellation policy descriptions. |
./Descriptions/Description | N | String | Cancellation policy description. |
./Description/@Language | N | Enum | Language code. Possible values: • EN • ES |
./CancellationPolicies/PolicyRules | N | - | Cancellation policy rules. |
./PolicyRules/Rule | N | - | Cancellation policy rule. |
./Rule/@From | N | Integer | Indicates the number of days before the check-in date. |
./Rule/@To | Y | Integer | Indicates the number of days before the check-in date (or after the confirmation date). |
./Rule/@Type | Y | Enum | The type of rule that will be used. Possible values: • V: Before the check-in date. • R: After the booking confirmation date • S: No Show |
./Rule/@StayLengthFrom | Y | Integer | Indicates the stay length or number of nights from which the cancellation rule applies. |
./Rule/@StayLengthTo | Y | Integer | Indicates the stay length or number of nights to which the cancellation rule applies. |
./Rule/Prices | N | - | Rule prices information. |
./Prices/Price | N | - | Rule price information. |
./Price/@Type | N | String | Rule price type. Possible values: • C: Cost • V: Sales |
./Price/@Amount | Y | String | Rule amount. |
./Price/@Percentage | Y | String | Rule percentage. |
./Price/@ApplicationTypeNights | N | Enum | If we have any night type cancellation charge configuration, it will indicate how the price per night will be calculated. The possible night type values are: • Average: This is the average price of all nights • FirstNight: The price of first night • MostExpensiveNight: The price of the most expensive night Blank or empty field. If we don’t have night penalty |
./Price/@Nights | Y | String | Number of nights of penalty. |
./CancellationPolicies/Products | Y | - | Cancellation policy products. |
./Products/@Type | Y | Enum | Product type. Possible values: • A: Hotel |
./Products/Product | Y | - | Specific product. |
./Product/@Id | N | Integer | Product id. |
./Product/@ContractType | N | Enum | Product contract type. Possible values: • C: Cost • V: Sales |
./Product/Contract | Y | - | Product contract. |
./Contract/@Id | Y | Integer | Product contract id. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CancellationPolicyReadResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CancellationPolicyReadRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-04-30T11:28:57.7048717+02:00" IntCode = "Mfp5BuGMwPiSBD3BP0tpClhuqySqAd4sAVqStdqrGI0=">
<CancellationPolicies Id = "84" CurrencyCode = "USD" Priority = "2" NonRefundable = "false" Verified = "true" OnlyApplyEarlyBooking = "false">
<Name>GENERAL Cancel Policy</Name>
<ApplicationDates>
<BookingDate From = "2016-06-27" To = "0001-01-01"/>
<CheckInDates/>
<StayDates/>
</ApplicationDates>
<Descriptions>
<Description Language = "ES"/>
<Description Language = "EN"/>
</Descriptions>
<AccessConditions>
<AccessCondition AllowAccess = "true"/>
</AccessConditions>
<PolicyRules>
<Rule From = "0" To = "3" Type = "V" StayLengthFrom = "" StayLengthTo = "">
<Prices>
<Price Type = "S" Amount = "" Percentage = "" ApplicationTypeNights = "Average" Nights = ""/>
<Price Type = "C" Amount = "" Percentage = "100" ApplicationTypeNights = "Average" Nights = ""/>
</Prices>
</Rule>
<Rule From = "4" To = "7" Type = "V" StayLengthFrom = "" StayLengthTo = "">
<Prices>
<Price Type = "S" Amount = "" Percentage = "" ApplicationTypeNights = "Average" Nights = ""/>
<Price Type = "C" Amount = "" Percentage = "25" ApplicationTypeNights = "Average" Nights = ""/>
</Prices>
</Rule>
<Rule From = "8" To = "" Type = "V" StayLengthFrom = "" StayLengthTo = "">
<Prices>
<Price Type = "S" Amount = "" Percentage = "" ApplicationTypeNights = "Average" Nights = ""/>
<Price Type = "C" Amount = "" Percentage = "" ApplicationTypeNights = "Average" Nights = ""/>
</Prices>
</Rule>
</PolicyRules>
<Products Type = "A"/>
</CancellationPolicies>
</CancellationPolicyReadRS>
</CancellationPolicyReadResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to either create or modify cancellation policies If @Id is not specified within CancellationPolicie, then the system will create a new cancellation policy.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
CancellationPolicie | N | - | Cancellation policy information. |
./CancellationPolicie/@Id | Y | String | Cancellation policy Id. If the Id is null it will be to create while if the Id is not null it will be to update an exist cancellation policy |
./CancellationPolicie/@CurrencyCode | N | String | Cancellation policy currency code. |
./CancellationPolicie/@Priority | N | Integer | If you assign a priority value it will exclude any other cancellation policy with lesser value. |
./CancellationPolicie/@NonRefundable | N | Boolean | Indicate if the cancellation policy is nonrefundable. |
./CancellationPolicie/@Verified | N | Boolean | Indicate if the cancellation policy is verified. |
./CancellationPolicie/@OnlyApplyEarlyBooking | N | Boolean | Indicate that the cancellation policy will only apply to bookings with earlybooking discount. |
./CancellationPolicie/Name | N | String | Cancellation currency name. |
./CancellationPolicie/ApplicationDates | N | - | Cancellation policy application dates. |
./ApplicationDates/BookingDate | N | - | Cancellation policy booking dates. |
./BookingDate/@From | N | Date | From booking date. |
./BookingDate/@To | N | Date | To booking date. |
./ApplicationDates/CheckInDates | Y | - | Cancellation policy checkin dates. |
./CheckInDates/@From | Y | Date | From checkin date. |
./CheckInDates/@To | Y | Date | To checkin date. |
./ApplicationDates/StayDates | Y | - | Cancellation policy stay dates. |
./StayDates/@From | Y | Date | From stay date. |
./StayDates/@To | Y | Date | To stay date. |
./CancellationPolicie/Descriptions | N | - | Cancellation policy descriptions. |
./Descriptions/Description | N | String | Cancellation policy description. |
./Description/@Language | N | Enum | Language code. Possible values: • EN • ES |
./CancellationPolicie/PolicyRules | N | - | Cancellation policy rules. |
./PolicyRules/Rule | N | - | Cancellation policy rule. |
./Rule/@From | N | Integer | Indicates the number of days before the check-in date. |
./Rule/@To | Y | Integer | Indicates the number of days before the check-in date (or after the confirmation date). |
./Rule/@Type | Y | Enum | The type of rule that will be used. Possible values: • V: Before the check-in date. • R: After the booking confirmation date • S: No Show |
./Rule/@StayLengthFrom | Y | Integer | Indicates the stay length or number of nights from which the cancellation rule applies. |
./Rule/@StayLengthTo | Y | Integer | Indicates the stay length or number of nights to which the cancellation rule applies. |
./Rule/Prices | N | - | Rule prices information. |
./Prices/Price | N | - | Rule price information. |
./Price/@Type | N | String | Rule price type. Possible values: • C: Cost • V: Sales |
./Price/@Amount | Y | String | Rule amount. |
./Price/@Percentage | Y | String | Rule percentage. Only allows integer percentages. |
./Price/@ApplicationTypeNights | N | Enum | If we have any night type cancellation charge configuration, it will indicate how the price per night will be calculated. The possible night type values are: • Average: This is the average price of all nights • FirstNight: The price of first night • MostExpensiveNight: The price of the most expensive night Blank or empty field. If we don’t have night penalty |
./Price/@Nights | Y | String | Number of nights of penalty. |
./CancellationPolicie/Products | Y | - | Cancellation policy products. |
./Products/@Type | Y | Enum | Product type. Possible values: • A: Hotel |
./Products/Product | Y | - | Specific product. |
./Product/@Id | N | Integer | Product id. |
./Product/@ContractType | N | Enum | Product contract type. Possible values: • C: Cost • V: Sales |
./Product/Contract | Y | - | Product contract. |
./Contract/@Id | Y | Integer | Product contract id. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CancellationPolicy>
<CancellationPolicyRQ Version = "1.1" Language = "en">
<Login Password = "pass" Email = "user@mydomain.com"/>
<CancellationPolicie CurrencyCode = "USD" Priority = "1" NonRefundable = "false" Verified = "false" OnlyApplyEarlyBooking = "false">
<Name>General cancellation policy</Name>
<EarlyBooking>false</EarlyBooking>
<ApplicationDates>
<BookingDate From = "2020-01-01" To = "2020-12-31"/>
</ApplicationDates>
<Descriptions>
<Description Language = "ES">prueba prueba</Description>
<Description Language = "EN">prueba prueba</Description>
</Descriptions>
<PolicyRules>
<Rules From = "10" To = "" Type = "V" StayLengthFrom = "2" StayLengthTo = "4">
<Prices>
<Price Type = "S" Amount = "" Percentage = "100" ApplicationTypeNights = "Average" Nights = "4"/>
<Price Type = "C" Amount = "" Percentage = "100" ApplicationTypeNights = "Average" Nights = "4"/>
</Prices>
</Rules>
</PolicyRules>
<Products Type = "A">
<Product Id = "567" ContractType = "C">
<Contract Id = "5604"/>
</Product>
<Product Id = "801" ContractType = "C">
<Contract Id = "5837"/>
<Contract Id = "10978"/>
</Product>
</Products>
</CancellationPolicie>
</CancellationPolicyRQ>
</CancellationPolicy>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation/modification is correct, the system will supply you with the cancellation policy complete information, which is exactly the same information as the one supplied on the CancellationPolicyRead response.
Kindly refer to the CancellationPolicyRead section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CancellationPolicyResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CancellationPolicyReadRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2020-04-30T11:28:57.7048717+02:00" IntCode = "Mfp5BuGMwPiSBD3BP0tpClhuqySqAd4sAVqStdqrGI0=">
<CancellationPolicies Id = "1219" CurrencyCode = "USD" Priority = "1" NonRefundable = "false" Verified = "false" OnlyApplyEarlyBooking = "false">
<Name>General cancellation policy</Name>
<EarlyBooking>false</EarlyBooking>
<ApplicationDates>
<BookingDate From = "2020-01-01" To = "2020-12-31"/>
</ApplicationDates>
<Descriptions>
<Description Language = "ES">prueba prueba</Description>
<Description Language = "EN">prueba prueba</Description>
</Descriptions>
<PolicyRules>
<Rules From = "10" To = "" Type = "V" StayLengthFrom = "2" StayLengthTo = "4">
<Prices>
<Price Type = "S" Amount = "" Percentage = "100" ApplicationTypeNights = "Average" Nights = "4"/>
<Price Type = "C" Amount = "" Percentage = "100" ApplicationTypeNights = "Average" Nights = "4"/>
</Prices>
</Rules>
</PolicyRules>
<Products Type = "A">
<Product Id = "567" ContractType = "C">
<Contract Id = "5604"/>
</Product>
<Product Id = "801" ContractType = "C">
<Contract Id = "5837"/>
<Contract Id = "10978"/>
</Product>
</Products>
</CancellationPolicies>
</CancellationPolicyReadRS>
</CancellationPolicyResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to get a list of taxes given a product and optional valid dates.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
TaxRequest | N | - | Filters needed in order to list the available taxes. |
./TaxRequest/Products | Y | - | Product related filters. |
./Products/@Type | N | String | Product type. Possible values: • A: Hotel |
./Products/@Code | Y | Integer | Product internal code. |
./TaxRequest/ValidPeriod | Y | - | Period related filters. |
./ValidPeriod/@From | Y | Date | Period from date. Format: YYYY-MM-DD |
./ValidPeriod/@To | Y | Date | Period to date. Format: YYYY-MM-DD |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<TaxList>
<TaxListRQ Version = "1.1" Language = "en">
<Login Password = "pass" Email = "user@mydomain.com"/>
<TaxRequest>
<Products Type = "A" Code = "125"/>
</TaxRequest>
</TaxListRQ>
</TaxList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Taxes | N | - | Taxes container. |
./Taxes/Tax | Y | - | Tax information. |
./Tax/@Code | N | Integer | Tax internal code. |
./Tax/@General | N | Boolean | Identifies if the tax is general or related to a specific product. |
./Tax/@Active | N | Boolean | Idenfities if the tax is active. |
./Tax/Name | N | String | Tax name |
./Tax/ValidPeriod | Y | - | Valid period information. |
./ValidPeriod/@From | N | Date | Valid period from date. |
./ValidPeriod/@To | N | Date | Valid period to date. |
./Tax/Products | Y | - | Product information. |
./Products/@Type | N | String | Product type. Possible values: • A: Hotel |
./Products/Product | Y | - | Product. |
./Product/@Id | N | Integer | Product internal code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<TaxListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<TaxListRS Url = "http://suppliers.juniper.es" TimeStamp = "2020-11-17T12:33:41.2108029+01:00" IntCode = "u2GOI9yJn0LOemmDB9T4uPON5OzV/yjDH9B80G7acx4=">
<Taxes>
<Tax Code = "6" General = "false" Active = "true">
<Name>INCLUDED Taxes</Name>
<Products Type = "A">
<Product Id = "125"/>
</Products>
</Tax>
<Tax Code = "5" General = "false" Active = "true">
<Name>NOT INCLUDED Taxes</Name>
<Products Type = "A">
<Product Id = "125"/>
</Products>
</Tax>
</Taxes>
</TaxListRS>
</TaxListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve taxes detailed information through its internal codes.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Taxes | N | - | Taxes container. Up to 50 taxes may be specified. |
./Taxes/Tax | N | - | Tax. |
./Tax/@Code | N | Integer | Tax internal code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<TaxGet>
<TaxGetRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<Taxes>
<Tax Code = "5"/>
<!--Tax Code = "6"/-->
</Taxes>
</TaxGetRQ>
</TaxGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Taxes | N | - | Taxes container. |
./Taxes/Tax | Y | - | Tax information. |
./Tax/@Code | N | Integer | Tax internal code. |
./Tax/@Active | N | Boolean | Tax is active. |
./Tax/@Included | N | Boolean | Tax is included within the price. |
./Tax/@ApplyCancellationCharges | N | Boolean | Tax applies to cancellation charges. |
./Tax/@Type | N | String | Tax type. Possible values: • Por: Percentage. • Per: Fixed per person. • PerN: Fixed per person per night. • Hab: Fixed per room. • HabN: Fixed per room per night. • Res: Fixed per booking. • ResN: Fixed per booking per night. It is important to understand that the tax type will define the applicable price related nodes from within the Price tag, we will elaborate more on the mentioned below. |
./Tax/@Commissionable | N | Boolean | Tax is commissionable. |
./Tax/@General | N | Boolean | Tax is general. |
./Tax/@Application | N | String | Tax application. Possible values: • Both: Applied to both cost and sales price. • Sale: Applied to sales price. • Cost: Applied to cost price. • Perc: Perception applying to cost. |
./Tax/Names | N | - | Tax names. |
./Names/Name | N | String | Tax name. |
./Name/@Language | N | String | Tax name language. |
./Tax/Descriptions | Y | - | Tax descriptions. |
./Descriptions/Description | Y | String | Tax description. |
./Description/@Language | N | String | Tax description language. |
./Tax/SalesChannels | N | - | Tax sales channels. |
./SalesChannels/SalesChannel | Y | String | Tax sales channel. |
./SalesChannel/@Code | N | String | Tax sales channel code. |
./Tax/Nationalities | N | - | Tax nationalities. |
./Nationalities/Nationality | Y | String | Tax nationality. |
./Nationality/@Code | Y | String | Tax nationality code. |
./Tax/Areas | N | - | Tax areas. Only available on @General taxes. |
./Areas/Area | Y | String | Tax area. |
./Area/@Code | N | String | Tax area code. |
./Tax/ExcludedAreas | N | - | Tax excluded areas. Only available on @General taxes. |
./ExcludedAreas/Area | Y | String | Tax excluded area. |
./Area/@Code | N | String | Tax excluded area code. |
./Tax/Products | N | - | Product information container. |
./Products/@Type | N | String | Product type. Possible values: • A: Hotel |
./Products/Product | Y | - | Product. |
./Product/@Id | N | Integer | Product internal code. |
./Tax/Price | N | - | Tax price information. |
./Price/Percentage | Y | - | Tax percentage. Only available on Por type taxes. |
./Percentage/@Amount | N | Double | Tax percentage amount. |
./Price/Adult | Y | - | Tax adult. Only available on Per and PerN type taxes. |
./Adult/@Amount | N | Double | Tax adult amount. |
./Adult/@Currency | N | String | Tax adult currency. |
./Price/ChildrenPrices | Y | - | Tax children prices. Only available on Per and PerN type taxes. |
./ChildrenPrices/ChildrenPrice | N | - | Tax children price. Up to three may be specified. |
./ChildrenPrice/@From | N | Integer | Tax children from age. |
./ChildrenPrice/@To | N | Integer | Tax children to age. |
./ChildrenPrice/@Amount | N | Double | Tax children amount. |
./Price/Tax | Y | - | Tax price. Only available on Hab, HabN, Res and ResN type taxes. |
./Tax/@Amount | N | Double | Tax amount. |
./Tax/@Currency | N | String | Tax currency. |
./Price/ValidPeriod | Y | - | Tax valid period. |
./ValidPeriod/@From | N | Date | Tax valid period from date. |
./ValidPeriod/@To | N | Date | Tax valid period to date. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<TaxGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<TaxGetRS Url = "http://suppliers.juniper.es" TimeStamp = "2020-11-17T12:44:09.6204404+01:00" IntCode = "u2GOI9yJn0LOemmDB9T4uKywmTpmwCtDCfBOBdqAxcs=">
<Taxes>
<Tax Code = "5" Active = "true" Included = "false" ApplyCancellationCharges = "true" Type = "Por" Commissionable = "false" General = "false" Application = "Both">
<Names>
<Name Language = "es">NOT INCLUDED Taxes</Name>
<Name Language = "en">NOT INCLUDED Taxes</Name>
</Names>
<Descriptions>
<Description Language = "es">NOT INCLUDED Taxes</Description>
<Description Language = "en">NOT INCLUDED Taxes</Description>
</Descriptions>
<SalesChannels>
<SalesChannel Code = "Web ">Juniper Demo</SalesChannel>
<SalesChannel Code = "Xml ">WebService</SalesChannel>
<SalesChannel Code = "Xml3">WebService Xml3</SalesChannel>
</SalesChannels>
<Nationalities/>
<Areas/>
<ExcludedAreas/>
<Products Type = "A">
<Product Id = "125"/>
</Products>
<Price>
<Percentage Amount = "10"/>
</Price>
</Tax>
</Taxes>
</TaxGetRS>
</TaxGetResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to either create, modify or delete taxes. If the @Code property is not specified within the Tax node, the system will create a new tax and supply you with its new @Code on the response.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Tax | N | - | Tax information. |
./Tax/@Code | N | Integer | Tax internal code. If specified it will imply a tax modification (or deletion if @Delete is also included) while, if missing, it will imply a creation. |
./Tax/@Active | Y | Boolean | Tax is active. NOT IMPLEMENTED: Taxes currently cannot be deactivated on our system, only created and/or deleted. |
./Tax/@Delete | Y | Boolean | Tax is meant for deletion. If we include the same, it will only be neccesary for the Tax @Code to also be specified. |
./Tax/@Included | Y | Boolean | Tax is included within the price. |
./Tax/@ApplyCancellationCharges | Y | Boolean | Tax applies to cancellation charges. |
./Tax/@Type | Y | String | Tax type. Possible values: • Por: Percentage. • Per: Fixed per person. • PerN: Fixed per person per night. • Hab: Fixed per room. • HabN: Fixed per room per night. • Res: Fixed per booking. • ResN: Fixed per booking per night. It is important to understand that the tax type will define the applicable price related nodes from within the Price tag, we will elaborate more on the mentioned below. |
./Tax/@Commissionable | Y | Boolean | Tax is commissionable. |
./Tax/@General | Y | Boolean | Tax is general. A general tax will not be related to any specified product but, instead, be applied generally as per the related filters. Using a general tax enables the Areas and ExcludedAreas nodes. NOT IMPLEMENTED: The creation of general taxes through the API is currently deactivated due to security purposes. |
./Tax/@Application | N | String | Tax application. Possible values: • Both: Applied to both cost and sales price. • Sale: Applied to sales price. • Cost: Applied to cost price. • Perc: Perception applying to cost. |
./Tax/Names | Y | - | Tax names. |
./Names/Name | N | String | Tax name. |
./Name/@Language | N | String | Tax name language. |
./Tax/Descriptions | Y | - | Tax descriptions. |
./Descriptions/Description | N | String | Tax description. |
./Description/@Language | N | String | Tax description language. |
./Tax/SalesChannels | Y | - | Tax sales channels. |
./SalesChannels/SalesChannel | N | String | Tax sales channel. |
./SalesChannel/@Code | N | String | Tax sales channel code. |
./Tax/Nationalities | Y | - | Tax nationalities. |
./Nationalities/Nationality | N | String | Tax nationality. |
./Nationality/@Code | N | String | Tax nationality code. |
./Tax/Areas | Y | - | Tax areas. Only available on @General taxes. |
./Areas/Area | N | String | Tax area. |
./Area/@Code | N | String | Tax area code. |
./Tax/ExcludedAreas | Y | - | Tax excluded areas. Only available on @General taxes. |
./ExcludedAreas/Area | N | String | Tax excluded area. |
./Area/@Code | N | String | Tax excluded area code. |
./Tax/Products | N | - | Product information container. |
./Products/@Type | N | String | Product type. Possible values: • A: Hotel |
./Products/Product | Y | - | Product. |
./Product/@Id | N | Integer | Product internal code. |
./Tax/Price | Y | - | Tax price information. |
./Price/Percentage | Y | - | Tax percentage. Only available on Por type taxes. |
./Percentage/@Amount | N | Double | Tax percentage amount. |
./Price/Adult | Y | - | Tax adult. Only available on Per and PerN type taxes. |
./Adult/@Amount | N | Double | Tax adult amount. |
./Adult/@Currency | N | String | Tax adult currency. |
./Price/ChildrenPrices | Y | - | Tax children prices. Only available on Per and PerN type taxes. |
./ChildrenPrices/ChildrenPrice | N | - | Tax children price. Up to three may be specified. |
./ChildrenPrice/@From | N | Integer | Tax children from age. |
./ChildrenPrice/@To | N | Integer | Tax children to age. |
./ChildrenPrice/@Amount | N | Double | Tax children amount. |
./Price/Tax | Y | - | Tax price. Only available on Hab, HabN, Res and ResN type taxes. |
./Tax/@Amount | N | Double | Tax amount. |
./Tax/@Currency | N | String | Tax currency. |
./Price/ValidPeriod | Y | - | Tax valid period. |
./ValidPeriod/@From | N | Date | Tax valid period from date. |
./ValidPeriod/@To | N | Date | Tax valid period to date. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<Tax>
<TaxRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<Tax Active = "true" Included = "true" ApplyCancellationCharges = "true" Type = "Por" Commissionable = "false" General = "false" Application = "Both">
<Names>
<Name Language = "es">TEST TAX ES</Name>
<Name Language = "en">TEST TAX EN</Name>
</Names>
<Descriptions>
<Description Language = "es">TEST DESC ES</Description>
<Description Language = "en">TEST DESC EN</Description>
</Descriptions>
<SalesChannels>
<SalesChannel Code = "Xml "/>
<SalesChannel Code = "Xml3"/>
</SalesChannels>
<Products Type = "A">
<Product Id = "125"/>
</Products>
<Price>
<Percentage Amount = "15"/>
</Price>
</Tax>
</TaxRQ>
</Tax>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the creation/modification is correct, the system will supply you with the tax complete information, which is exactly the same information as the one supplied on the TaxGet response.
Kindly refer to the TaxGet section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<TaxResponse xmlns = "http://www.juniper.es/webservice/2007/">
<TaxRS Url = "http://suppliers.juniper.es" TimeStamp = "2020-11-17T12:48:57.9775244+01:00" IntCode = "3zZ9166/0v6KJxENCQgJ0lfTVBn7IsGOOp/lGVHG2Ks=">
<Tax Code = "14" Active = "true" Included = "true" ApplyCancellationCharges = "true" Type = "Por" Commissionable = "false" General = "false" Application = "Both">
<Names>
<Name Language = "es">TEST TAX ES</Name>
<Name Language = "en">TEST TAX EN</Name>
</Names>
<Descriptions>
<Description Language = "es">TEST DESC ES</Description>
<Description Language = "en">TEST DESC EN</Description>
</Descriptions>
<SalesChannels>
<SalesChannel Code = "Xml ">WebService</SalesChannel>
<SalesChannel Code = "Xml3">WebService Xml3</SalesChannel>
</SalesChannels>
<Nationalities/>
<Areas/>
<ExcludedAreas/>
<Products Type = "A">
<Product Id = "125"/>
</Products>
<Price>
<Percentage Amount = "15"/>
</Price>
</Tax>
</TaxRS>
</TaxResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve the list of all of the existing Hotels from all the Hotel Groups of a supplier through its code.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ExternalHotelGroupListRequest | N | - | Container of the filters of the request. |
./ExternalHotelGroupListRequest/@SupplierCode | N | String | Supplier internal code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalHotelGroupList>
<ExternalHotelGroupListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalHotelGroupListRequest SupplierCode = "BWD"/>
</ExternalHotelGroupListRQ>
</ExternalHotelGroupList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelGroups | Y | - | List of available hotel groups. |
./HotelGroups/HotelGroup | N | - | Specific Hotel group. |
./HotelGroup/@Code | N | Numeric | Hotel group code. |
./HotelGroup/Name | N | String | Hotel group Name. |
./HotelGroup/Hotels | N | - | List of available hotels from the Hotel group. |
./Hotels/Hotel | N | - | Hotel node that belongs to the Hotel group. |
./Hotel/@Hotel | N | String | Hotel code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ExternalHotelGroupListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ExternalHotelGroupListRS Url = "http://juniper-uat.bookingengine.es/" TimeStamp = "2023-10-17T17:03:28.2371812+02:00" IntCode = "191okRKKPhLZBxmfTegPAmq4Fm9KJE1k8h6bwP35Dew=">
<HotelGroups>
<HotelGroup Code = "22">
<Name>Grupo Hoteles BWD</Name>
<Hotels>
<Hotel Code = "BDW_11"/>
<Hotel Code = "BDW_12"/>
<Hotel Code = "BDW_14"/>
</Hotels>
</HotelGroup>
</HotelGroups>
</ExternalHotelGroupListRS>
</ExternalHotelGroupListResponse>
</soap:Body>
</soap:Envelope>
This transaction will allow you to create, modify or delete hotel groups within the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ExternalHotelGroupRequest | N | - | Container of the filters of the request. |
./ExternalHotelGroupRequest/@SupplierCode | N | String | Supplier internal code. |
./ExternalHotelGroupRequest/@Code | Y | Numeric | Code of the internal group that you would like to modify or delete. |
./ExternalHotelGroupRequest/@Delete | Y | Boolean | If you would like to delete the related hotel group. |
./ExternalHotelGroupRequest/Name | Y | String | Hotel group name. |
./ExternalHotelGroupRequest/Hotels | Y | - | List of hotels. |
./Hotels/@Action | N | String | Action to perform with the hotel list. Possible values: • Add: Add new hotels • Delete: Delete requested hotels • Replace: Replace the previously existing list of hotels with the specified one. |
./Hotels/Hotel | Y | - | Specific hotel. |
./Hotel/@Code | Y | String | Hotel code. |
./Hotel/@JPCode | Y | String | Hotel JPCode. Optional parameter that may be used alternatively to the hotel code (@Code). If possible, we recommend working through the hotel code, as there could be hotels that did not had a JPCode mapping available. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalHotelGroup>
<ExternalHotelGroupRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalHotelGroupRequest SupplierCode = "ABC">
<Name>Hotel Group Test 1</Name>
<Hotels Action = "Add">
<Hotel Code = "123"/>
<Hotel Code = "234"/>
<Hotel Code = "345"/>
<Hotel Code = "456"/>
<Hotel Code = "678"/>
</Hotels>
</ExternalHotelGroupRequest>
</ExternalHotelGroupRQ>
</ExternalHotelGroup>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
HotelGroups | Y | - | List of available hotel groups. |
./HotelGroups/HotelGroup | N | - | Specific hotel group. |
./HotelGroup/@Code | N | Numeric | Hotel group code. |
./HotelGroup/Name | N | String | Hotel group Name. |
./HotelGroup/Hotels | N | - | List of available hotels from the hotel group. |
./Hotels/Hotel | N | - | Hotel node that belongs to the hotel group. |
./Hotel/@Hotel | N | String | Hotel code. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ExternalHotelGroupResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ExternalHotelGroupRS Url = "http://juniper-uat.bookingengine.es/" TimeStamp = "2025-04-04T15:36:13.9229375+02:00" IntCode = "T29bGee5pygTTA+jPxtpICoTHgYwKlDNLXizsBuK7RU=">
<HotelGroups>
<HotelGroup Code = "22">
<Name>Hotel Group Test 1</Name>
<Hotels>
<Hotel Code = "123"/>
<Hotel Code = "234"/>
<Hotel Code = "345"/>
<Hotel Code = "456"/>
<Hotel Code = "678"/>
</Hotels>
</HotelGroup>
</HotelGroups>
</ExternalHotelGroupRS>
</ExternalHotelGroupResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve the list of all of the existing parameters of a supplier through its code.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ExternalParameterListRequest | N | - | Container of the filters of the request. |
./ExternalParameterListRequest/@SupplierCode | N | String | Supplier internal code. |
./ExternalParameterListRequest/Parameters | Y | - | Optionally, you may filter the response for specific parameters. |
./Parameters/Parameter | N | - | Specific parameter to filter |
./Parameter/@Name | N | - | Parameter name, matches the value from the response. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalParameterList>
<ExternalParameterListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalParameterListRequest SupplierCode = "BWD"/>
</ExternalParameterListRQ>
</ExternalParameterList>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalParameterList>
<ExternalParameterListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalParameterListRequest SupplierCode = "BWD">
<Parameters>
<Parameter Name = "UseVirtualCard"/>
</Parameters>
</ExternalParameterListRequest>
</ExternalParameterListRQ>
</ExternalParameterList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Parameters | Y | - | List of available parameters. |
./Parameters/Parameter | N | - | Specific parameter. |
./Parameter/@Name | N | String | Parameter key/name. |
./Parameter/@Type | N | String | Parameter value type. Possible values: • String • Integer • Double • Date • Boolean • Percentual |
./Parameter/@Default | Y | String | Parameter default value, if applicable. |
./Parameter/Configuration | N | - | Parameter configuration information. |
./Configuration/@Channel | N | Boolean | If the paremeter allows for sales channel configuration. |
./Configuration/@AccessControl | N | Boolean | If the paremeter allows for access conditions configuration. |
./Configuration/@Zone | N | Boolean | If the paremeter allows for zone configuration. |
./Configuration/@Nationality | N | Boolean | If the paremeter allows for nationality configuration. |
./Configuration/@Interface | N | Boolean | If the paremeter allows for interface configuration. |
./Configuration/@Credential | N | Boolean | If the paremeter allows for credential configuration. |
./Parameter/ValuePairs | Y | - | List of existing values of the paremeter. |
./ValuePairs/ValuePair | N | - | Specific value pair, identifies through its own id (in case that, for example, you wish to modify it). |
./ValuePair/@Id | N | Integer | Value pair id. |
./ValuePair/Value | N | String | Value of the pair. Although a string on the specs, its value will match the type defined within Parameter@Type. |
./ValuePair/Conditions | N | - | Applicable conditions of the value pair. |
./Conditions/Channel | Y | String | Name of the sales channel that applies to the value pair. |
./Channel/@Id | N | String | Sales channel id. |
./Conditions/{AccessConditions} | N | - | Applicable access conditions of the value pair. |
./Conditions/Zone | Y | String | Name of the zone that applies to the value pair. |
./Zone/Id | N | Integer | Zone id. |
./Conditions/Nationality | Y | String | Name of the nationality that applies to the value pair. |
./Nationality/Id | N | Integer | Nationality id. |
./Conditions/Interface | Y | String | Name of the interface that applies to the value pair. |
./Interface/Id | N | String | Interface id. |
./Conditions/Credential | Y | String | Name of the credential that applies to the value pair. |
./Credential/Id | N | Integer | Credential id. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ExternalParameterListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ExternalParameterListRS Url = "http://juniper-uat.bookingengine.es/" TimeStamp = "2022-03-08T16:12:10.4445977+01:00" IntCode = "bm/mEeIEiEoU3pjtgEFbRr2ozXjzGfPFvTxP6c9IxZg=">
<Parameters>
<Parameter Name = "directBill_ID" Type = "String">
<Configuration Channel = "true" AccessControl = "false" Zone = "true" Nationality = "false" Interface = "false" Credential = "false"/>
<ValuePairs>
<ValuePair Id = "862">
<Value>123465</Value>
<Conditions>
<AccessConditions/>
</Conditions>
</ValuePair>
<ValuePair Id = "1707">
<Value>789752</Value>
<Conditions>
<Channel Id = "Xml ">WebService</Channel>
<AccessConditions/>
</Conditions>
</ValuePair>
</ValuePairs>
</Parameter>
</Parameters>
</ExternalParameterListRS>
</ExternalParameterListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to modify the value of external parameters from the system, those that you've been previously capable of retrieving by using the ExternalParameterList request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ExternalParameterRequest | N | - | Container of the filters of the request. |
./ExternalParameterRequest/@SupplierCode | N | String | Supplier internal code. |
./ExternalParameterRequest/Parameters | Y | - | List of paremeters that we are going to modify. Note that it will only be possible for you to modify only one parameter per request. |
./Parameters/Parameter | N | - | Specific parameter to modify |
./Parameter/@Name | N | String | Parameter key/name. |
./Parameter/ValuePairs | Y | - | List of values pairs of the parameter. Note that it will only be possible for you to modify one value pair per request. |
./ValuePairs/ValuePair | N | - | Specific value pair. |
./ValuePair/@Id | N | Integer | Value pair id. Required if you wish to delete and/or replace a value pair. |
./ValuePair/@Action | N | String | Action to perform to the value pair. Possible values: • Add: Add new value • Delete: Delete selected value pair • Replace: Replace selected value pair |
./ValuePair/Value | N | String | Value of the pair. Although a string on the specs, it will be required for it to match the type previously defined within Parameter@Type. |
./ValuePair/Conditions | N | - | Applicable conditions of the value pair. |
./Conditions/Channel | Y | String | Name of the sales channel that applies to the value pair. |
./Channel/@Id | N | String | Sales channel id. |
./Conditions/{AccessConditions} | Y | - | Applicable access conditions of the value pair. The system will validate the integrity of the conditions and, for example, if they are either contradictory or already exist, the request could be rejected. |
./Conditions/Zone | Y | String | Name of the zone that applies to the value pair. |
./Zone/Id | N | Integer | Zone id. |
./Conditions/Nationality | Y | String | Name of the nationality that applies to the value pair. |
./Nationality/Id | N | Integer | Nationality id. |
./Conditions/Interface | Y | String | Name of the interface that applies to the value pair. |
./Interface/Id | N | String | Interface id. |
./Conditions/Credential | Y | String | Name of the credential that applies to the value pair. |
./Credential/Id | N | Integer | Credential id. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalParameter>
<ExternalParameterRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalParameterRequest SupplierCode = "BWD">
<Parameters>
<Parameter Name = "ParameterKey">
<ValuePairs>
<ValuePair Action = "Add">
<Value>23456788</Value>
</ValuePair>
</ValuePairs>
</Parameter>
</Parameters>
</ExternalParameterRequest>
</ExternalParameterRQ>
</ExternalParameter>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalParameter>
<ExternalParameterRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalParameterRequest SupplierCode = "BWD">
<Parameters>
<Parameter Name = "ParameterKey">
<ValuePairs>
<ValuePair Id = "112" Action = "Replace">
<Value>23456789</Value>
<Conditions>
<Channel Id = "Xml "/>
</Conditions>
</ValuePair>
</ValuePairs>
</Parameter>
</Parameters>
</ExternalParameterRequest>
</ExternalParameterRQ>
</ExternalParameter>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalParameter>
<ExternalParameterRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalParameterRequest SupplierCode = "BWD">
<Parameters>
<Parameter Name = "ParameterKey">
<ValuePairs>
<ValuePair Id = "110" Action = "Delete"/>
</ValuePairs>
</Parameter>
</Parameters>
</ExternalParameterRequest>
</ExternalParameterRQ>
</ExternalParameter>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the modification is correct, the system will then supply you with the parameter complete information, which is exactly the same information as the one supplied on the ExternalParameterList response.
Kindly refer to the ExternalParameterList section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ExternalParameterResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ExternalParameterRS Url = "http://juniper-uat.bookingengine.es/" TimeStamp = "2022-03-09T10:43:12.5192349+01:00" IntCode = "y6J4mPbBj3atsSfmkfc75p1xl8+LkK9FA9XABY/54O0=">
<Parameters>
<Parameter Name = "ParameterKey" Type = "String">
<Configuration Channel = "true" AccessControl = "false" Zone = "true" Nationality = "false" Interface = "false" Credential = "false"/>
<ValuePairs>
<ValuePair Id = "111">
<Value>12345678</Value>
<Conditions>
<AccessConditions/>
</Conditions>
</ValuePair>
<ValuePair Id = "112">
<Value>23456789</Value>
<Conditions>
<Channel Id = "Xml ">WebService</Channel>
<AccessConditions/>
</Conditions>
</ValuePair>
</ValuePairs>
</Parameter>
</Parameters>
</ExternalParameterRS>
</ExternalParameterResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to retrieve the list of all of the existing Rates from a supplier through its code.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ExternalRateListRequest | N | - | Container of the filters of the request. |
./ExternalRateListRequest/@SupplierCode | N | String | Supplier internal code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalRateList>
<ExternalRateListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalRateListRequest SupplierCode = "BWD"/>
</ExternalRateListRQ>
</ExternalRateList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Rates | Y | - | List of available hotel rates. |
./Rates/Rate | N | - | Specific Rate. |
./Rate/@Id | N | Numeric | Rate Id. |
./Rate/@Code | Y | String | Rate code. |
./Rate/@Active | N | Boolean | Active state. |
./Rate/@ApplicationType | Y | String | Application type value. |
./Rate/Names | N | - | Possible Names values. |
./Names/@Language | N | String | Language in which the name is configured. |
./Names/Name | N | String | Name value. |
./Rate/Descriptions | Y | - | Possible Descriptions values. |
./Descriptions/@Language | N | String | Language in which the description is configured. |
./Descriptions/Description | N | String | Description value. |
./Rate/BoardTypes | N | - | Board type values. |
./BoardTypes/BoardType | N | - | Board type node. |
./BoardType/@Type | N | String | Board type value. |
./Rate/HotelGroups | N | - | Hotel groups node. |
./HotelGroups/HotelGroup | N | - | Hotel group node. |
./HotelGroup/@Code | N | Numeric | Hotel group code. |
./HotelGroup/Name | N | String | Hotel group Name. |
./Rate/{AccessConditions} | Y | - | Applicable access conditions of the registry |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ExternalRateListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ExternalRateListRS Url = "http://juniper-uat.bookingengine.es/" TimeStamp = "2023-10-18T10:17:49.5557775+02:00" IntCode = "ihqIjiY1bM3aSmq1GxILbgw07BaHS88hwJpbo6HRzLk=">
<Rates>
<Rate Id = "191" Active = "true" ApplicationType = "H">
<Names>
<Name Language = "ES">Tarifa test</Name>
<Name Language = "EN">Test rate</Name>
</Names>
<Descriptions>
<Description Language = "ES">Prueba de tarifa</Description>
<Description Language = "EN">Test rate configured</Description>
</Descriptions>
<BoarTypes>
<BoarType Type = "SA"/>
</BoarTypes>
<HotelGroups>
<HotelGroup Code = "22">
<Name>Grupo Hoteles BDW</Name>
</HotelGroup>
</HotelGroups>
<AccessConditions>
<AccessCondition AllowAccess = "false"/>
<AccessCondition AllowAccess = "false">
<Country Code = "3" Name = "Albania"/>
</AccessCondition>
<AccessCondition AllowAccess = "true">
<Market Code = "8" Name = "Global"/>
<AgencyGroup Code = "34" Name = "Website only"/>
<Customer Code = "1415" Name = "Juniper (Desarrollo)"/>
</AccessCondition>
</AccessConditions>
</Rate>
<Rate Id = "91" Code = "1KN4C" Active = "true" ApplicationType = "A">
<Names>
<Name Language = "EN">4034 Special Offer</Name>
</Names>
<Descriptions>
<Description Language = "EN">43034 Special Offer</Description>
</Descriptions>
<BoarTypes>
<BoarType Type = "SA"/>
</BoarTypes>
<AccessConditions/>
</Rate>
</Rates>
</ExternalRateListRS>
</ExternalRateListResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to create, modify and delete External Rates from a supplier through its code.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
ExternalRateRequest | N | - | Container of the filters of the request. |
./ExternalRateRequest/@SupplierCode | N | String | Supplier internal code. |
./ExternalRateRequest/Rates | N | - | Rates node to be created, modified or deleted. |
./Rates/Rate | N | - | Specific Rate. |
./Rate/@Action | Y | String | Action to perform to the Rate. Possible values: • Add: Add new rate • Delete: Delete selected rate • Replace: Replace selected rate |
./Rate/@Code | Y | String | Rate code. |
./Rate/@Active | N | Boolean | Active state. |
./Rate/@ApplicationType | Y | String | Application type value. |
./Rate/Names | N | - | Possible Names values. |
./Names/@Language | N | String | Language in which the name is configured. |
./Names/Name | N | String | Name value. |
./Rate/Descriptions | Y | - | Possible Descriptions values. |
./Descriptions/@Language | N | String | Language in which the description is configured. |
./Descriptions/Description | N | String | Description value. |
./Rate/BoardTypes | N | - | Board type values. |
./BoardTypes/BoardType | N | - | Board type node. |
./BoardType/@Type | N | String | Board type value. |
./Rate/HotelGroups | N | - | Hotel groups node. |
./HotelGroups/HotelGroup | N | - | Hotel group node. |
./HotelGroup/@Code | N | Numeric | Hotel group code. |
./HotelGroup/Name | N | String | Hotel group Name. |
./Rate/{AccessConditions} | Y | - | Applicable access conditions of the Rate. The system will validate the integrity of the conditions and, for example, if they are either contradictory or already exist, the request could be rejected. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalRate>
<ExternalRateRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalRateRequest SupplierCode = "DYS1">
<Rates>
<Rate Code = "TCDisney1" Action = "Add" Active = "false" ApplicationType = "H">
<Names>
<Name Language = "ES">Tarifa Test</Name>
<Name Language = "EN">Test rate</Name>
</Names>
<Descriptions>
<Description Language = "EN">Rate description</Description>
<Description Language = "ES">Descripcion Tarifa</Description>
</Descriptions>
<AccessConditions>
<AccessCondition AllowAccess = "false"/>
<AccessCondition AllowAccess = "false">
<Country Code = "3" Name = "Albania"/>
</AccessCondition>
<AccessCondition AllowAccess = "true">
<Market Code = "8" Name = "Juniper"/>
<AgencyGroup Code = "34" Name = "ProveedoresQueQuierenVerSuProducto"/>
<Customer Code = "557" Name = "GTA Test"/>
</AccessCondition>
</AccessConditions>
</Rate>
</Rates>
</ExternalRateRequest>
</ExternalRateRQ>
</ExternalRate>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalRate>
<ExternalRateRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalRateRequest SupplierCode = "DYS1">
<Rates>
<Rate Code = "TCDisney1" Action = "Replace" Active = "true" ApplicationType = "H">
<Names>
<Name Language = "ES">Tarifa Test</Name>
<Name Language = "EN">Test rate</Name>
</Names>
<Descriptions>
<Description Language = "EN">Rate description</Description>
<Description Language = "ES">Descripcion</Description>
</Descriptions>
<BoardTypes>
<BoardType Type = "SA"/>
</BoardTypes>
<AccessConditions>
<AccessCondition AllowAccess = "false"/>
<AccessCondition AllowAccess = "true">
<Country Code = "3" Name = "Albania"/>
</AccessCondition>
<AccessCondition AllowAccess = "true">
<Market Code = "8" Name = "Juniper"/>
<AgencyGroup Code = "34" Name = "ProveedoresQueQuierenVerSuProducto"/>
</AccessCondition>
</AccessConditions>
</Rate>
</Rates>
</ExternalRateRequest>
</ExternalRateRQ>
</ExternalRate>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ExternalRateList>
<ExternalRateListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<ExternalRateRequest SupplierCode = "DYS1">
<Rates>
<Rate Id = "100" Action = "Delete"/>
</Rates>
</ExternalRateRequest>
</ExternalRateListRQ>
</ExternalRateList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Rates | Y | - | List of available hotel rates. |
./Rates/Rate | N | - | Specific Rate. |
./Rate/@Id | N | Numeric | Rate Id. |
./Rate/@Code | Y | String | Rate code. |
./Rate/@Active | N | Boolean | Active state. |
./Rate/@ApplicationType | Y | String | Application type value. |
./Rate/Names | N | - | Possible Names values. |
./Names/@Language | N | String | Language in which the name is configured. |
./Names/Name | N | String | Name value. |
./Rate/Descriptions | Y | - | Possible Descriptions values. |
./Descriptions/@Language | N | String | Language in which the description is configured. |
./Descriptions/Description | N | String | Description value. |
./Rate/BoardTypes | N | - | Board type values. |
./BoardTypes/BoardType | N | - | Board type node. |
./BoardType/@Type | N | String | Board type value. |
./Rate/HotelGroups | N | - | Hotel groups node. |
./HotelGroups/HotelGroup | N | - | Hotel group node. |
./HotelGroup/@Code | N | Numeric | Hotel group code. |
./HotelGroup/Name | N | String | Hotel group Name. |
./Rate/{AccessConditions} | Y | - | Applicable access conditions of the registry |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ExternalRateResponse xmlns="http://www.juniper.es/webservice/2007/">
<ExternalRateListRS Url="http://juniper-uat.bookingengine.es/" TimeStamp="2023-10-18T10:17:49.5557775+02:00" IntCode="ihqIjiY1bM3aSmq1GxILbgw07BaHS88hwJpbo6HRzLk=">
<Rates>
<Rate Id="191" Active="true" ApplicationType="H">
<Names>
<Name Language="ES">Tarifa test</Name>
<Name Language="EN">Test rate</Name>
</Names>
<Descriptions>
<Description Language="ES">Prueba de tarifa</Description>
<Description Language="EN">Test rate configured</Description>
</Descriptions>
<BoarTypes>
<BoarType Type="SA"/>
</BoarTypes>
<HotelGroups>
<HotelGroup Code="22">
<Name>Grupo Hoteles BDW</Name>
</HotelGroup>
</HotelGroups>
<AccessConditions>
<AccessCondition AllowAccess="false"/>
<AccessCondition AllowAccess="false">
<Country Code="3" Name="Albania"/>
</AccessCondition>
<AccessCondition AllowAccess="true">
<Market Code="8" Name="Global"/>
<AgencyGroup Code="34" Name="Website only"/>
<Customer Code="1415" Name="Juniper (Desarrollo)"/>
</AccessCondition>
</AccessConditions>
</Rate>
</Rates>
</ExternalRateListRS>
</ExternalRateResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to read information from an existing supplier from the system. In order to retrieve the list of existing supplier, refer to the GenericCatalogueData request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
SupplierAccessReadRequest | N | - | Container of the filters of the request. |
./SupplierAccessReadRequest/@ProductType | N | String | Supplier internal code. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<SupplierAccessRead>
<SupplierAccessReadRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<SupplierAccessReadRequest ProductType = "HB2"/>
</SupplierAccessReadRQ>
</SupplierAccessRead>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
SupplierAccess | Y | - | Supplier from which we're retrieving information from. |
./SupplierAccess/@Code | N | String | Supplier internal code. |
./SupplierAccess/ConnectionStatus | N | - | Information related to its connection status. |
./ConnectionStatus/@Active | N | Boolean | If the supplier is active on the system or not. Its very important to understand that changes in this parameter may require take some time to be effective, as the configuration would need to be replicated on the different caches from the system. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SupplierAccessReadResponse xmlns = "http://www.juniper.es/webservice/2007/">
<SupplierAccessReadRS Url = "http://juniper-uat.juniper.es" TimeStamp = "2023-10-03T09:20:08.0227239+02:00" IntCode = "gu3tH+qyh+fTcdlgnCXxoEY7jjTCQ3o8+KZo6YdwWj8=">
<SupplierAccess Code = "HB2">
<ConnectionStatus Active = "true"/>
</SupplierAccess>
</SupplierAccessReadRS>
</SupplierAccessReadResponse>
</soap:Body>
</soap:Envelope>
This petition allows you to modify information from an existing supplier from the system, such as if you wany for the supplier to be active or not.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
SupplierAccessRequest | N | - | Container of the filters of the request. |
./SupplierAccessRequest/@ProductType | N | String | Supplier internal code. |
./SupplierAccessRequest/ConnectionStatus | N | - | Information related to its connection status. |
./ConnectionStatus/@Active | N | Boolean | If the supplier will be active or not on the system. Its very important to understand that changes in this parameter may require take some time to be effective, as the configuration would need to be replicated on the different caches from the system. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<SupplierAccess>
<SupplierAccessRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<SupplierAccessRequest ProductType = "HB2">
<ConnectionStatus Active = "false"/>
</SupplierAccessRequest>
</SupplierAccessRQ>
</SupplierAccess>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the modification is correct, the system will then supply you with the parameter complete information, which is exactly the same information as the one supplied on the SupplierAccessRead response.
Kindly refer to the SupplierAccessRead section if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SupplierAccessResponse xmlns = "http://www.juniper.es/webservice/2007/">
<SupplierAccessRS Url = "http://juniper-uat.juniper.es" TimeStamp = "2023-10-03T09:27:41.6319703+02:00" IntCode = "F7Fty5DiIXasGTgnKUzxVvQlv106l8EvGyytaDxPp7M=">
<SupplierAccess Code = "HB2">
<ConnectionStatus Active = "false"/>
</SupplierAccess>
</SupplierAccessRS>
</SupplierAccessResponse>
</soap:Body>
</soap:Envelope>
This request allows you to obtain and/or search users from the system.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
GetUserListRequest | Y | - | Node that contains all of the available filters |
./GetUserListRequest/CreationDate | Y | - | Creation date filter |
./CreationDate/@FromDate | Y | Date | Creation from date. Format: YYYY-MM-DD |
./CreationDate/@ToDate | Y | Date | Creation to date. Format: YYYY-MM-DD |
./GetUserListRequest/ModificationDate | Y | - | Modification date filter |
./ModificationDate/@FromDate | Y | Date | Modification from date. Format: YYYY-MM-DD |
./ModificationDate/@ToDate | Y | Date | Modification to date. Format: YYYY-MM-DD |
./GetUserListRequest/Login | Y | String | Login filter, allows for partial string searches. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GetUserList>
<GetUserListRQ Version = "1.1" Language = "en">
<Login Password = "pass" Email = "user@mydomain.com"/>
<GetUserListRequest>
<ModificationDate FromDate = "2024-06-01" ToDate = "2024-06-29"/>
</GetUserListRequest>
</GetUserListRQ>
</GetUserList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
User | N | - | User Information |
./User/@Id | N | Integer | User id |
./User/@Active | N | Boolean | User status |
./User/@CreationDate | N | DateTime | User creation date |
./User/@ModificationDate | N | DateTime | User modification date |
./User/@LastAccessDate | N | DateTime | User last access date |
./User/Name | N | String | User name |
./User/Login | N | String | User login |
./User/Email | N | String | User email |
./User/Role | N | String | User role |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetUserListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<GetUserListRS Url = "http://juniper-uat.juniper.es" TimeStamp = "2024-08-30T13:38:01.383239+02:00" IntCode = "T29bGee5pygTTA+jPxtpINkTQAh0hFQyjdEq08NlG2g=">
<User Id = "92" Active = "True" CreationDate = "2017-12-19 09:33:34" ModificationDate = "2019-06-27 03:28:18" LastAccessDate = "2019-06-27 03:28:18">
<Name>dCanellas</Name>
<Login>dCanellas</Login>
<Email/>
<Role>test</Role>
</User>
<User Id = "104" Active = "True" CreationDate = "2018-10-24 09:59:20" ModificationDate = "2019-06-10 10:25:35" LastAccessDate = "2019-06-27 03:28:18">
<Name>Admin</Name>
<Login>Admin</Login>
<Email/>
<Role/>
</User>
<User Id = "116" Active = "True" CreationDate = "2019-05-23 21:45:31" ModificationDate = "2019-06-27 12:45:06" LastAccessDate = "2019-06-27 03:28:18">
<Name>Juniperinfo</Name>
<Login>noreply@ejuniper.com</Login>
<Email/>
<Role/>
</User>
</GetUserListRS>
</GetUserListResponse>
</soap:Body>
</soap:Envelope>
This transaction will allow you to obtain detailed user information, following the user ids that you would have previously retrieved through the use of the GetUserList request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Users | N | - | Users container |
./Users/User | N | - | User instance. You may send as much users as you might need, tho, in order to avoid potential transfer times issues, we recommend to request this transactions in batches of up to 50 users. |
./User/@Id | N | Integer | User id. Retrieved from the response of the GetUserList request. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GetUser>
<GetUserRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<Users>
<User Id = "666"/>
<User Id = "671"/>
</Users>
</GetUserRQ>
</GetUser>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Users | N | - | List of users. |
./Users/User | N | - | Specific user information. |
./User/@Id | N | Integer | User id. |
./User/General | N | - | User general information. |
./General/@Active | N | Boolean | User active status. |
./General/@AccountManager | N | Boolean | User account manager status. |
./General/Name | N | String | User name. |
./General/Login | N | String | User login. |
./General/UserRole | N | - | User role information. |
./UserRole/@Id | N | Integer | User role internal id. |
./UserRole/Name | N | String | User role name. |
./General/SecurityEmail | N | String | User security email. |
./User/Departaments | N | - | List of available departments of the user. |
./Departaments/Department | N | - | Specific department information. |
./Department/@Id | N | Integer | Department internal id. |
./Department/Name | N | String | Department name. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetUserResponse xmlns = "http://www.juniper.es/webservice/2007/">
<GetUserRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2024-07-09T12:47:20.9457094+02:00" IntCode = "IYR/LlEVilA1FiOIqVlS31Rn1u0y0WpLICIxgXQyVXs=">
<Users>
<User Id = "666">
<General Active = "True" AccountManager = "False">
<Name>XiscaWSS</Name>
<Login>XiscaWS</Login>
<UserRole Id = "122">
<Name>mayra test rol</Name>
</UserRole>
<SecurityEmail>xisca.o@ejuniper.com</SecurityEmail>
</General>
<Departaments>
<Department Id = "15">
<Name>Del</Name>
</Department>
</Departaments>
</User>
<User Id = "671">
<General Active = "True" AccountManager = "False">
<Name>XiscaTestAdmin</Name>
<Login>XiscaTestAdmin</Login>
<UserRole Id = "55">
<Name>RolPadre</Name>
</UserRole>
<SecurityEmail>xisca.test@test.com</SecurityEmail>
</General>
<Departaments>
<Department Id = "1">
<Name>Delegación 1</Name>
</Department>
<Department Id = "2">
<Name>Delegación 2</Name>
</Department>
<Department Id = "3">
<Name>Delegación 3</Name>
</Department>
...
</Departaments>
</User>
</Users>
</GetUserRS>
</GetUserResponse>
</soap:Body>
</soap:Envelope>
This transaction will allow you to modify previously existing users, following the user ids that you would have previously retrieved through the use of the GetUserList request, and whose contents you would have read through the GetUser request.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
Users | N | - | Users container. |
./Users/User | N | - | User to modify. |
./User/@Id | N | Integer | User id. |
./User/General | Y | - | User general information. |
./General/@Active | Y | Boolean | User active status. |
./General/@AccountManager | Y | Boolean | User account manager status. |
./General/Name | Y | String | User name. |
./General/Login | Y | String | User login. Important note: Previously established logins cannot be modified, attempting to do so will result in a INVALID_ACTION exception. |
./General/UserRole | Y | - | User role information. |
./UserRole/@Id | N | Integer | User role internal id. |
./UserRole/Name | Y | String | User role name. |
./General/SecurityEmail | Y | String | User security email. |
./User/Departaments | Y | - | List of available departments of the user. |
./Departaments/Department | Y | - | Specific department information. |
./Department/@Id | N | Integer | Department internal id. |
./Department/Name | Y | String | Department name. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<ModifyUser>
<ModifyUserRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<Users>
<User Id = "671">
<General>
<Name>XiscaTestAdmin ModifTest</Name>
</General>
</User>
</Users>
</ModifyUserRQ>
</ModifyUser>
</soapenv:Body>
</soapenv:Envelope>
Following the request example, if the modification is correct, the system will supply you with the user complete information, which is exactly the same information as the one supplied on the GetUser response.
Kindly refer to the GetUser specs, if you wish to consult the specifications of the nodes and properties of this transaction.
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ModifyUserResponse xmlns = "http://www.juniper.es/webservice/2007/">
<ModifyUserRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2024-07-11T17:30:42.2952669+02:00" IntCode = "PfjFTG/nRWxq6sBgrcDM/3SosuMgkjyOHSXfrUlHH1c=">
<Users>
<User Id = "671">
<General Active = "True" AccountManager = "False">
<Name>XiscaTestAdmin ModifTest</Name>
<Login>XiscaTestAdmin</Login>
<UserRole Id = "55">
<Name>RolPadre</Name>
</UserRole>
<SecurityEmail>xisca.test@test.com</SecurityEmail>
</General>
<Departaments>
<Department Id = "15">
<Name>Del</Name>
</Department>
</Departaments>
</User>
</Users>
</ModifyUserRS>
</ModifyUserResponse>
</soap:Body>
</soap:Envelope>
This request allows for an administrator to generate a temporary signature (username and password) that enables access to our products' APIs (like, for example, the JP Hotel API) in the name of the previously specified customer (with its conditions and such).
This signature will expire after 10 minutes and, if you need to retain the access under the same customer, it will be required for you to generate and additional signature each time.
Important note:
It is important to note that this is a restricted transaction that will require for the authorization of both the Juniper client and the Juniper team prior to using the same.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
CreateAgencySignatureRequest | N | - | Signature information container. It will be required for you to specify one of the request parameters, such as @AgentID or @CustomerID for example. |
./CreateAgencySignatureRequest/@AgentID | Y | Integer | Customer agent id that will be used in order to generate the signature. |
./CreateAgencySignatureRequest/@CustomerID | Y | Integer | Customer/agency id that will be used in order to generate the signature. |
./CreateAgencySignatureRequest/@Booking | Y | String | Booking locator that will be used in order to generate the signature. Required if the signature will be used in the ReBook process. |
./CreateAgencySignatureRequest/@AgentLogin | Y | String | Customer agent login that will be used in order to generate the signature. Its use will require your account to have been granted permission. |
./CreateAgencySignatureRequest/@CustomerLogin | Y | String | Customer/agency login that will be used in order to generate the signature. Its use will require your account to have been granted permission. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CreateAgencySignature>
<CreateAgencySignatureRQ Version = "1.1" Language = "en">
<Login Password = "pass" Email = "user@mydomain.com"/>
<CreateAgencySignatureRequest CustomerID = "280" Booking = "N4LR1L"/>
</CreateAgencySignatureRQ>
</CreateAgencySignature>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Signature | Y | - | Signature container |
./Signature/@AgentId | Y | Integer | Agent id that has been used in order to generate the signature. |
./Signature/@CustomerId | Y | Integer | Customer id that has been used in order to generate the signature. |
./Signature/@ExpirationDate | N | DateTime | Signature expiration date. By default it will be 10 minutes. |
./Signature/@Booking | Y | String | Booking locator that has been used in order to generate the signature. |
./Signature/@AgentLogin | Y | String | Customer agent login that has been used in order to generate the signature. |
./Signature/@CustomerLogin | Y | String | Customer/agency login that has been used in order to generate the signature. |
./Signature/Email | N | String | Username part of the signature. |
./Signature/Password | N | String | Password part of the signature. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CreateAgencySignatureResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CreateAgencySignatureRS TimeStamp = "2021-01-26T17:34:17.6260944+01:00">
<Signature CustomerId = "280" ExpirationDate = "2021-01-26T17:44:18.2510886+01:00" Booking = "N4LR1L">
<Email>Sgn98710s0</Email>
<Password>P.8Cxde4038qV4FUg3k57pFckJ3omqDtdZsjqtQcf/s96syboim6GdIGGRmn0bJ3zjnlYSSVe2gBZ35qE0bJIDqA==</Password>
</Signature>
</CreateAgencySignatureRS>
</CreateAgencySignatureResponse>
</soap:Body>
</soap:Envelope>
This request enables you to verify if the credentials (username and password) of an already existing agency/agent are correct and active for WebSite use. If not, the response will include a typified error code stating the reason for which the credentials are not correct.
Refer to the JP_AUTH error codes found on the Exceptions section of the API for a list of all of the reasons for which a set of credentials could fail.
Important note:
It is important to note that this is a restricted transaction that will require for the authorization of both the Juniper client and the Juniper team prior to using the same.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
CustomerAuthRequest | N | - | Customer authentication filters. |
./CustomerAuthRequest/@Login | N | String | Login/username of the credential to verify. |
./CustomerAuthRequest/@Password | N | String | Password of the credential to verify. |
./CustomerAuthRequest/@SalesChannel | Y | String | Sales channel to verify if the credentials have access to. |
./CustomerAuthRequest/@GetSignature | Y | Boolean | If true, will generate a signature on a succesful response. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<CustomerAuth>
<CustomerAuthRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<CustomerAuthRequest Login = "userToAuth" Password = "passToAuth"/>
</CustomerAuthRQ>
</CustomerAuth>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. Kindly refer to the Exceptions section of the API, on which, the JP_AUTH error codes will help you identify the reason for which the authentication failed. |
{Warnings} | Y | - | Applicable warnings. |
Customer | Y | - | Customer container. |
./Customer/@Status | N | String | Status of the authentication. Possible values: • OK • KO |
./Customer/Signature | Y | - | Customer signature, returned if succesful and established on the request. |
./Signature/@ExpirationDate | N | DateTime | Signature expiration date. By default it will be 10 minutes. |
./Signature/Email | N | String | Username part of the signature. |
./Signature/Password | N | String | Password part of the signature. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CustomerAuthResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CustomerAuthRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-05-30T15:08:28.5194981+02:00" IntCode = "SqJ19SoVC5RaTledwsFI01WNZNJ6g+RDwSdNNo9tUPY=">
<Customer Status = "OK"/>
</CustomerAuthRS>
</CustomerAuthResponse>
</soap:Body>
</soap:Envelope>
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CustomerAuthResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CustomerAuthRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-06-02T10:44:53.8831451+02:00" IntCode = "UlSuCmcQpZ/en6kdzTSrYgzN0tgmRT3/e+o7QaPPoFs=">
<Customer Status = "OK">
<Signature ExpirationDate = "2022-06-02T10:54:53.8831451+02:00">
<Email>Sgn147114s0</Email>
<Password>5AYBMRdA+LtiRw3kEsjDj5B54ScVlTWyjU7R3uAID6TPjcHUHkKKWfE8P9e87XW+IXuXSclT1JRxmW7cqJWl4w==</Password>
</Signature>
</Customer>
</CustomerAuthRS>
</CustomerAuthResponse>
</soap:Body>
</soap:Envelope>
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CustomerAuthResponse xmlns = "http://www.juniper.es/webservice/2007/">
<CustomerAuthRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2022-06-02T10:47:01.5015993+02:00" IntCode = "y6J4mPbBj3atsSfmkfc75h/3X46pD/i4dW0YhT51VyM=">
<Errors>
<Error Code = "JP_AUTH_INTERFACENOTALLOWED">
<Text>Agency not allowed in this interface</Text>
</Error>
</Errors>
<Customer Status = "KO"/>
</CustomerAuthRS>
</CustomerAuthResponse>
</soap:Body>
</soap:Envelope>
This request allows you to create, modify and/or delete group assignments from the ground handling module. Various booking assignments groups can be performed in one transaction.
In order to use this transaction, the ground handling module must be active.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
GroupAssignments | N | - | - |
./GroupAssignments/GroupAssignment | N | - | Group assignment information. |
./GroupAssignment/@Id | Y | Integer | Id of the group assignment to modify or delete. |
./GroupAssignment/ExternalCode | N | String | Group assignment external code |
./GroupAssignment/Items | N | ||
./Items/Item | |||
./Item/@Id | N | Integer | Service booking line id |
./Item/@Locator | Y | String | Booking locator |
./Item/@PickUp | N | DateTime | Pickup time |
./GroupAssignment/Vehicle | Y | - | Vehicle of the group assignment. |
./Vehicle/@Code | Y | Integer | Internal code of the vehicle. |
./GroupAssignment/Remarks | Y | String | Remarks of the group assignment. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GroupAssignment>
<GroupAssignmentRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<GroupAssignments>
<GroupAssignment>
<ExternalCode>ABC123-2</ExternalCode>
<Items>
<Item Id = "448391" Locator = "ZNCKNK" PickUp = "10:00:00"/>
</Items>
</GroupAssignment>
</GroupAssignments>
</GroupAssignmentRQ>
</GroupAssignment>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GroupAssignment>
<GroupAssignmentRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<GroupAssignments>
<GroupAssignment Id = "8">
<ExternalCode>ABC123-3</ExternalCode>
<Items>
<Item Id = "448391" Locator = "ZNCKNK" PickUp = "10:00:00"/>
</Items>
<Remarks>TEST remark</Remarks>
</GroupAssignment>
</GroupAssignments>
</GroupAssignmentRQ>
</GroupAssignment>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GroupAssignment>
<GroupAssignmentRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<GroupAssignments>
<GroupAssignment Id = "8">
<ExternalCode>ABC123-3</ExternalCode>
<Items/>
</GroupAssignment>
</GroupAssignments>
</GroupAssignmentRQ>
</GroupAssignment>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
GroupAssignments | Y | - | - |
./GroupAssignments/GroupAssignment | N | - | Specific group assignment. |
./GroupAssignment/@Id | N | Integer | Internal id of the group assignment. |
./GroupAssignment/ExternalCode | Y | String | External code of the group assignment. |
./GroupAssignment/Items | N | - | Applicable items of the group assignment. |
./Items/Item | N | - | Specific item of the group assignment. |
./Item/@Id | N | Integer | Item internal id. |
./GroupAssignment/Vehicle | Y | - | Vehicle of the group assignment. |
./Vehicle/@Code | Y | Integer | Internal code of the vehicle. |
./GroupAssignment/Remarks | Y | String | Remarks of the group assignment. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GroupAssignmentResponse xmlns = "http://www.juniper.es/webservice/2007/">
<GroupAssignmentRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2023-06-08T13:18:15.4244636+02:00" IntCode = "F7Fty5DiIXasGTgnKUzxVtslonH8zYI1pX7Pa5EkUXY=">
<GroupAssignments>
<GroupAssignment Id = "8">
<ExternalCode>ABC123-2</ExternalCode>
<Items>
<Item Id = "448391"/>
</Items>
</GroupAssignment>
</GroupAssignments>
</GroupAssignmentRS>
</GroupAssignmentResponse>
</soap:Body>
</soap:Envelope>
Important information
If locators are provided, a validation will be performed to check that the service booking lined id belongs to the booking for the locator provided.
All service booking line ids in a group assignment must be for the same date.
This request allows you to retrieve an already existing group assignment. In order to use this transaction, the ground handling module must be active.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
GroupAssignmentGetRequest | N | - | Request filters. |
./GroupAssignmentGetRequest/GroupAssignments | N | - | List of possible group assignments to request. |
./GroupAssignments/GroupAssignment | N | - | Specific group assignment. |
./GroupAssignment/@Id | Y | Integer | Internal id of the group assignment to get. |
./GroupAssignment/@ExternalCode | Y | String | External code of the group assignment to get. |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GroupAssignmentGet>
<GroupAssignmentGetRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<GroupAssignmentGetRequest>
<GroupAssignments>
<GroupAssignment Id="8"/>
</GroupAssignments>
</GroupAssignmentGetRequest>
</GroupAssignmentGetRQ>
</GroupAssignmentGet>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<GroupAssignmentGet>
<GroupAssignmentGetRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
<GroupAssignmentGetRequest>
<GroupAssignments>
<GroupAssignment ExternalCode = "ABC123-2"/>
</GroupAssignments>
</GroupAssignmentGetRequest>
</GroupAssignmentGetRQ>
</GroupAssignmentGet>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
GroupAssignmentGetResponse | Y | - | - |
./GroupAssignmentGetResponse/GroupAssignments | N | - | List of possible group assignments to request. |
./GroupAssignments/GroupAssignment | N | - | Specific group assignment. |
./GroupAssignment/@Id | N | Integer | Internal id of the group assignment. |
./GroupAssignment/ExternalCode | Y | String | External code of the group assignment. |
./GroupAssignment/Items | N | - | Applicable items of the group assignment. |
./Items/Item | N | - | Specific item of the group assignment. |
./Item/@Id | N | Integer | Item internal id. |
./Item/@Locator | N | String | Item locator. |
./GroupAssignment/Vehicle | N | - | Vehicle of the group assignment. |
./Vehicle/@Code | N | Integer | Internal code of the vehicle. |
./GroupAssignment/Remarks | Y | String | Remarks of the group assignment. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GroupAssignmentGetResponse xmlns = "http://www.juniper.es/webservice/2007/">
<GroupAssignmentGetRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2023-06-08T13:26:39.6030983+02:00" IntCode = "gu3tH+qyh+fTcdlgnCXxoK7MPfpxzsmnxOtSFz5wTAI=">
<GroupAssignmentGetResponse>
<GroupAssignments>
<GroupAssignment Id = "8">
<ExternalCode>ABC123-2</ExternalCode>
<Items>
<Item Id = "448391" Locator = "ZNCKNK"/>
</Items>
<Vehicle Code = "-1"/>
</GroupAssignment>
</GroupAssignments>
</GroupAssignmentGetResponse>
</GroupAssignmentGetRS>
</GroupAssignmentGetResponse>
</soap:Body>
</soap:Envelope>
This request allows you to retreive the list of all of the existing vehicles of your booking engine (those from the ground handling module). In order to use this transaction, the ground handling module must be active.
If your credentials have a department associated, only vehicles from that specific department will be provided.
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Version | N | String | Web Service version |
@Language | N | String | Language in which the response will be returned. Please, contact Juniper for available languages. |
{Login} | N | - | Customer login to access the Web Service |
VehicleListRequest | Y | - | - |
./VehicleListRequest/@DepartmentId | Y | Integer | Department id filter |
<soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns = "http://www.juniper.es/webservice/2007/">
<soapenv:Header/>
<soapenv:Body>
<VehicleList>
<VehicleListRQ Version = "1.1" Language = "en">
<Login Email = "user@mydomain.com" Password = "pass"/>
</VehicleListRQ>
</VehicleList>
</soapenv:Body>
</soapenv:Envelope>
Node / Attribute (@) | Opt | Type | Description |
---|---|---|---|
@Url | N | String | Requested base endpoint. |
@TimeStamp | N | DateTime | Response date and time. Format: yyyy-MM-ddThh:mm:ss (UTC). |
@IntCode | N | String | Internal response code. |
{Errors} | Y | - | Applicable errors. |
{Warnings} | Y | - | Applicable warnings. |
Vehicles | Y | - | List of existing vehicles. |
./Vehicles/Vehicle | Y | - | Specific vehicle. |
./Vehicle/@Id | N | Integer | Vehicle internal id. |
./Vehicle/Name | N | String | Vehicle name. |
./Vehicle/Type | Y | String | Vehicle type name. |
./Type/@Code | N | Integer | Vehicle type internal id. |
./Vehicle/Supplier | Y | - | Vehicle supplier. |
./Supplier/Name | N | String | Vehicle supplier name. |
./Vehicle/Capacity | Y | String | Vehicle capacity. |
<soap:Envelope xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<soap:Body>
<VehicleListResponse xmlns = "http://www.juniper.es/webservice/2007/">
<VehicleListRS Url = "http://juniper-uat.bookingengine.es" TimeStamp = "2023-06-08T12:46:41.3562343+02:00" IntCode = "gu3tH+qyh+fTcdlgnCXxoMs9Bs8isBYBzMx1s8g+5hg=">
<Vehicles>
<Vehicle Id = "28">
<Name>Bangkok Vans</Name>
<Type Code = "18">Min Van</Type>
<Supplier>
<Name>Juniper</Name>
</Supplier>
<Capacity>11</Capacity>
</Vehicle>
<Vehicle Id = "29">
<Name>Bangkok Bus</Name>
<Type Code = "17">Bus All Transfers</Type>
<Supplier>
<Name>Juniper</Name>
</Supplier>
<Capacity>18</Capacity>
</Vehicle>
<Vehicle Id = "30">
<Name>Bangkok Private Car</Name>
<Type Code = "19">Private Car</Type>
<Supplier>
<Name>Juniper</Name>
</Supplier>
<Capacity>4</Capacity>
</Vehicle>
</Vehicles>
</VehicleListRS>
</VehicleListResponse>
</soap:Body>
</soap:Envelope>