|
2 | 2 | "swagger": "2.0", |
3 | 3 | "info": { |
4 | 4 | "title": "OPERA Cloud Distribution Shop", |
5 | | - "description": "Oracle Hospitality Distribution Shop is for distribution partners to find properties availability, room-rates offers for a single property or a specific room-rate offer detail.<br /><br /> Compatible with OPERA Cloud release 24.2.0.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>", |
6 | | - "version": "24.2.0", |
| 5 | + "description": "Oracle Hospitality Distribution Shop is for distribution partners to find properties availability, room-rates offers for a single property or a specific room-rate offer detail.<br /><br /> Compatible with OPERA Cloud release 24.3.0.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2024 Oracle and/or its affiliates.</p>", |
| 6 | + "version": "24.3.0", |
7 | 7 | "contact": { |
8 | 8 | |
9 | 9 | }, |
|
983 | 983 | "RatePlanCodeMatchOnly": { |
984 | 984 | "name": "ratePlanCodeMatchOnly", |
985 | 985 | "in": "query", |
986 | | - "description": "If true, only requested rate plan code will be shown, otherwise all avalable public rate plan codes will be shown along with requested rate plan code.", |
| 986 | + "description": "If true, only rate plan code specified, otherwise public rate plan codes too", |
987 | 987 | "type": "boolean", |
988 | 988 | "default": false, |
989 | 989 | "required": false, |
|
1524 | 1524 | "availability": { |
1525 | 1525 | "$ref": "#/definitions/HotelAvailabilityStatus" |
1526 | 1526 | }, |
| 1527 | + "restrictions": { |
| 1528 | + "description": "List of restrictions for property, only populated when no rate plan codes are given in request", |
| 1529 | + "type": "array", |
| 1530 | + "items": { |
| 1531 | + "$ref": "#/definitions/Restriction" |
| 1532 | + } |
| 1533 | + }, |
1527 | 1534 | "roomTypes": { |
1528 | 1535 | "description": "List of the room types selected during the request including room type information, availability status of the room type, and room amenities.", |
1529 | 1536 | "type": "array", |
|
1704 | 1711 | } |
1705 | 1712 | ] |
1706 | 1713 | }, |
| 1714 | + "Restriction": { |
| 1715 | + "type": "object", |
| 1716 | + "description": "Holds restriction information that is restricting offer from being available", |
| 1717 | + "properties": { |
| 1718 | + "restrictionType": { |
| 1719 | + "type": "string", |
| 1720 | + "description": "Type of restriction. <p> Closed: The offer is not restricted to be available. </p> <p> ClosedForArrival: Offer is not available with arrival date with this restriction. </p> <p> ClosedForDeparture: Offer is not available with departure date with this restriction. </p> <p> MinimumStayThrough: Offer duration falls in to this restriction date is not available if minimum number of nights less than set restriction nights. Example if minimum stay through is 2, the offer is not available for less than 2 nights stay. </p> <p> MaximumStayThrough: MaximumStayThrough: Offer duration falls in to this restriction date is not available if maximum number of nights are greater than set restriction nights. Example if maximum stay through is 10, the offer is not available for greater than 10 nights stay. </p> <p> MinimumAdvancedBooking: Offer is not available if arrival date and booking date window is less than this restriction setting. </p> <p> MaximumAdvancedBooking: Offer is not available if arrival date and booking date window is greater than this restriction setting. </p> <p> LOSNotAvailable: If the offer arrival date has this restriction, the offer is available for the duration where length of stay is not restricted. Example if length of stay not available set to Open, close, close, open, open, close, open. Offer arrival date with this restriction is available for number of nights, 1, 4,5, 7, and onwards.</p>", |
| 1721 | + "enum": [ |
| 1722 | + "Closed", |
| 1723 | + "ClosedForArrival", |
| 1724 | + "ClosedForDeparture", |
| 1725 | + "MinimumStayThrough", |
| 1726 | + "MaximumStayThrough", |
| 1727 | + "MinimumLengthOfStay", |
| 1728 | + "MaximumLengthOfStay", |
| 1729 | + "MinimumAdvancedBooking", |
| 1730 | + "MaximumAdvancedBooking", |
| 1731 | + "LOSNotAvailable" |
| 1732 | + ] |
| 1733 | + }, |
| 1734 | + "restrictionValue": { |
| 1735 | + "type": "integer", |
| 1736 | + "description": "The specific number of days for the selected restriction. This field applies to restriction type MinimumStayThrough, MaximumStayThrough, MinimumLengthOfStay, MaximumLengthOfStay, MinimumAdvancedBooking, and MaximumAdvancedBooking only.", |
| 1737 | + "example": 10 |
| 1738 | + } |
| 1739 | + } |
| 1740 | + }, |
1707 | 1741 | "PropertyOffersRoomType": { |
1708 | 1742 | "type": "object", |
| 1743 | + "description": "Room Type information", |
1709 | 1744 | "properties": { |
1710 | 1745 | "availabilityStatus": { |
1711 | 1746 | "type": "object", |
|
1892 | 1927 | "items": { |
1893 | 1928 | "$ref": "#/definitions/PromotionCodeItem" |
1894 | 1929 | } |
| 1930 | + }, |
| 1931 | + "restrictions": { |
| 1932 | + "description": "List of restrictions for rate plan, only populated when rate plan codes are given in request", |
| 1933 | + "type": "array", |
| 1934 | + "items": { |
| 1935 | + "$ref": "#/definitions/Restriction" |
| 1936 | + } |
1895 | 1937 | } |
1896 | 1938 | } |
1897 | 1939 | }, |
|
0 commit comments