Inventory
GetArrivalAndDepartureRestrictions
GetArrivalAndDepartureRestrictions will return the Arrival and Departure date restrictions for a rate package. These restrict or allow the days that a traveler can arrive to or depart from a property.
GetArrivalAndDepartureRestrictionsResponse GetArrivalAndDepartureRestrictions(GetArrivalAndDepartureRestrictionsRequest request)
Example
<soapenv:Header/>
<soapenv:Body>
<ns:GetArrivalAndDepartureRestrictions>
<ns:request>
<ns1:ChannelManagerUsername>ChannelManagerUsername</ns1:ChannelManagerUsername>
<ns1:ChannelManagerPassword>ChannelManagerPassword</ns1:ChannelManagerPassword>
<ns1:Username>propertyusername</ns1:Username>
<ns1:Password>propertypassword</ns1:Password>
<ns1:HotelId>123456</ns1:HotelId>
<ns:EndDate>2018-10-01</ns:EndDate>
<ns1:RatePackages>
<ns1:RatePackageId>123456</ns1:RatePackageId>
</ns1:RatePackages>
<ns:StartDate>2018-10-31</ns:StartDate>
</ns:request>
</ns:GetArrivalAndDepartureRestrictions>
</soapenv:Body>
</soapenv:Envelope>
Method Parameters
Field | Data Type | Description |
request | GetArrivalAndDepartureRestrictionsRequest |
GetArrivalAndDepartureRestrictionsRequest
Field | Data Type | Description |
RatePackages | RatePackageId | One or More Rate Package Id(s) |
StartDate | DateTime | Start date of specified arrival and departure detail. |
EndDate | DateTime | End date of specified arrival and departure detail. |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
RatePackageId
One or More Rate Package Id(s)
Field | Data Type | Description |
Capacity | Int32 | |
Count | Int32 | |
Item | Int64 |
TimeSpan
Field | Data Type | Description |
GetArrivalAndDepartureRestrictionsResponse
Field | Data Type | Description |
RatePackages | List of RatePackageArrivalAndDepartureDetail | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
RatePackageArrivalAndDepartureDetail
Field | Data Type | Description |
RatePackageId | Int64 | Rate Package Id for which this Arrival and Departure detail is specified. |
ArrivalAndDepartureDateRanges | List of ArrivalAndDepartureDateRange | List of ArrivalAndDeparture date ranges |
Status | Boolean | Used during validation to respond if your supplied data is valid. Status of Rate Package Id. E.g True , False. Set to null when using this object for the Save message |
Message | String | This field only displays a message if the response has any validation errors for this Rate Package Id. Set to null when using this object for the Save message |
ArrivalAndDepartureDateRange
List of ArrivalAndDeparture date ranges
Field | Data Type | Description |
CanArrive | Boolean | true if the guest can arrive between the date range, false if not |
CanDepart | Boolean | true if the guest can depart between the date range, false if not |
FromDate | DateTime | The Start Date for the dates range (inclusive). Even though this is a DateTime, the Time portion should also be ignored. |
ToDate | DateTime | The End Date for the date range (inclusive). Even though this is a DateTime, the Time portion should also be ignored. |
GetBookingFinancialDetails
Financial information contained inside the GetBookings and GetModifiedBookings messages is not very accurate. Over time, this information has got the way it did, and companies have coded to the information and made their systems work with the data. However, new implementations we would like companies to not have to code through so many difficult scenarios to succeed in injesting the financial information for bookings, therefore, after you have called the GetModifiedBookings message, please call this message to retrieve the financial information.
Please note: These returned objects represent what we received from the OTAs. Each OTA has a different strategy to return what they believe properties will need to know to inject the bookings into their system. We only populate values when the OTA told us what it is, if they didn't the value will be null or missing. Therefore, if you receive a NET value, no Gross, no Tax and no OTA fee value then this means that we weren't told the other information, and this is all we have. If you do require that information, you will have to write software on your side which can determine what the values should be given the property, country, location and the OTA involved.
GetBookingFinancialDetailsResponse GetBookingFinancialDetails(GetBookingFinancialDetailsRequest request)
Method Parameters
Field | Data Type | Description |
request | GetBookingFinancialDetailsRequest |
GetBookingFinancialDetailsRequest
Field | Data Type | Description |
BookingIds | List of Int64 | You can supply a List of Resonline Booking IDs, OR you can supply a DistributionChannelId AND a list of SourceBookingReferences to retrieve the booking financial data. |
DistributionChannelId | Int64 | When you are supplying a list of SourceBookingReferences, the DistributionChannelId is required, otherwise set it to null or empty. |
SourceBookingReferences | List of String | You can supply a List of Resonline Booking IDs, OR you can supply a DistributionChannelId AND a list of SourceBookingReferences to retrieve the booking financial data. |
FinancialDataVersion | Int64 | Over time we will release new versions of the financial data. To maintain backward compatibility, please specify the version that you have coded to handle. The current maximum version number is 1. |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
TimeSpan
Field | Data Type | Description |
GetBookingFinancialDetailsResponse
Field | Data Type | Description |
Data | List of BookingFinancial | A list of the financial information for the bookings requested |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
BookingFinancial
A list of the financial information for the bookings requested
Field | Data Type | Description |
BookingId | Int64 | The Resonline BookingId that this booking was stored against |
SourceBookingRef | String | The OTAs Unique booking reference |
SourceBookingRoomRef | String | Some bookings from OTAs contain multiple booked rooms, also known as an Itinerary. This is the Room reference from the OTA which identifies this booking within the itinerary |
FinancialDataVersion | Int64 | The version for the Financial Data |
DistributionChannelCode | String | This distribution channel code this booking is for |
ItineraryTotal | FinancialTotal | The total for the entire booking party, or itinerary. This includes the totals for the bookings if there are multiple bookings in the one itinerary, otherwise it has the same values as the ThisBookingTotal field. |
ThisBookingTotal | FinancialTotal | The totals for this booking. This is especially important when a booking is part of a multiple booking scenario. Ie, the ItineraryTotal will have the entire amount paid etc, but the ThisBookingTotal will just be for this part of the itinerary. |
NightRates | List of BookingFinancialNightRate | Information holding the nightly rates that are part of this booking |
Charges | List of BookingFinancialCharge | When we are told, we will supply any additional charges that have been included in this booking |
Extras | List of BookingFinancialExtra | Some OTAs separate booking extras and inform us what these are. Example, tickets to the cinema or other 'Extras' that have been included over and above the accommodation fees. |
TaxesAndFees | List of BookingFinancialTaxFee | Some OTAs(hardly any) supply us with a detailed break down of the taxes and fees that have been charged. When we are told what these are, we supply them here. |
PaymentInstructions | BookingFinancialPaymentInstructions | This object holds the Deposit instructions, and any final payment instructions. Use this to help the Property understand what has been charged to the guest already, and what balance may be required to be taken. Or, even if the hotel has to invoice the OTA for their fees. |
RawOtaData | String | As much as we have tried to split out the information, there may be cases where we haven't been able to interpret the values in a fashion which suits your system. In this case, you can deserialize the RawOTAData and extract out the values which better suit your system. |
FinancialTotal
The total for the entire booking party, or itinerary. This includes the totals for the bookings if there are multiple bookings in the one itinerary, otherwise it has the same values as the ThisBookingTotal field.
Field | Data Type | Description |
CurrencyISO | String | The 3 letter ISO currency for the amounts in this object |
Gross | Decimal | Gross amount, which is inclusive of all OTA fees and taxes. This is the price that the guest has paid. It may not be provided by the OTA, so you may have to use the other values to deduce this value |
Net | Decimal | Net amount, which is exclusive of all OTA fees and taxes. It may not be provided by the OTA, so you may have to use the other values to deduce this value |
Tax | Decimal | Any tax paid. This is rarely provided by the OTAs, so if you need this value - you will have to have a method to work out what the Taxes are. |
OTAFees | Decimal | Any OTA fees that the guest has paid. This is rarely provided by the OTAs, so if you need this value - you will have to have a method to work out what the FEes are. |
BaseNightRate | Decimal | When available, this is the base rate for the accommodation, which includes taxes and OTA fees |
ExtraPersonFees | Decimal | If there were extra person charges, some OTAs provide this value, most do not however. |
HotelServiceFees | Decimal | Some OTAs provide what the Service fee charge for the booking is, as from our understanding this can cause different tax rates in some countries. |
FinancialTotal
The totals for this booking. This is especially important when a booking is part of a multiple booking scenario. Ie, the ItineraryTotal will have the entire amount paid etc, but the ThisBookingTotal will just be for this part of the itinerary.
Field | Data Type | Description |
CurrencyISO | String | The 3 letter ISO currency for the amounts in this object |
Gross | Decimal | Gross amount, which is inclusive of all OTA fees and taxes. This is the price that the guest has paid. It may not be provided by the OTA, so you may have to use the other values to deduce this value |
Net | Decimal | Net amount, which is exclusive of all OTA fees and taxes. It may not be provided by the OTA, so you may have to use the other values to deduce this value |
Tax | Decimal | Any tax paid. This is rarely provided by the OTAs, so if you need this value - you will have to have a method to work out what the Taxes are. |
OTAFees | Decimal | Any OTA fees that the guest has paid. This is rarely provided by the OTAs, so if you need this value - you will have to have a method to work out what the FEes are. |
BaseNightRate | Decimal | When available, this is the base rate for the accommodation, which includes taxes and OTA fees |
ExtraPersonFees | Decimal | If there were extra person charges, some OTAs provide this value, most do not however. |
HotelServiceFees | Decimal | Some OTAs provide what the Service fee charge for the booking is, as from our understanding this can cause different tax rates in some countries. |
BookingFinancialNightRate
Information holding the nightly rates that are part of this booking
Field | Data Type | Description |
StayDate | DateTime | The Stay Date, will include time but the time is irrelevant |
Total | FinancialTotal | An object holding all of the Financial values we have received for this night rate. |
FinancialTotal
An object holding all of the Financial values we have received for this night rate.
Field | Data Type | Description |
CurrencyISO | String | The 3 letter ISO currency for the amounts in this object |
Gross | Decimal | Gross amount, which is inclusive of all OTA fees and taxes. This is the price that the guest has paid. It may not be provided by the OTA, so you may have to use the other values to deduce this value |
Net | Decimal | Net amount, which is exclusive of all OTA fees and taxes. It may not be provided by the OTA, so you may have to use the other values to deduce this value |
Tax | Decimal | Any tax paid. This is rarely provided by the OTAs, so if you need this value - you will have to have a method to work out what the Taxes are. |
OTAFees | Decimal | Any OTA fees that the guest has paid. This is rarely provided by the OTAs, so if you need this value - you will have to have a method to work out what the FEes are. |
BaseNightRate | Decimal | When available, this is the base rate for the accommodation, which includes taxes and OTA fees |
ExtraPersonFees | Decimal | If there were extra person charges, some OTAs provide this value, most do not however. |
HotelServiceFees | Decimal | Some OTAs provide what the Service fee charge for the booking is, as from our understanding this can cause different tax rates in some countries. |
BookingFinancialCharge
When we are told, we will supply any additional charges that have been included in this booking
Field | Data Type | Description |
Amount | Decimal | The amount, including taxes and ota fees that was charged to the guest |
Description | String | A description for the charge, in english |
Name | String | A Name for the charge, human readable |
Code | String | Where possible, the Code for the charge which can be programmatically disseminated to do custom processing knowing that the value won't change |
BookingFinancialExtra
Some OTAs separate booking extras and inform us what these are. Example, tickets to the cinema or other 'Extras' that have been included over and above the accommodation fees.
Field | Data Type | Description |
BookingExtraType | BookingExtraType | Represents what type of extra this is |
Name | String | A human readable short name for the extra |
Description | String | A human readable description for the extra |
Amount | Decimal | The Amount inclusive of taxes and OTA fees for the extra |
AdultQuantity | Int32 | How many of this extra was chosen for adults in the booking party |
AdultAmount | Decimal | What price for adults they paid, only applicable to certain extra types |
ChildQuantity | Int32 | How many of this extra was chosen for children in the booking party |
ChildAmount | Decimal | What price for children they paid, only applicable to certain extra types |
Quantity | String | For extras by Qty, this is the quantity of extras chosen |
BookingExtraType
Represents what type of extra this is
Field | Data Type | Description |
BOO | Price is per booking | |
NGT | Price is per Night | |
PER | Price is per person | |
QTY | Price is per qty |
BookingFinancialTaxFee
Some OTAs(hardly any) supply us with a detailed break down of the taxes and fees that have been charged. When we are told what these are, we supply them here.
Field | Data Type | Description |
Code | String | A unique code which represents what Tax or Fee this is |
Description | String | A human readable description for this Tax or Fee |
Amount | Decimal | The amount for this Tax or Fee |
BookingFinancialPaymentInstructions
This object holds the Deposit instructions, and any final payment instructions. Use this to help the Property understand what has been charged to the guest already, and what balance may be required to be taken. Or, even if the hotel has to invoice the OTA for their fees.
Field | Data Type | Description |
Deposit | BookingFinancePayment | Information which describes how the initial payment or 'Deposit' whas collected by the OTA. Inside here, can be instructions on what the hotel should do with the virtual credit cards |
Balance | BookingFinancePayment | If a balance should be taken then this will be populated. Some OTAs don't take any payment, but just collect the booking and require that the hotel will take the payment. If so, this is populated with the necessary instructions |
BookingFinancePayment
Information which describes how the initial payment or 'Deposit' whas collected by the OTA. Inside here, can be instructions on what the hotel should do with the virtual credit cards
Field | Data Type | Description |
CurrencyISO | String | The currency in 3 letter ISO format |
AmountForThisBooking | Decimal | How much was collected or how much should be collected |
TakenBy | PaymentTakenBy | Describes who has or who should take the payment |
Status | PaymentStatus | What status is the payment in, completed or pending |
PaymentDate | DateTime | When the payment has occurred, it might be null, for balance payments as it hasn't occurred yet. |
AmountToBeOrTakenUsing | PaymentTakenUsing | Describes what system took payment, or what system should be used to take payment |
HotelFeeCollectionCanCommenceFrom | DateTime | Some OTAs provide a virtual card, which isn't unlocked until a certain date. This is populated with that date in those situations. |
CardExpiresOn | DateTime | If a Credit card (or virtual card) is supplied, this is its expiry date |
HotelFeeCollectionInstructions | String | A human readable form of payment instructions intended to be viewed by the property to help them understand what they should do regarding collecting a balance of payment, collecting payment from the guest or invoicing for their fees from the OTA |
PaymentTakenBy
Describes who has or who should take the payment
Field | Data Type | Description |
Property | Payment has been or should be taken by the Property | |
OTA | Payment has been or should be taken by the OTA |
PaymentStatus
What status is the payment in, completed or pending
Field | Data Type | Description |
Complete | The payment succeeded and is complete | |
Pending | This payment is not complete and the property is expected to take payment at some stage. |
PaymentTakenUsing
Describes what system took payment, or what system should be used to take payment
BookingFinancePayment
If a balance should be taken then this will be populated. Some OTAs don't take any payment, but just collect the booking and require that the hotel will take the payment. If so, this is populated with the necessary instructions
Field | Data Type | Description |
CurrencyISO | String | The currency in 3 letter ISO format |
AmountForThisBooking | Decimal | How much was collected or how much should be collected |
TakenBy | PaymentTakenBy | Describes who has or who should take the payment |
Status | PaymentStatus | What status is the payment in, completed or pending |
PaymentDate | DateTime | When the payment has occurred, it might be null, for balance payments as it hasn't occurred yet. |
AmountToBeOrTakenUsing | PaymentTakenUsing | Describes what system took payment, or what system should be used to take payment |
HotelFeeCollectionCanCommenceFrom | DateTime | Some OTAs provide a virtual card, which isn't unlocked until a certain date. This is populated with that date in those situations. |
CardExpiresOn | DateTime | If a Credit card (or virtual card) is supplied, this is its expiry date |
HotelFeeCollectionInstructions | String | A human readable form of payment instructions intended to be viewed by the property to help them understand what they should do regarding collecting a balance of payment, collecting payment from the guest or invoicing for their fees from the OTA |
PaymentTakenBy
Describes who has or who should take the payment
Field | Data Type | Description |
Property | Payment has been or should be taken by the Property | |
OTA | Payment has been or should be taken by the OTA |
PaymentStatus
What status is the payment in, completed or pending
Field | Data Type | Description |
Complete | The payment succeeded and is complete | |
Pending | This payment is not complete and the property is expected to take payment at some stage. |
PaymentTakenUsing
Describes what system took payment, or what system should be used to take payment
GetBookings
Please implement GetModifiedBookings as we find that 99% of the time it is more suitable for fetching bookings, cancellations and modifications from our system. We have left this message in place to continue to support clients who have already implemented it, but all future connections should use GetModifiedBookings message instead.
GetBookingsResponse GetBookings(GetBookingsRequest request)
Method Parameters
Field | Data Type | Description |
request | GetBookingsRequest |
GetBookingsRequest
Field | Data Type | Description |
StartDate | DateTime | StartDate to find bookings that were booked on or after this date. |
EndDate | DateTime | EndDate to find bookings that were booked on or Before this date. |
BookingStatus | String | (Optional) Its best if you leave this empty or leave it out all together. |
BookingId | Int64 | StartDate to find bookings that were booked between this date. |
DistributionChannelId | Int64 | Use this field in conjunction with the DistributionChannelBookingReference field. You can use the ContentService->GetStaticData message to retrieve the valid Ids for this column which match the Last Minute Website you are searching for. |
DistributionChannelBookingReference | String | Use this field in conjunction with the DistributionChannelId field to look up a booking based on the channels booking ID rather than our ID. For example, if you know the wotif booking reference number, then use this would allow you to find our booking data that matches the wotif booking. |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
TimeSpan
Field | Data Type | Description |
GetBookingsResponse
Field | Data Type | Description |
Bookings | List of Booking | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
Booking
Field | Data Type | Description |
BookingId | Int64 | The Unique Booking ID as stored inside our System |
BookingDate | DateTime | The Date for the Booking. This is in GMT + 10. |
GuestInfo | GuestDetails | Guest Information |
Rooms | List of BookingRatePackage | A List of Rooms that were Booked |
Note | String | The Guests Booking Notes |
BookingStatus | String | Status of the booking. Possible Values = Confirmed, Cancelled, Pending, Rejected. Pending and Rejected statuses are usually caused by Failed Credit Card charges, or a failure communicating with our data sources. They are not confirmed bookings and have failed. |
CheckInDate | DateTime | The Date the Guest will be checking in. This is in the Hotels Timezone. |
CheckOutDate | DateTime | The Date the Guest will be checking out. This is in the Hotels Timezone. |
BookingAmount | Decimal | The Total Booking Amount |
OwingAmount | Decimal | If there is any money owing for the booking, its returned here. |
BookingFee | Decimal | If there was a booking fee collected, then its returned here. |
CurrencyIso | String | The ISO Currency for the amounts on this booking. |
Adult | Int32 | Qty of Adults |
Children | Int32 | Qty of Children |
Infants | Int32 | Qty of Infants |
BookingExtras | List of BookingExtra | Booking Extras are quite detailed in how they work, you really need to be trained on how bookings extras work from a users perspective to understand them. You can visit http://www.resonline.com/help for more information. |
BookingSource | String | What source caused this booking to be booked. |
SourceBookingRef | String | When the booking came from a 3rd Party OTA, then this is their Unique Booking ID |
SecureDataKey | String | Used to access the Credit Card Details |
CardDetails | CreditCard | Credit Card Details are not returned by this API. These Fields are still here for legacy purposes. |
RatesByNight | List of RateByNight | A breakdown of the nights that were booked and what Rate each night was. |
BookingAmountIncludingTax | Decimal | The Total Booking Amount Including Tax. Only populated if this information is supplied by the upstream channel. If there is any ambiguity, this field will be left null |
BookingAmountExcludingTax | Decimal | The Total Booking Amount Excluding Tax. Only populated if this information is supplied by the upstream channel. If there is any ambiguity, this field will be left null |
TaxFees | List of TaxFee | A breakdown of the taxes and fees applied to this booking. As supplied by the upstream channel. |
OtaRateCode | String | Code of RatePlan at OTA before rewriting |
OtaRateName | String | Name of RatePlan at OTA before rewriting |
BookingFlags | List of String | Flags applied to this booking |
SpecialRequests | List of SpecialRequest | Special requests for this booking |
BookingDeposits | List of BookingDeposit | Deposts made against this booking when received by the OTA |
BookingAffiliations | List of BookingAffiliation | Affiliations for this booking. |
GuestDetails
Guest Information
Field | Data Type | Description |
Name | String | |
Title | String | |
FirstName | String | |
LastName | String | |
Address | String | |
Address1 | String | |
Address2 | String | |
Address3 | String | |
Suburb | String | |
State | String | |
Postcode | String | |
Country | String | |
EmailAddress | String | |
PhoneNumber | String |
BookingRatePackage
A List of Rooms that were Booked
Field | Data Type | Description |
Name | String | |
Nights | Int32 | |
RatePackageId | Int64 |
BookingExtra
Booking Extras are quite detailed in how they work, you really need to be trained on how bookings extras work from a users perspective to understand them. You can visit http://www.resonline.com/help for more information.
Field | Data Type | Description |
BookingExtraId | Int64 | ID For the booking Extra |
BookingExtraType | BookingExtraType | The Type of Booking Extra |
Name | String | Its Name |
Description | String | A Long description of the Extra which makes sense to the Guest and the Property |
Amount | Decimal | Amount |
AdultQuantity | Int64 | Qty of Adults that have chosen this Extra. |
AdultAmount | Decimal | The Monetary value for this booking Extra which is specific for the Adults that chose it. |
ChildQuantity | Int64 | Qty of Children that have chosen this Extra. |
ChildAmount | Decimal | The Monetary value for this booking Extra which is specific for the Children that chose it. |
Quantity | Decimal | This field is used for the Per Quantity booking extra types. It specifies how many of the extra have been purchased in the booking. |
BookingExtraType
The Type of Booking Extra
Field | Data Type | Description |
BOO | Qty per Booking | |
NGT | Qty Per Night | |
PER | Qty per Person | |
QTY | Qty of this Extra |
CreditCard
Credit Card Details are not returned by this API. These Fields are still here for legacy purposes.
Field | Data Type | Description |
CardNumber | String | |
ExpiryDate | String | |
NameOnCard | String | |
CCV | String |
RateByNight
A breakdown of the nights that were booked and what Rate each night was.
Field | Data Type | Description |
Date | DateTime | Stay Date |
Night | Int32 | Night Number. |
Rate | Decimal | This value includes all accommodation, taxes, fees and Extra Pax Charges. |
AmountExcludingTaxAndFees | Decimal | Includes the Accommodation only rate, excluding taxes and fees. We don't always know what this is, so if this field is empty you will be forced to use the Rate field instead. Now - A rule of thumb is, if this field is populated, but the tax field is 0 that actually means that we don't know what the tax is. So this field could in fact mean that it is inclusive of fees and taxes. Ultimately, because we aren't always told we are between a rock and a hard place in being able to tell you. If this field is missing, then the default is 0 |
Tax | Decimal | The Tax that was charged for this night. We don't always know what this is - we can only supply this if the tax is supplied by the booking source. If this field is missing, then the default is 0 |
Fees | Decimal | The fees that were charged for this night. We don't always know what this is - we can only supply this if the tax is supplied by the booking source. If this field is missing, then the default is 0 |
ExtraPaxChargesExcludingTaxAndFees | Decimal | If extra pax charges were applied, these are put in this field, excluding any tax or fees. We don't always know what this is - we can only supply this if the tax is supplied by the booking source. If this field is missing, then the default is 0 |
TaxFee
A breakdown of the taxes and fees applied to this booking. As supplied by the upstream channel.
Field | Data Type | Description |
Name | String | Tax/Fee Name. As supplied by the upstream channel |
Description | String | Tax/Fee Description. As supplied by the upstream channel |
Amount | Decimal | Amount of the tax or fee. As supplied by the upstream channel |
SpecialRequest
Special requests for this booking
Field | Data Type | Description |
Name | String | |
Description | String |
BookingDeposit
Deposts made against this booking when received by the OTA
Field | Data Type | Description |
PaymentAmt | Decimal | |
Currency | String | |
DepositType | String | |
Description | String |
BookingAffiliation
Affiliations for this booking.
Field | Data Type | Description |
Name | String | |
AffiliationNumber | String | |
NumberType | String | |
AffiliationType | String |
GetInventory
GetInventory returns all of the existing rates, availability, stopsell, min nights and inclusions for the supplied rate packages and date ranges.
GetInventoryResponse GetInventory(GetInventoryRequest request)
Method Parameters
Field | Data Type | Description |
request | GetInventoryRequest |
GetInventoryRequest
Field | Data Type | Description |
RatePackages | RatePackageId | One or More Rate Package Id |
StartDate | DateTime | Start date of specified inventory detail. |
EndDate | DateTime | End date of specified inventory detail. |
IncludeArrivalAndDepartureSettings | Boolean | Set to true if you want the object returned to contain the Arrival and Departure restriction dates. This is false by default for backward compatibility. |
IncludeDerivedRatesFlag | Boolean | The response will flag rates that have been derived |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
RatePackageId
One or More Rate Package Id
Field | Data Type | Description |
Capacity | Int32 | |
Count | Int32 | |
Item | Int64 |
TimeSpan
Field | Data Type | Description |
GetInventoryResponse
Field | Data Type | Description |
RatePackages | List of RatePackageInventoryDetail | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
RatePackageInventoryDetail
Field | Data Type | Description |
RatePackageId | Int64 | Rate Package Id for which inventory is specified. |
Inventory | List of RateDetails | |
Status | Boolean | Status of Rate Package Id. E.g True , False. |
Message | String | This field only displays a message if the response has any error for this Rate Package Id. |
RateDetails
Field | Data Type | Description |
Rate | Decimal | Optional Value, if you are not changing the Rate, then leave this out or set it to nil |
RateApplicationType | RateApplicationType | Optional Value, If you are changing the Rate, then set this to the appropriate RateApplicationType otherwise leave it out, or set it to nil |
Availability | Int32 | Optional Value, If you are changing the Availability, then set this to the appropriate value otherwise leave it out, or set it to nil |
AvailabilityApplicationType | AvailabilityApplicationType | Optional Value, If you are changing the Availability, then set this to the appropriate AvailabilityApplicationType otherwise leave it out, or set it to nil |
StopSell | Boolean | Optional Value, If you are changing the StopSell value, then set this to the appropriate value otherwise leave it out, or set it to nil |
Inclusions | String | Optional Value, set it, or leave it out or set to nil if you don't want to change it. |
MinimumNightStay | Int32 | Optional Value, set it, or leave it out or set to nil if you don't want to change it. |
FromDate | DateTime | The Start Date for the dates you want to alter (inclusive) |
ToDate | DateTime | The End Date for the dates you want to alter (inclusive) |
MaximumNightStay | Int32 | Optional Value for the maximum night a guest can stay to utilize this rate / date. If you need to remove the MaximumNight Setting, set this to 9999 and the API will remove it from the Database. |
CanArrive | Boolean | If true, travelers are allowed to arrive at the property between this date range. |
CanDepart | Boolean | If true, travelers are allowed to depart from the property between this date range. |
Derived | Boolean | Indicates if the rate has been derived |
RateApplicationType
Optional Value, If you are changing the Rate, then set this to the appropriate RateApplicationType otherwise leave it out, or set it to nil
Field | Data Type | Description |
SET | ||
INCREASE | ||
INCREASE_PERCENT | ||
DECREASE | ||
DECREASE_PERCENT |
AvailabilityApplicationType
Optional Value, If you are changing the Availability, then set this to the appropriate AvailabilityApplicationType otherwise leave it out, or set it to nil
Field | Data Type | Description |
SET | ||
INCREASE | ||
DECREASE |
GetModifiedBookings
GetModifiedBookings returns all new, cancelled and modified bookings that have occurred between the supplied date range. This is the best method to call as it does return new, cancelled and modified bookings all in the one call.
GetModifiedBookingsResponse GetModifiedBookings(GetModifiedBookingsRequest request)
Example
<soapenv:Header/>
<soapenv:Body>
<ns:GetModifiedBookings>
<ns:request>
<ns1:ChannelManagerUsername>asdfasdf</ns1:ChannelManagerUsername>
<ns1:ChannelManagerPassword>asdfasdf</ns1:ChannelManagerPassword>
<ns1:Username>asdfasdfdddd</ns1:Username>
<ns1:Password>asdfasdfasdf</ns1:Password>
<ns1:HotelId>123456</ns1:HotelId>
<ns:EndDate>2014-04-25</ns:EndDate>
<ns:StartDate>2014-04-01</ns:StartDate>
</ns:request>
</ns:GetModifiedBookings>
</soapenv:Body>
</soapenv:Envelope>
Method Parameters
Field | Data Type | Description |
request | GetModifiedBookingsRequest |
GetModifiedBookingsRequest
Field | Data Type | Description |
StartDate | DateTime | The start date(yyyy-MM-dd) for when the booking was modified, to which the query is to be applied to. This starts at 12:00 am |
EndDate | DateTime | The end date(yyyy-MM-dd) for when the booking was modified, to which the query is to be applied to. This date does not include time, so specify TodaysDate+1day to retrieve 'Todays' information |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
TimeSpan
Field | Data Type | Description |
GetModifiedBookingsResponse
Field | Data Type | Description |
Bookings | List of Booking | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
Booking
Field | Data Type | Description |
BookingId | Int64 | The Unique Booking ID as stored inside our System |
BookingDate | DateTime | The Date for the Booking. This is in GMT + 10. |
GuestInfo | GuestDetails | Guest Information |
Rooms | List of BookingRatePackage | A List of Rooms that were Booked |
Note | String | The Guests Booking Notes |
BookingStatus | String | Status of the booking. Possible Values = Confirmed, Cancelled, Pending, Rejected. Pending and Rejected statuses are usually caused by Failed Credit Card charges, or a failure communicating with our data sources. They are not confirmed bookings and have failed. |
CheckInDate | DateTime | The Date the Guest will be checking in. This is in the Hotels Timezone. |
CheckOutDate | DateTime | The Date the Guest will be checking out. This is in the Hotels Timezone. |
BookingAmount | Decimal | The Total Booking Amount |
OwingAmount | Decimal | If there is any money owing for the booking, its returned here. |
BookingFee | Decimal | If there was a booking fee collected, then its returned here. |
CurrencyIso | String | The ISO Currency for the amounts on this booking. |
Adult | Int32 | Qty of Adults |
Children | Int32 | Qty of Children |
Infants | Int32 | Qty of Infants |
BookingExtras | List of BookingExtra | Booking Extras are quite detailed in how they work, you really need to be trained on how bookings extras work from a users perspective to understand them. You can visit http://www.resonline.com/help for more information. |
BookingSource | String | What source caused this booking to be booked. |
SourceBookingRef | String | When the booking came from a 3rd Party OTA, then this is their Unique Booking ID |
SecureDataKey | String | Used to access the Credit Card Details |
CardDetails | CreditCard | Credit Card Details are not returned by this API. These Fields are still here for legacy purposes. |
RatesByNight | List of RateByNight | A breakdown of the nights that were booked and what Rate each night was. |
BookingAmountIncludingTax | Decimal | The Total Booking Amount Including Tax. Only populated if this information is supplied by the upstream channel. If there is any ambiguity, this field will be left null |
BookingAmountExcludingTax | Decimal | The Total Booking Amount Excluding Tax. Only populated if this information is supplied by the upstream channel. If there is any ambiguity, this field will be left null |
TaxFees | List of TaxFee | A breakdown of the taxes and fees applied to this booking. As supplied by the upstream channel. |
OtaRateCode | String | Code of RatePlan at OTA before rewriting |
OtaRateName | String | Name of RatePlan at OTA before rewriting |
BookingFlags | List of String | Flags applied to this booking |
SpecialRequests | List of SpecialRequest | Special requests for this booking |
BookingDeposits | List of BookingDeposit | Deposts made against this booking when received by the OTA |
BookingAffiliations | List of BookingAffiliation | Affiliations for this booking. |
GuestDetails
Guest Information
Field | Data Type | Description |
Name | String | |
Title | String | |
FirstName | String | |
LastName | String | |
Address | String | |
Address1 | String | |
Address2 | String | |
Address3 | String | |
Suburb | String | |
State | String | |
Postcode | String | |
Country | String | |
EmailAddress | String | |
PhoneNumber | String |
BookingRatePackage
A List of Rooms that were Booked
Field | Data Type | Description |
Name | String | |
Nights | Int32 | |
RatePackageId | Int64 |
BookingExtra
Booking Extras are quite detailed in how they work, you really need to be trained on how bookings extras work from a users perspective to understand them. You can visit http://www.resonline.com/help for more information.
Field | Data Type | Description |
BookingExtraId | Int64 | ID For the booking Extra |
BookingExtraType | BookingExtraType | The Type of Booking Extra |
Name | String | Its Name |
Description | String | A Long description of the Extra which makes sense to the Guest and the Property |
Amount | Decimal | Amount |
AdultQuantity | Int64 | Qty of Adults that have chosen this Extra. |
AdultAmount | Decimal | The Monetary value for this booking Extra which is specific for the Adults that chose it. |
ChildQuantity | Int64 | Qty of Children that have chosen this Extra. |
ChildAmount | Decimal | The Monetary value for this booking Extra which is specific for the Children that chose it. |
Quantity | Decimal | This field is used for the Per Quantity booking extra types. It specifies how many of the extra have been purchased in the booking. |
BookingExtraType
The Type of Booking Extra
Field | Data Type | Description |
BOO | Qty per Booking | |
NGT | Qty Per Night | |
PER | Qty per Person | |
QTY | Qty of this Extra |
CreditCard
Credit Card Details are not returned by this API. These Fields are still here for legacy purposes.
Field | Data Type | Description |
CardNumber | String | |
ExpiryDate | String | |
NameOnCard | String | |
CCV | String |
RateByNight
A breakdown of the nights that were booked and what Rate each night was.
Field | Data Type | Description |
Date | DateTime | Stay Date |
Night | Int32 | Night Number. |
Rate | Decimal | This value includes all accommodation, taxes, fees and Extra Pax Charges. |
AmountExcludingTaxAndFees | Decimal | Includes the Accommodation only rate, excluding taxes and fees. We don't always know what this is, so if this field is empty you will be forced to use the Rate field instead. Now - A rule of thumb is, if this field is populated, but the tax field is 0 that actually means that we don't know what the tax is. So this field could in fact mean that it is inclusive of fees and taxes. Ultimately, because we aren't always told we are between a rock and a hard place in being able to tell you. If this field is missing, then the default is 0 |
Tax | Decimal | The Tax that was charged for this night. We don't always know what this is - we can only supply this if the tax is supplied by the booking source. If this field is missing, then the default is 0 |
Fees | Decimal | The fees that were charged for this night. We don't always know what this is - we can only supply this if the tax is supplied by the booking source. If this field is missing, then the default is 0 |
ExtraPaxChargesExcludingTaxAndFees | Decimal | If extra pax charges were applied, these are put in this field, excluding any tax or fees. We don't always know what this is - we can only supply this if the tax is supplied by the booking source. If this field is missing, then the default is 0 |
TaxFee
A breakdown of the taxes and fees applied to this booking. As supplied by the upstream channel.
Field | Data Type | Description |
Name | String | Tax/Fee Name. As supplied by the upstream channel |
Description | String | Tax/Fee Description. As supplied by the upstream channel |
Amount | Decimal | Amount of the tax or fee. As supplied by the upstream channel |
SpecialRequest
Special requests for this booking
Field | Data Type | Description |
Name | String | |
Description | String |
BookingDeposit
Deposts made against this booking when received by the OTA
Field | Data Type | Description |
PaymentAmt | Decimal | |
Currency | String | |
DepositType | String | |
Description | String |
BookingAffiliation
Affiliations for this booking.
Field | Data Type | Description |
Name | String | |
AffiliationNumber | String | |
NumberType | String | |
AffiliationType | String |
GetRatePackages
GetRatePackages will return the RatePackages that a property has for sale in their account.
GetRatePackagesResponse GetRatePackages(GetRatePackagesRequest request)
Example
<soapenv:Header/>
<soapenv:Body>
<ns:GetRatePackages>
<ns:request>
<ns1:ChannelManagerUsername>ChannelManagerUsername</ns1:ChannelManagerUsername>
<ns1:ChannelManagerPassword>ChannelManagerPassword</ns1:ChannelManagerPassword>
<ns1:Username>propertyusername</ns1:Username>
<ns1:Password>propertypassword</ns1:Password>
<ns1:HotelId>123456</ns1:HotelId>
</ns:request>
</ns:GetRatePackages>
</soapenv:Body>
</soapenv:Envelope>
Method Parameters
Field | Data Type | Description |
request | GetRatePackagesRequest |
GetRatePackagesRequest
Field | Data Type | Description |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
TimeSpan
Field | Data Type | Description |
GetRatePackagesResponse
Field | Data Type | Description |
Rooms | List of Room | A List of Rooms for sale on this Hotel. |
HotelId | Int64 | Not returned by the API. |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
Room
A List of Rooms for sale on this Hotel.
Field | Data Type | Description |
Name | String | Rooms Name. |
RoomID | Int64 | Not Returned by the API. |
RatePackages | List of RatePackage | The list of RatePackages for the Room. This is the actual item that gets booked so when you are fetching what is for sale from a property, you should use these items. |
RatePackage
The list of RatePackages for the Room. This is the actual item that gets booked so when you are fetching what is for sale from a property, you should use these items.
Field | Data Type | Description |
Name | String | :) |
RatePackageId | Int64 | Unique Identifier for the RatePackage |
RatePackageDescription | String | A Long description describing the Rate Package. This description is intended to be used by the Guest when choosing to make a booking. |
MaximumGuests | Int32 | The Maximum number of guests who are allowed to stay in this room. |
GuestsIncluded | Int32 | The Qty of guests that are included in the price. Any extra adults or children who will be staying will incur the Extra Charges (Adult or Child) |
RestrictOnMinimumNight | Boolean | |
DerivedRatePackages | List of DerivedRatePackage | Rule for calculating derived rates for this rate package |
DerivedRatePackage
Rule for calculating derived rates for this rate package
Field | Data Type | Description |
ParentRatePackageId | Int64 | RatePackageId that the rate is derived from |
DaysFrom | Int32 | Days from today to start applying this rule |
DaysUntil | Int32 | Days after today to apply this rule |
RatePlanDerivationType | RatePlanDerivationType | Type of rate derivation |
DerivedValue | Decimal | Value used in the derivation calculation |
Rounding | Rounding | How to round the result |
RatePlanDerivationType
Type of rate derivation
Field | Data Type | Description |
PER | Percentage | |
VAL | Value | |
MAN | Manually Set |
Rounding
How to round the result
Field | Data Type | Description |
UP | Round Up | |
DOWN | Round Down | |
NEAR | Round to the closest whole | |
NONE | No rounding |
SaveArrivalAndDepartureRestrictions
SaveArrivalAndDepartureRestrictions will update the settings in Resonline for when travelers are able to arrive or depart from the property for a rate package. If you don't specify a date range, then the values for that date range will remain unchanged. By default, Resonline defaults to allow arrival and departure to a property for a date unless told otherwise.
SaveArrivalAndDepartureRestrictionsResponse SaveArrivalAndDepartureRestrictions(SaveArrivalAndDepartureRestrictionsRequest request)
Example
<soapenv:Header/>
<soapenv:Body>
<ns:SaveArrivalAndDepartureRestrictions>
<ns:request>
<ns1:ChannelManagerUsername>ChannelManagerUsername</ns1:ChannelManagerUsername>
<ns1:ChannelManagerPassword>ChannelManagerPassword</ns1:ChannelManagerPassword>
<ns1:Username>propertyusername</ns1:Username>
<ns1:Password>propertypassword</ns1:Password>
<ns1:HotelId>123456</ns1:HotelId>
<ns:RatePackages>
<ns:RatePackageArrivalAndDepartureInformation>
<ns:ArrivalAndDepartureDateRanges>
<ns:ArrivalAndDepartureDateRange>
<ns:CanArrive>true</ns:CanArrive>
<ns:CanDepart>true</ns:CanDepart>
<ns:FromDate>2019-07-01T00:00:00</ns:FromDate>
<ns:ToDate>2019-07-09T00:00:00</ns:ToDate>
</ns:ArrivalAndDepartureDateRange>
<ns:ArrivalAndDepartureDateRange>
<ns:CanArrive>false</ns:CanArrive>
<ns:CanDepart>true</ns:CanDepart>
<ns:FromDate>2019-07-10T00:00:00</ns:FromDate>
<ns:ToDate>2019-07-13T00:00:00</ns:ToDate>
</ns:ArrivalAndDepartureDateRange>
<ns:ArrivalAndDepartureDateRange>
<ns:CanArrive>true</ns:CanArrive>
<ns:CanDepart>true</ns:CanDepart>
<ns:FromDate>2019-07-14T00:00:00</ns:FromDate>
<ns:ToDate>2019-07-16T00:00:00</ns:ToDate>
</ns:ArrivalAndDepartureDateRange>
<ns:ArrivalAndDepartureDateRange>
<ns:CanArrive>true</ns:CanArrive>
<ns:CanDepart>false</ns:CanDepart>
<ns:FromDate>2019-07-17T00:00:00</ns:FromDate>
<ns:ToDate>2019-07-19T00:00:00</ns:ToDate>
</ns:ArrivalAndDepartureDateRange>
<ns:ArrivalAndDepartureDateRange>
<ns:CanArrive>true</ns:CanArrive>
<ns:CanDepart>true</ns:CanDepart>
<ns:FromDate>2019-07-20T00:00:00</ns:FromDate>
<ns:ToDate>2019-07-31T00:00:00</ns:ToDate>
</ns:ArrivalAndDepartureDateRange>
</ns:ArrivalAndDepartureDateRanges>
<ns:RatePackageId>123456</ns:RatePackageId>
</ns:RatePackageArrivalAndDepartureInformation>
</ns:RatePackages>
</ns:request>
</ns:SaveArrivalAndDepartureRestrictions>
</soapenv:Body>
</soapenv:Envelope>
Method Parameters
Field | Data Type | Description |
request | SaveArrivalAndDepartureRestrictionsRequest |
SaveArrivalAndDepartureRestrictionsRequest
Field | Data Type | Description |
RatePackages | List of RatePackageArrivalAndDepartureDetail | |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
RatePackageArrivalAndDepartureDetail
Field | Data Type | Description |
RatePackageId | Int64 | Rate Package Id for which this Arrival and Departure detail is specified. |
ArrivalAndDepartureDateRanges | List of ArrivalAndDepartureDateRange | List of ArrivalAndDeparture date ranges |
Status | Boolean | Used during validation to respond if your supplied data is valid. Status of Rate Package Id. E.g True , False. Set to null when using this object for the Save message |
Message | String | This field only displays a message if the response has any validation errors for this Rate Package Id. Set to null when using this object for the Save message |
ArrivalAndDepartureDateRange
List of ArrivalAndDeparture date ranges
Field | Data Type | Description |
CanArrive | Boolean | true if the guest can arrive between the date range, false if not |
CanDepart | Boolean | true if the guest can depart between the date range, false if not |
FromDate | DateTime | The Start Date for the dates range (inclusive). Even though this is a DateTime, the Time portion should also be ignored. |
ToDate | DateTime | The End Date for the date range (inclusive). Even though this is a DateTime, the Time portion should also be ignored. |
TimeSpan
Field | Data Type | Description |
SaveArrivalAndDepartureRestrictionsResponse
Field | Data Type | Description |
Success | Boolean | |
Message | String | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
SaveDCOverride
SaveDCOverride Will place an overridden rate/stopsell for the channel.
SaveDCOverrideResponse SaveDCOverride(SaveDCOverrideRequest request)
Method Parameters
Field | Data Type | Description |
request | SaveDCOverrideRequest |
SaveDCOverrideRequest
Field | Data Type | Description |
DCOverrides | List of DCOverride | |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
DCOverride
Field | Data Type | Description |
RatePlanId | Int64 | Exactly the same as the RatePackageId field used in other messages |
DistributionChannelId | Int64 | The ID Of the Distribution Channel - Use the ContentService->GetStaticData message to get the list of valid ids to use. You should have a system in place to regularly refresh this list, as we are constantly adding new Channels. |
StartDate | DateTime | The Start Date for the override to be applied to. (Inclusive) |
EndDate | DateTime | The Ending Date for the Override to be applied to. (Inclusive) |
Rate | Decimal | (Optional) The Rate you want to set for the override. If you don't want to change the rate, leave this element out or use the nil="true" attribute of xml if your framework won't allow you to ommit this field. |
StopSell | Boolean | The Stopsell value you want for the override. Like the Rate Field, if you don't want to change the stopsell value, leave this element out or use the nul="true" attribute of xml if your framework won't allow you to ommit this field.. |
TimeSpan
Field | Data Type | Description |
SaveDCOverrideResponse
Field | Data Type | Description |
Success | Boolean | |
Message | String | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
UpdateEmailAddress
UpdateEmailAddress should be called if you want to alter the reservation contacts email address which is used when bookings are made or cancelled.
UpdateEmailAddressResponse UpdateEmailAddress(UpdateEmailAddressRequest request)
Method Parameters
Field | Data Type | Description |
request | UpdateEmailAddressRequest |
UpdateEmailAddressRequest
Field | Data Type | Description |
EmailAddress | String | The new Reservation Managers EmailAddress |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
TimeSpan
Field | Data Type | Description |
UpdateEmailAddressResponse
Field | Data Type | Description |
UpdateStatus | Boolean | |
Message | String | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
UpdateRatePackages
UpdateRatePackages will alter the availability, rates, stopsell, or inclusions for the supplied rate package and dates.
UpdateRatePackagesResponse UpdateRatePackages(UpdateRatePackagesRequest request)
Example
<soapenv:Header/>
<soapenv:Body>
<ns:UpdateRatePackages>
<ns:request>
<ns1:ChannelManagerUsername>asdf</ns1:ChannelManagerUsername>
<ns1:ChannelManagerPassword>asdf</ns1:ChannelManagerPassword>
<ns1:Username>293748234</ns1:Username>
<ns1:Password>kjsadfjkjs</ns1:Password>
<ns1:HotelId>123456</ns1:HotelId>
<ns:RatePackages>
<ns:UpdateRatePackageRequest>
<ns:RatePackageId>1123</ns:RatePackageId>
<ns:Rates>
<ns:RateDetails>
<ns:Availability>4</ns:Availability>
<ns:AvailabilityApplicationType>SET</ns:AvailabilityApplicationType>
<ns:FromDate>2013-05-14T00:00:00</ns:FromDate>
<ns:StopSell>false</ns:StopSell>
<ns:ToDate>2013-05-16T00:00:00</ns:ToDate>
</ns:RateDetails>
</ns:Rates>
</ns:UpdateRatePackageRequest>
</ns:RatePackages>
</ns:request>
</ns:UpdateRatePackages>
</soapenv:Body>
</soapenv:Envelope>
Method Parameters
Field | Data Type | Description |
request | UpdateRatePackagesRequest |
UpdateRatePackagesRequest
Field | Data Type | Description |
RatePackages | List of UpdateRatePackageRequest | Provide a List of RatePackage that you want to update |
ChannelManagerUsername | String | Channel Managers Username as supplied when the Channel Manager Agreement was made |
ChannelManagerPassword | String | Channel Managers password as supplied when the Channel Manager Agreement was made |
Username | String | Hotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel |
Password | String | Hotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel |
HotelId | Int64 | The HotelID that you want to work with. This software can access more than one hotel from the same username and password. |
HotelAuthenticationKey | String | Authentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password. |
UpdateRatePackageRequest
Provide a List of RatePackage that you want to update
Field | Data Type | Description |
RatePackageId | Int64 | The RatePackage ID you will be updating. |
Rates | List of RateDetails | The list of Modifications for this RatePackageId |
RatePackageName | String | Not Requred |
RoomId | Int64 | Not Requred |
RateDetails
The list of Modifications for this RatePackageId
Field | Data Type | Description |
Rate | Decimal | Optional Value, if you are not changing the Rate, then leave this out or set it to nil |
RateApplicationType | RateApplicationType | Optional Value, If you are changing the Rate, then set this to the appropriate RateApplicationType otherwise leave it out, or set it to nil |
Availability | Int32 | Optional Value, If you are changing the Availability, then set this to the appropriate value otherwise leave it out, or set it to nil |
AvailabilityApplicationType | AvailabilityApplicationType | Optional Value, If you are changing the Availability, then set this to the appropriate AvailabilityApplicationType otherwise leave it out, or set it to nil |
StopSell | Boolean | Optional Value, If you are changing the StopSell value, then set this to the appropriate value otherwise leave it out, or set it to nil |
Inclusions | String | Optional Value, set it, or leave it out or set to nil if you don't want to change it. |
MinimumNightStay | Int32 | Optional Value, set it, or leave it out or set to nil if you don't want to change it. |
FromDate | DateTime | The Start Date for the dates you want to alter (inclusive) |
ToDate | DateTime | The End Date for the dates you want to alter (inclusive) |
MaximumNightStay | Int32 | Optional Value for the maximum night a guest can stay to utilize this rate / date. If you need to remove the MaximumNight Setting, set this to 9999 and the API will remove it from the Database. |
CanArrive | Boolean | If true, travelers are allowed to arrive at the property between this date range. |
CanDepart | Boolean | If true, travelers are allowed to depart from the property between this date range. |
Derived | Boolean | Indicates if the rate has been derived |
RateApplicationType
Optional Value, If you are changing the Rate, then set this to the appropriate RateApplicationType otherwise leave it out, or set it to nil
Field | Data Type | Description |
SET | ||
INCREASE | ||
INCREASE_PERCENT | ||
DECREASE | ||
DECREASE_PERCENT |
AvailabilityApplicationType
Optional Value, If you are changing the Availability, then set this to the appropriate AvailabilityApplicationType otherwise leave it out, or set it to nil
Field | Data Type | Description |
SET | ||
INCREASE | ||
DECREASE |
TimeSpan
Field | Data Type | Description |
UpdateRatePackagesResponse
Field | Data Type | Description |
Results | List of UpdateRatePackageResult | |
Timestamp | DateTime | |
MessageId | String | |
HotelAuthenticationKey | String |
UpdateRatePackageResult
Field | Data Type | Description |
ErrorCode | String | |
Message | String | |
RatePackageId | Int64 | |
Success | Boolean |