Availability

Returns availability and restrictions for the specified hotelier.

Availability by Hotel

Details

Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/availability
Sample Response:

[
    {
        "hotelCode": "sample",
        "bookingLimit": 10,
        "date": "2018-04-13",
        "ratePlanCode": "BAR",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Master",
        "status": "Open"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 4,
        "date": "2018-04-13",
        "ratePlanCode": "BAR",
        "roomTypeCode": "ETC",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Arrival",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 3,
        "date": "2018-04-13",
        "ratePlanCode": "BAR",
        "roomTypeCode": "PRES",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Departure",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 5,
        "date": "2018-04-13",
        "ratePlanCode": "BAR",
        "roomTypeCode": "SKW",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Master",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 20,
        "date": "2018-04-13",
        "ratePlanCode": "CORP1",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 14,
        "restriction": "Master",
        "status": "Open"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 10,
        "date": "2018-04-12",
        "ratePlanCode": "BAR",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Master",
        "status": "Open"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 4,
        "date": "2018-04-12",
        "ratePlanCode": "BAR",
        "roomTypeCode": "ETC",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Arrival",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 3,
        "date": "2018-04-12",
        "ratePlanCode": "BAR",
        "roomTypeCode": "PRES",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Departure",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 5,
        "date": "2018-04-12",
        "ratePlanCode": "BAR",
        "roomTypeCode": "SKW",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Master",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 20,
        "date": "2018-04-12",
        "ratePlanCode": "CORP1",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 14,
        "restriction": "Master",
        "status": "Open"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 10,
        "date": "2018-04-11",
        "ratePlanCode": "BAR",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Master",
        "status": "Open"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 4,
        "date": "2018-04-11",
        "ratePlanCode": "BAR",
        "roomTypeCode": "ETC",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Arrival",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 3,
        "date": "2018-04-11",
        "ratePlanCode": "BAR",
        "roomTypeCode": "PRES",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Departure",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 5,
        "date": "2018-04-11",
        "ratePlanCode": "BAR",
        "roomTypeCode": "SKW",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Master",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 20,
        "date": "2018-04-11",
        "ratePlanCode": "CORP1",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 14,
        "restriction": "Master",
        "status": "Open"
    }
]

Availability by Rate Plan Code

Details

Method: GET
Path /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}/availability
Sample Response:

[
    {
        "hotelCode": "sample",
        "bookingLimit": 20,
        "date": "2018-04-13",
        "ratePlanCode": "CORP1",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 14,
        "restriction": "Master",
        "status": "Open"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 20,
        "date": "2018-04-12",
        "ratePlanCode": "CORP1",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 14,
        "restriction": "Master",
        "status": "Open"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 20,
        "date": "2018-04-11",
        "ratePlanCode": "CORP1",
        "roomTypeCode": "EKC",
        "minLOS": 1,
        "maxLOS": 14,
        "restriction": "Master",
        "status": "Open"
    }
]

Availability by Room Type Code

Details

Method: GET
Path /publishers/{publisherCode}/hotels/{hotelCode}/roomTypes/{roomTypeCode}/availability
Sample Response:

[
    {
        "hotelCode": "sample",
        "bookingLimit": 3,
        "date": "2018-04-13",
        "ratePlanCode": "BAR",
        "roomTypeCode": "PRES",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Departure",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 3,
        "date": "2018-04-12",
        "ratePlanCode": "BAR",
        "roomTypeCode": "PRES",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Departure",
        "status": "Close"
    },
    {
        "hotelCode": "sample",
        "bookingLimit": 3,
        "date": "2018-04-11",
        "ratePlanCode": "BAR",
        "roomTypeCode": "PRES",
        "minLOS": 1,
        "maxLOS": 5,
        "restriction": "Departure",
        "status": "Close"
    }
]
Last Updated: 5/2/2019, 3:16:14 PM