Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

This endpoint will give as a result the booking forecast for a given date compared against the same day the previous year

Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}

Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET

Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/propertyManagement/bookingForecast

Request

Property

Type

Required

Type parameter

Default value

Description

chainId

Integer

true

path parameter

Unique identificator of the chain.

propertyId

Integer

true

path parameter

property identificator.

date

date

false

path parameter

revenuePriceModelTypeId

Boolean

false

request parameter

1 GROSS
2 NET
3 MIX

Example request

Code Block
languagepowershell
themeDJango
GET https://publicapi-providers.ulysescloud.com/public/api/v1/con/chain/1/property/2/propertyManagement/bookingForecast?date=2020-01-01&revenuePriceModelTypeId=1

Response

Entity

Insert excerpt
ManagementBookingForecastModel
ManagementBookingForecastModel
nopaneltrue

Example response

Code Block
themeDJango
[[
{
        "chainRoomType": {
            "chainRoomTypeid": {1,
            "code": "SGL",
            "name": "Single",
            "description": null,
            "chainRoomTypeGroupId": 12,
            "order": 1
        },
        "combined": null,
        "physicalRoomDay": 0,
        "outOfOrderDay": 0,
        "arrivalDay": 0,
        "departureDay": 0,
        "reservedDay": 0,
        "availableDay": 0,
        "noShowDay": 0,
        "noShowArrivalDay": 0,
        "reservedHouseUseDay": 0,
        "arrivalAdultDay": 0,
        "departureAdultDay": 0,
        "reservedAdultDay": 0,
        "noShowAdultDay": 0,
        "reservedHouseUseAdultDay": 0,
        "revenueAmountBeforeTaxDay": 0.000000,
        "occupancyPercentageDay": 0.000000,
        "adrDay": 0.000000,
        "revparDay": 0.000000,
        "previousYearPhysicalRoomDay": 0,
        "previousYearOutOfOrderDay": 0,
        "previousYearArrivalDay": 0,
        "previousYearDepartureDay": 0,
        "previousYearReservedDay": 0,
        "previousYearAvailableDay": 0,
        "previousYearNoShowDay": 0,
        "previousYearNoShowArrivalDay": 0,
        "previousYearReservedHouseUseDay": 0,
        "previousYearArrivalAdultDay": 0,
        "previousYearDepartureAdultDay": 0,
        "previousYearReservedAdultDay": 0,
        "previousYearNoShowAdultDay": 0,
        "previousYearReservedHouseUseAdultDay": 0,
        "previousYearRevenueAmountBeforeTaxDay": 0.000000,
        "previousYearOccupancyPercentageDay": 0.000000,
        "previousYearAdrDay": 0.000000,
        "previousYearRevparDay": 0.000000,
        "differencePreviousYearPhysicalRoomDay": 0,
        "differencePreviousYearOutOfOrderDay": 0,
        "differencePreviousYearArrivalDay": 0,
        "differencePreviousYearDepartureDay": 0,
        "differencePreviousYearReservedDay": 0,
        "differencePreviousYearAvailableDay": 0,
        "differencePreviousYearNoShowDay": 0,
        "differencePreviousYearNoShowArrivalDay": 0,
        "differencePreviousYearReservedHouseUseDay": 0,
        "differencePreviousYearArrivalAdultDay": 0,
        "differencePreviousYearDepartureAdultDay": 0,
        "differencePreviousYearReservedAdultDay": 0,
        "differencePreviousYearNoShowAdultDay": 0,
        "differencePreviousYearReservedHouseUseAdultDay": 0,
        "differencePreviousYearRevenueAmountBeforeTaxDay": 0.000000,
        "differencePreviousYearOccupancyPercentageDay": 0.000000,
        "differencePreviousYearAdrDay": 0.000000,
        "differencePreviousYearRevparDay": 0.000000,
        "physicalRoomMonth": 0,
        "outOfOrderMonth": 0,
        "arrivalMonth": 0,
        "departureMonth": 0,
        "reservedMonth": 0,
        "availableMonth": 0,
        "noShowMonth": 0,
        "noShowArrivalMonth": 0,
        "reservedHouseUseMonth": 0,
        "arrivalAdultMonth": 0,
        "departureAdultMonth": 0,
        "reservedAdultMonth": 0,
        "noShowAdultMonth": 0,
        "reservedHouseUseAdultMonth": 0,
        "revenueAmountBeforeTaxMonth": 0.000000,
        "occupancyPercentageMonth": 0.000000,
        "adrMonth": 0.000000,
        "revparMonth": 0.000000,
        "previousYearPhysicalRoomMonth": 0,
        "previousYearOutOfOrderMonth": 0,
        "previousYearArrivalMonth": 0,
        "previousYearDepartureMonth": 0,
        "previousYearReservedMonth": 0,
        "previousYearAvailableMonth": 0,
        "previousYearNoShowMonth": 0,
        "previousYearNoShowArrivalMonth": 0,
        "previousYearReservedHouseUseMonth": 0,
        "previousYearArrivalAdultMonth": 0,
        "previousYearDepartureAdultMonth": 0,
        "previousYearReservedAdultMonth": 0,
        "previousYearNoShowAdultMonth": 0,
        "previousYearReservedHouseUseAdultMonth": 0,
        "previousYearRevenueAmountBeforeTaxMonth": 0.000000,
        "previousYearOccupancyPercentageMonth": 0.000000,
        "previousYearAdrMonth": 0.000000,
        "previousYearRevparMonth": 0.000000,
        "differencePreviousYearPhysicalRoomMonth": 0,
        "differencePreviousYearOutOfOrderMonth": 0,
        "differencePreviousYearArrivalMonth": 0,
        "differencePreviousYearDepartureMonth": 0,
        "differencePreviousYearReservedMonth": 0,
        "differencePreviousYearAvailableMonth": 0,
        "differencePreviousYearNoShowMonth": 0,
        "differencePreviousYearNoShowArrivalMonth": 0,
        "differencePreviousYearReservedHouseUseMonth": 0,
        "differencePreviousYearArrivalAdultMonth": 0,
        "differencePreviousYearDepartureAdultMonth": 0,
        "differencePreviousYearReservedAdultMonth": 0,
        "differencePreviousYearNoShowAdultMonth": 0,
        "differencePreviousYearReservedHouseUseAdultMonth": 0,
        "differencePreviousYearRevenueAmountBeforeTaxMonth": 0.000000,
        "differencePreviousYearOccupancyPercentageMonth": 0.000000,
        "differencePreviousYearAdrMonth": 0.000000,
        "differencePreviousYearRevparMonth": 0.000000,
        "physicalRoomYear": 0,
        "outOfOrderYear": 0,
        "arrivalYear": 0,
        "departureYear": 0,
        "reservedYear": 0,
        "availableYear": 0,
        "noShowYear": 0,
        "noShowArrivalYear": 0,
        "reservedHouseUseYear": 0,
        "arrivalAdultYear": 0,
        "departureAdultYear": 0,
        "reservedAdultYear": 0,
        "noShowAdultYear": 0,
        "reservedHouseUseAdultYear": 0,
        "revenueAmountBeforeTaxYear": 0.000000,
        "occupancyPercentageYear": 0.000000,
        "adrYear": 0.000000,
        "revparYear": 0.000000,
        "previousYearPhysicalRoomYear": 0,
        "previousYearOutOfOrderYear": 0,
        "previousYearArrivalYear": 0,
        "previousYearDepartureYear": 0,
        "previousYearReservedYear": 0,
        "previousYearAvailableYear": 0,
        "previousYearNoShowYear": 0,
        "previousYearNoShowArrivalYear": 0,
        "previousYearReservedHouseUseYear": 0,
        "previousYearArrivalAdultYear": 0,
        "previousYearDepartureAdultYear": 0,
        "previousYearReservedAdultYear": 0,
        "previousYearNoShowAdultYear": 0,
        "previousYearReservedHouseUseAdultYear": 0,
        "previousYearRevenueAmountBeforeTaxYear": 0.000000,
        "previousYearOccupancyPercentageYear": 0.000000,
        "previousYearAdrYear": 0.000000,
        "previousYearRevparYear": 0.000000,
        "differencePreviousYearPhysicalRoomYear": 0,
        "differencePreviousYearOutOfOrderYear": 0,
        "differencePreviousYearArrivalYear": 0,
        "differencePreviousYearDepartureYear": 0,
        "differencePreviousYearReservedYear": 0,
        "differencePreviousYearAvailableYear": 0,
        "differencePreviousYearNoShowYear": 0,
        "differencePreviousYearNoShowArrivalYear": 0,
        "differencePreviousYearReservedHouseUseYear": 0,
        "differencePreviousYearArrivalAdultYear": 0,
        "differencePreviousYearDepartureAdultYear": 0,
        "differencePreviousYearReservedAdultYear": 0,
        "differencePreviousYearNoShowAdultYear": 0,
        "differencePreviousYearReservedHouseUseAdultYear": 0,
        "differencePreviousYearRevenueAmountBeforeTaxYear": 0.000000,
        "differencePreviousYearOccupancyPercentageYear": 0.000000,
        "differencePreviousYearAdrYear": 0.000000,
        "differencePreviousYearRevparYear": 0.000000
    },
...
]