Revenue by Channel [GET]

Operation

This endpoint will give as a result the revenue produced by every channel for a given date

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


Request


PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
property identificator.
datedatefalsepath parameter

revenuePriceModelTypeIdIntegerfalserequest parameter11 GROSS
2 NET
3 MIX
chainProductGroupIdListList<Integer>falserequest parameter
1-Accommodation
2-Food & Beverage
3-Conventions
4-Others
sumAsAccommodationRevenueBooleanfalserequest parameter
Adds to the revenue the service-type products that they specify it add up in the room

Example request

GET https://publicapi-providers.ulysescloud.com/public/api/v1/con/chain/1/property/2/propertyManagement/revenueChannel?date=2020-01-01&chainProductGroupIdList=1,2,3


Response

Entity


FieldTypeRequiredDescription
channelChannel

revenueDayBigDecimal

quantityDayInteger

paxDayInteger

avgRevenueByQuantityDayBigDecimal

avgRevenueByPaxDayBigDecimal

previousYearRevenueDayBigDecimal

previousYearQuantityDayInteger

previousYearPaxDayInteger

previousYearAvgRevenueByQuantityDayBigDecimal

previousYearAvgRevenueByPaxDayBigDecimal

differencePreviousYearRevenueDayBigDecimal

differencePreviousYearQuantityDayInteger

differencePreviousYearPaxDayInteger

differencePreviousYearAvgRevenueByQuantityDayBigDecimal

differencePreviousYearAvgRevenueByPaxDayBigDecimal

budgetRevenueDayBigDecimal

budgetQuantityDayInteger

budgetPaxDayInteger

budgetAvgRevenueByQuantityDayBigDecimal

budgetAvgRevenueByPaxDayBigDecimal

differenceBudgetRevenueDayBigDecimal

differenceBudgetQuantityDayInteger

differenceBudgetPaxDayInteger

differenceBudgetAvgRevenueByQuantityDayBigDecimal

differenceBudgetAvgRevenueByPaxDayBigDecimal

revenueMonthBigDecimal

quantityMonthInteger

paxMonthInteger

avgRevenueByQuantityMonthBigDecimal

avgRevenueByPaxMonthBigDecimal

previousYearRevenueMonthBigDecimal

previousYearQuantityMonthInteger

previousYearPaxMonthInteger

previousYearAvgRevenueByQuantityMonthBigDecimal

previousYearAvgRevenueByPaxMonthBigDecimal

differencePreviousYearRevenueMonthBigDecimal

differencePreviousYearQuantityMonthInteger

differencePreviousYearPaxMonthInteger

differencePreviousYearAvgRevenueByQuantityMonthBigDecimal

differencePreviousYearAvgRevenueByPaxMonthBigDecimal

budgetRevenueMonthBigDecimal

budgetQuantityMonthInteger

budgetPaxMonthInteger

budgetAvgRevenueByQuantityMonthBigDecimal

budgetAvgRevenueByPaxMonthBigDecimal

differenceBudgetRevenueMonthBigDecimal

differenceBudgetQuantityMonthInteger

differenceBudgetPaxMonthInteger

differenceBudgetAvgRevenueByQuantityMonthBigDecimal

differenceBudgetAvgRevenueByPaxMonthBigDecimal

revenueYearBigDecimal

quantityYearInteger

paxYearInteger

avgRevenueByQuantityYearBigDecimal

avgRevenueByPaxYearBigDecimal

previousYearRevenueYearBigDecimal

previousYearQuantityYearInteger

previousYearPaxYearInteger

previousYearAvgRevenueByQuantityYearBigDecimal

previousYearAvgRevenueByPaxYearBigDecimal

differencePreviousYearRevenueYearBigDecimal

differencePreviousYearQuantityYearInteger

differencePreviousYearPaxYearInteger

differencePreviousYearAvgRevenueByQuantityYearBigDecimal

differencePreviousYearAvgRevenueByPaxYearBigDecimal

budgetRevenueYearBigDecimal

budgetQuantityYearInteger

budgetPaxYearInteger

budgetAvgRevenueByQuantityYearBigDecimal

budgetAvgRevenueByPaxYearBigDecimal

differenceBudgetRevenueYearBigDecimal

differenceBudgetQuantityYearInteger

differenceBudgetPaxYearInteger

differenceBudgetAvgRevenueByQuantityYearBigDecimal

differenceBudgetAvgRevenueByPaxYearBigDecimal

Example response

[
    {
        "channel": {
            "id": 1,
            "code": "CRS",
            "name": "Central ReservationSystem"
        },
        "revenueDay": 0.000000,
        "quantityDay": 0,
        "paxDay": 0,
        "avgRevenueByQuantityDay": 0.000000,
        "avgRevenueByPaxDay": 0.000000,
        "previousYearRevenueDay": 0.000000,
        "previousYearQuantityDay": 0,
        "previousYearPaxDay": 0,
        "previousYearAvgRevenueByQuantityDay": 0.000000,
        "previousYearAvgRevenueByPaxDay": 0.000000,
        "differencePreviousYearRevenueDay": 0.000000,
        "differencePreviousYearQuantityDay": 0,
        "differencePreviousYearPaxDay": 0,
        "differencePreviousYearAvgRevenueByQuantityDay": 0.000000,
        "differencePreviousYearAvgRevenueByPaxDay": 0.000000,
        "budgetRevenueDay": 0.000000,
        "budgetQuantityDay": 0,
        "budgetPaxDay": 0,
        "budgetAvgRevenueByQuantityDay": 0.000000,
        "budgetAvgRevenueByPaxDay": 0.000000,
        "differenceBudgetRevenueDay": 0.000000,
        "differenceBudgetQuantityDay": 0,
        "differenceBudgetPaxDay": 0,
        "differenceBudgetAvgRevenueByQuantityDay": 0.000000,
        "differenceBudgetAvgRevenueByPaxDay": 0.000000,
        "revenueMonth": 0.000000,
        "quantityMonth": 0,
        "paxMonth": 0,
        "avgRevenueByQuantityMonth": 0.000000,
        "avgRevenueByPaxMonth": 0.000000,
        "previousYearRevenueMonth": 0.000000,
        "previousYearQuantityMonth": 0,
        "previousYearPaxMonth": 0,
        "previousYearAvgRevenueByQuantityMonth": 0.000000,
        "previousYearAvgRevenueByPaxMonth": 0.000000,
        "differencePreviousYearRevenueMonth": 0.000000,
        "differencePreviousYearQuantityMonth": 0,
        "differencePreviousYearPaxMonth": 0,
        "differencePreviousYearAvgRevenueByQuantityMonth": 0.000000,
        "differencePreviousYearAvgRevenueByPaxMonth": 0.000000,
        "budgetRevenueMonth": 0.000000,
        "budgetQuantityMonth": 0,
        "budgetPaxMonth": 0,
        "budgetAvgRevenueByQuantityMonth": 0.000000,
        "budgetAvgRevenueByPaxMonth": 0.000000,
        "differenceBudgetRevenueMonth": 0.000000,
        "differenceBudgetQuantityMonth": 0,
        "differenceBudgetPaxMonth": 0,
        "differenceBudgetAvgRevenueByQuantityMonth": 0.000000,
        "differenceBudgetAvgRevenueByPaxMonth": 0.000000,
        "revenueYear": 0.000000,
        "quantityYear": 0,
        "paxYear": 0,
        "avgRevenueByQuantityYear": 0.000000,
        "avgRevenueByPaxYear": 0.000000,
        "previousYearRevenueYear": 0.000000,
        "previousYearQuantityYear": 0,
        "previousYearPaxYear": 0,
        "previousYearAvgRevenueByQuantityYear": 0.000000,
        "previousYearAvgRevenueByPaxYear": 0.000000,
        "differencePreviousYearRevenueYear": 0.000000,
        "differencePreviousYearQuantityYear": 0,
        "differencePreviousYearPaxYear": 0,
        "differencePreviousYearAvgRevenueByQuantityYear": 0.000000,
        "differencePreviousYearAvgRevenueByPaxYear": 0.000000,
        "budgetRevenueYear": 0.000000,
        "budgetQuantityYear": 0,
        "budgetPaxYear": 0,
        "budgetAvgRevenueByQuantityYear": 0.000000,
        "budgetAvgRevenueByPaxYear": 0.000000,
        "differenceBudgetRevenueYear": 0.000000,
        "differenceBudgetQuantityYear": 0,
        "differenceBudgetPaxYear": 0,
        "differenceBudgetAvgRevenueByQuantityYear": 0.000000,
        "differenceBudgetAvgRevenueByPaxYear": 0.000000
    }
...
]