Reservations
Get reservations pricing
Get a price quotation for a specific hotel, date interval, room category and person count.
Request
[ApiBaseUrl]/api/distributor/v1/reservations/getPricing
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Identification of the client as described in Authorization. |
| string | required | Unique identifier of the hotel. |
| string | required | Start date of the reservation, i.e. arrival date. |
| string | required | End date of the reservation, i.e. departure date. |
| string | optional | Voucher code enabling special rate offerings. |
| string | required | Identifier of the requested room category. |
| array of Occupancy | required | Occupancy numbers for the reservations. |
| array of string | optional | Unique identifiers of the requested products. |
| string | optional | Unique identifier of availability block if present. Provide always when you have it. |
Occupancy
Property | Type | Contract | Description |
---|---|---|---|
| array of OccupancyData | required | List of occupancy data. |
|
|
|
|
|
|
|
|
Response
Property | Type | Contract | Description |
---|---|---|---|
| array of Room occupancy availability | required | Pricing information. |
Get reservation price
Get a total price for the requested reservations.
Request
[ApiBaseUrl]/api/distributor/v1/reservations/price
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Identification of the client as described in Authorization. |
| string | required | Unique identifier of the Booking Engine configuration used. |
| string | optional | ISO 4217 code of the currency in which price will be calculated. Enterprise default currency code is used as default. Supported currency codes |
| array of Reservation | required | List of reservations. |
Reservation
Property | Type | Contract | Description |
---|---|---|---|
|
|
|
|
|
|
|
|
| string | required | Unique identifier for reservation generated on client. |
| string | required | Start date of the reservation, i.e. arrival date. |
| string | required | End date of the reservation, i.e. departure date. |
| array of string | optional | Unique identifiers of products which should be included into reservation price calculations. |
| string | optional | Voucher code applied to reservation |
| string | required | Identifier of the chosen rate. |
| string | required | Unique identifier of the room category. |
| array of OccupancyData | required | List of occupancy data. |
Occupancy Data
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Age category identifier. |
| number | required | Person count. |
Response
ReservationPrice
Property | Type | Contract | Description |
---|---|---|---|
| string | optional | Unique identifier for reservation provided in the request data. |
| optional | Amount that needs to be charged on payment gateway on reservationGroup confirmation. | |
| required | Total amount of the reservation. | |
| array of ProductOrderPricingInfo | required | List of product order prices assigned to the reservation. |
ProductOrderPricingInfo
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of product. |
| string | optional | Identifier of age category. |
|
|
| |
| optional | Product options. | |
|
|
|
|
| required | Total amount of product. |
ProductOptions
Property | Type | Contract | Description |
---|---|---|---|
| boolean | optional | If product was selected by default for reservation. |
| boolean | optional | Product is part of a package. |
| boolean | optional | Product is available in booking engine. |
| boolean | optional | Product was not available in booking engine, but it is counted in reservation total price ( eg. CityTax ). |
| boolean | optional | Product available in Mews Operations. |
Amount
Property | Type | Contract | Description |
---|---|---|---|
| string | required | ISO 4217 code of the currency. |
| number | required | Gross value of the amount. (Net + sum of |
| number | required | Net value of the amount. |
|
|
|
|
| array of Complete tax | required | List of complete taxes related to this amount. |
Complete tax
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of Tax Rate Code. |
| number | required | Net amount of product. |
| number | required | Tax amount of product ( Calculated from NetValue based on TaxRateCode ). |
Last updated