Get Booking Accommodation List

Get Booking Accommodation List

POST [PlatformAddress]/api/1.0/venue?action=getBookingAccommodationList

Get a list of booking accommodation (i.e. groups) for a specific venue booking.

Request Body

NameTypeDescription

venueId

integer

The unique id of the venue to which the bookings belong

bookingId

integer

The unique id of the booking to which the accommodation belongs

{
    "meta": {
        "totalResults": 5,
        "start": 0,
        "perPage": 5,
        "count": 5
    },
    "results": [{
        "id": 1432,
        "venueId": 178,
        "bookingId": 4304,
        "roomVenueId": 178,
        "barId": null,
        "roomId": 76,
        "startDate": "2018-08-27",
        "endDate": "2018-08-31",
        "overrideCapacity": true,
        "costcenterId": 1376,
        "includeInPackage": false,
        "cutOffDate": "2018-08-15",
        "dayRatesActual": [
            {
                "bookingDate": "2018-08-27",
                "numRooms": 11,
                "cost": 180,
                "discount": 10,
                "numPayableByGuest": 11
            },
            {
                "bookingDate": "2018-08-28",
                "numRooms": 12,
                "cost": 190,
                "discount": 10,
                "numPayableByGuest": 12
            },
            {
                "bookingDate": "2018-08-29",
                "numRooms": 13,
                "cost": 175,
                "discount": 10,
                "numPayableByGuest": 13
            },
            {
                "bookingDate": "2018-08-30",
                "numRooms": 14,
                "cost": 210,
                "discount": 10,
                "numPayableByGuest": 14
            }
        ],
        "dayRates": [
            {
                "bookingDate": "2018-08-27",
                "numRooms": 11,
                "cost": 180,
                "discount": 10,
                "numPayableByGuest": 11,
                "numFreeRooms": 1
            },
            {
                "bookingDate": "2018-08-28",
                "numRooms": 12,
                "cost": 190,
                "discount": 10,
                "numPayableByGuest": 12,
                "numFreeRooms": 1
            },
            {
                "bookingDate": "2018-08-29",
                "numRooms": 13,
                "cost": 175,
                "discount": 10,
                "numPayableByGuest": 13,
                "numFreeRooms": 1
            },
            {
                "bookingDate": "2018-08-30",
                "numRooms": 14,
                "cost": 210,
                "discount": 10,
                "numPayableByGuest": 14,
                "numFreeRooms": 1
            }
        ],
        "dayRatesNet": [
            {
                "bookingDate": "2018-08-27",
                "numRooms": 11,
                "cost": 180,
                "discount": 10,
                "numPayableByGuest": 11
            },
            {
                "bookingDate": "2018-08-28",
                "numRooms": 12,
                "cost": 190,
                "discount": 10,
                "numPayableByGuest": 12
            },
            {
                "bookingDate": "2018-08-29",
                "numRooms": 13,
                "cost": 175,
                "discount": 10,
                "numPayableByGuest": 13
            },
            {
                "bookingDate": "2018-08-30",
                "numRooms": 14,
                "cost": 210,
                "discount": 10,
                "numPayableByGuest": 14
            }
        ],
        "dayRatesForecast": [
            {
                "bookingDate": "2018-08-27",
                "numRooms": 11,
                "cost": 180,
                "discount": 10,
                "numPayableByGuest": 11
            },
            {
                "bookingDate": "2018-08-28",
                "numRooms": 12,
                "cost": 190,
                "discount": 10,
                "numPayableByGuest": 12
            },
            {
                "bookingDate": "2018-08-29",
                "numRooms": 13,
                "cost": 175,
                "discount": 10,
                "numPayableByGuest": 13
            },
            {
                "bookingDate": "2018-08-30",
                "numRooms": 14,
                "cost": 210,
                "discount": 10,
                "numPayableByGuest": 14
            }
        ],
        "excludedTaxIds": [],
        "roomOptions": [
            {
                "bookingDate": "2018-08-27",
                "roomOptionId": 35,
                "numRooms": 11,
                "priceType": 1,
                "numOptions": 1,
                "numOptionsPerRoom": 1,
                "price": 65,
                "discount": 10,
                "excludedTaxIds": [],
                "totalAmount": 715,
                "totalDiscount": 10,
                "totalTaxAmount": 65.01,
                "costcenterId": 1377,
                "numPayableByGuest": 11
            },
            {
                "bookingDate": "2018-08-30",
                "roomOptionId": 36,
                "numRooms": 10,
                "priceType": 1,
                "numOptions": 1,
                "numOptionsPerRoom": 1,
                "price": 80,
                "discount": 10,
                "excludedTaxIds": [],
                "totalAmount": 800,
                "totalDiscount": 10,
                "totalTaxAmount": 72.7,
                "costcenterId": 1377,
                "numPayableByGuest": 10
            }
        ],
        "createdDate": "2018-08-22 06:43:24 UTC",
        "modifiedDate": "2018-08-22 06:43:24 UTC"
    }]
}

The result from this call will be a collection of booking accomodation records the user has access to. This call returns all accommodation records for a specific venue booking - it does not accept pagination or filter properties.

Booking Accommodation (Group)

PropertyTypeDescription

id

integer

The unique id of the booking accommodation

venueId

integer

The unique id of the venue to which the booking belongs

bookingId

integer

The unique id of the booking to which the accommodation group belongs

roomVenueId

integer

The unique id of the venue to which the rate plan (barId) and room type (roomId) belong (can be different to venueId)

barId

integer

The unique id of the rate plan assigned to the accommodation group

roomId

integer

The unique id of the room type assigned to the accommodation group

startDate

date

The arrival date of the accommodation group

endDate

date

The departure date of the accommodation group

overrideCapacity

boolean

Whether or not the accommodation group can exceed the general room availability

costcenterId

integer

The unique id of the cost center assigned to the accommodation group

includeInPackage

boolean

Whether or not the accommodation is included in booking package

cutOffDate

date

The date after which changes to the accommodation group are not allowed

dayRatesActual

The daily actual rates of the accommodation group

dayRatesForecast

The daily forecast rates of the accommodation group

dayRatesNet

array of Day Rates Net

The daily net rates of the accommodation group

dayRates

array of Day Rates

The daily rates of the accommodation group

dayRatesActualMultiOcc

The daily actual rates for different occupancies of the accommodation group (Only available when feature enabled in venue)

dayRatesForecastMultiOcc

The daily forecast rates for different occupancies of the accommodation group (Only available when feature enabled in venue)

dayRatesNetMultiOcc

array of Day Rates Net

The daily net rates for different occupancies of the accommodation group (Only available when feature enabled in venue)

dayRatesMultiOcc

array of Day Rates

The daily rates for different occupancies of the accommodation group (Only available when feature enabled in venue)

excludedTaxIds

array of integers

The unique ids of the taxes that are excluded from the daily rates

roomOptions

array of Room Options

The additional room options of the accommodation group

createdDate

datetime

The date & time the accommodation group was created

modifiedDate

datetime

The date & time the acommodation group was last modified

Booking Accommodation Day Rates Actual

PropertyTypeDescription

bookingDate

date

The actual date of the accommodation group to which the rate applies

numRooms

integer

The actual number of rooms booked on bookingDate

cost

number

The rate actual amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The actual amount of discount

numPayableByGuest

integer

The actual number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

Booking Accommodation Day Rates Forecast

PropertyTypeDescription

bookingDate

date

The forecast date of the accommodation group to which the rate applies

numRooms

integer

The forecast number of rooms booked on bookingDate

cost

number

The rate forecast amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The forecast amount of discount

numPayableByGuest

integer

The forecast number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

Booking Accommodation Day Rates Net

PropertyTypeDescription

bookingDate

date

The date of the accommodation group to which the rate applies

numRooms

integer

The number of rooms booked on bookingDate

cost

number

The rate amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The amount of discount

numPayableByGuest

integer

The number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

Booking Accommodation Day Rates

PropertyTypeDescription

bookingDate

date

The date of the accommodation group to which the rate applies

numRooms

integer

The number of rooms booked on bookingDate

cost

number

The rate amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The amount of discount

numPayableByGuest

integer

The number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

numFreeRooms

integer

The number of complimentary (free) rooms on bookingDate. This number is included in numRooms

Booking Accommodation Day Rates Actual Multi Occupancy

PropertyTypeDescription

bookingDate

date

The actual date of the accommodation group to which the rate applies

numRooms

integer

The actual number of rooms booked on bookingDate

cost

number

The rate actual amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The actual amount of discount

numPayableByGuest

integer

The actual number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

occType

integer

The occupancy type of daily rate. See Occupancy Type

Booking Accommodation Day Rates Forecast Multi Occupancy

PropertyTypeDescription

bookingDate

date

The forecast date of the accommodation group to which the rate applies

numRooms

integer

The forecast number of rooms booked on bookingDate

cost

number

The rate forecast amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The forecast amount of discount

numPayableByGuest

integer

The forecast number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

occType

integer

The occupancy type of daily rate. See Occupancy Type

Booking Accommodation Day Rates Net Multi Occupancy

PropertyTypeDescription

bookingDate

date

The date of the accommodation group to which the rate applies

numRooms

integer

The number of rooms booked on bookingDate

cost

number

The rate amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The amount of discount

numPayableByGuest

integer

The number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

occType

integer

The occupancy type of daily rate. See Occupancy Type

Booking Accommodation Day Rates Multi Occupancy

PropertyTypeDescription

bookingDate

date

The date of the accommodation group to which the rate applies

numRooms

integer

The number of rooms booked on bookingDate

cost

number

The rate amount for the room on bookingDate. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The amount of discount

numPayableByGuest

integer

The number of rooms on bookingDate that are payable by guests (as opposed to the master account of the booking)

numFreeRooms

integer

The number of complimentary (free) rooms on bookingDate. This number is included in numRooms

occType

integer

The occupancy type of daily rate. See Occupancy Type

Booking Accommodation Room Option

PropertyTypeDescription

bookingDate

date

The date of the accommodation group to which the additional option applies

roomOptionId

integer

The unique id of the room option added on bookingDate

numRooms

integer

The number of rooms on bookingDate to which the room option applies

priceType

integer

The price type of the room option. See Room Option

numOptions

integer

The number options added to each room / guest on bookingDate

numOptionsPerRoom

integer

The number options added to each room (numRooms) on bookingDate

price

number

The price of the additional option. The amount either includes or excludes tax depending on how the venue is configured

discount

number

The amount of discount on price

excludedTaxIds

array of integers

The unique ids of the taxes that are excluded from price

totalAmount

number

The total value of the additional option on this date, including all applicable taxes

totalDiscount

number

The amount of total discount of option on this date

totalTaxAmount

number

The total tax amount included in totalAmount

costcenterId

integer

The unique id of the cost center assigned to the additional option

numPayableByGuest

integer

The number of additional options on bookingDate that are payable by guests (as opposed to the master account of the booking)

Last updated