---
title: "Get all schedules."
method: GET
path: "/rateplan/v0-nsfw/schedules"
tags: ["Schedule"]
---

# Get all schedules.

`GET /rateplan/v0-nsfw/schedules`

## Request

- Base URL: `https://api.apaleo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.apaleo.com/rateplan/v0-nsfw/schedules`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `settings.read`, `setup.read`, `setup.manage`, `admin`

Get the list of schedules.<br>You must have at least one of these scopes: 'settings.read, setup.read, setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.schedules.read'.

## Query parameters

- `propertyId` string
- `from` string, date
- `to` string, date
- `pageNumber` integer
- `pageSize` integer

## Response `200`

Success.

- ScheduleListModel
  - `schedules` ScheduleItemModel[], required: List of schedules
    - `id` string, required: The schedule id
    - `code` string, required: The code for the schedule
    - `name` string, required: The name for the schedule
    - `propertyId` string, required: The id of the property where the schedule was created
    - `validFrom` string, date, required: The first arrival date the schedule applies to, inclusive, interpreted in the property time zone
    - `validTo` string, date, required: The last arrival date the schedule applies to, inclusive, interpreted in the property time zone
  - `count` integer, required: Total count of items

## Other responses

- `204`: No schedules could be found.
- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `422`: Validation errors in the request body or query params.
- `499`: Client closed request.
- `500`: An unexpected error occurred.
- `503`: The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work/revisions/97dec9512a17?raw)
