Get Venue Rate Plan Rate List

Get Venue Rate Plan Rate List

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

Get a list of menus.

Path Parameters

NameTypeDescription

venueId

integer

The id of the venue

barId

integer

The id of the rate plan

perPage

integer

The number of rate plan rates to get in a single call

{
    "meta": {
        "totalResults": 2,
        "start": 0,
        "perPage": 50,
        "count": 2
    },
    "results": [
        {
            "id": 1,
            "barId": 1,
            "startDate": "2019-08-08",
            "endDate": "2022-04-23",
            "minAcceptableRate": 10,
            "daysOfWeek": [
                0,
                1,
                2,
                3,
                4,
                5,
                6
            ]
        },
        {
            "id": 4,
            "barId": 1,
            "startDate": "2023-04-24",
            "endDate": "2023-04-28",
            "minAcceptableRate": 50,
            "daysOfWeek": [
                0,
                6
            ]
        }
    ]
}

The result from this call will be a collection of all the rates the user has access to. This call also accepts the pagination and filter properties.

Example Request

{
  "venueId": 1,
  "barId": 1
}

Rate Plan Rate

PropertyTypeDescription

id

integer

The unique id of the rate

barId

integer

The unique id of the rate plan

startDate

date

The start date of the rate

endDate

date

The end date of the rate

minAcceptableRate

integer

The minimum acceptable rate for room rate plan

daysOfWeek

array of Days

Days of the week where rate applies

Days of Week

  • 0 = Sunday

  • 1 = Monday

  • 2 = Tuesday

  • 3 = Wednesday

  • 4 = Thursday

  • 5 = Friday

  • 6 = Saturday

Last updated