---
title: "GET Rate Plan Calendar"
method: GET
path: "/rm-rate-plans-ext/ari-calendar/listing/{listingId}/ratePlan/{ratePlanId}"
tags: ["Open Api Ari Calendar v1"]
---

# GET Rate Plan Calendar

`GET /rm-rate-plans-ext/ari-calendar/listing/{listingId}/ratePlan/{ratePlanId}`

Retrieves the rate plan's rates, availability and inventory by calendar date.

## Path parameters

- `ratePlanId` unknown, required
- `listingId` unknown, required

## Query parameters

- `fromDate` string, date-time, required
- `toDate` string, date-time, required

## Response `200`

Success

- object
  - `ratePlan` object, required — rate plan id
    - `_id` string, required — id
    - `accountId` string, required — account id
    - `type` 'independent', required — type
    - `name` string, required — name
    - `description` string — description
    - `cancellationPolicy` 'strict' | 'strict_60' | 'strict_90' | 'super_strict' | 'moderate' | 'semi_moderate' | 'semi_flexible' | 'firm' | 'flex' | 'free', nullable — cancellationPolicy
    - `cancellationFee` string, nullable — cancellationFee
    - `mealPlans` number[] — mealPlans
    - `availabilityRules` object — availabilityRules
      - `advanceNotice` number — advance notice
      - `bookingWindow` number — booking window
      - `dateRange` object — date range
        - `to` string, date-time, required — to date
        - `from` string, date-time, required — from date
        - `repeatedDays` object, required — repeated days
          - `0` object, required
            - `available` boolean, required
          - `1` object, required
            - `available` boolean, required
          - `2` object, required
            - `available` boolean, required
          - `3` object, required
            - `available` boolean, required
          - `4` object, required
            - `available` boolean, required
          - `5` object, required
            - `available` boolean, required
          - `6` object, required
            - `available` boolean, required
      - `restrictedDates` string[] — restricted dates
    - `pricingModel` 'nightly_rate', required — pricingModel
    - `channelSync` string[] — channelSync
    - `active` boolean, required — is active
    - `createdAt` string, date-time, required — createdAt
    - `updatedAt` string, date-time, required — updatedAt
  - `days` object[], required — calendar days
    - `date` object, required — day date
    - `price` object, required — day price
    - `minNights` number — day min nights
    - `maxNights` number — day max nights
    - `cta` boolean — cta
    - `ctd` boolean — ctd
    - `allotment` number — allotment
    - `closed` boolean — is day closed
    - `createdAt` string, date-time — cteated at
    - `updatedAt` string, date-time — udated at
  - `listingId` string, required — listing id
  - `requestId` string, required — request id

## Other responses

- `401` — Client unauthorized
- `403` — Access is forbidden for this client
- `500` — Internal server error

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/revisions/7c62644070f2/schema)
