---
title: "List static rules"
method: GET
path: "/v2/forecasts/static-rules"
tags: ["Forecast Static Rules"]
---

# List static rules

`GET /v2/forecasts/static-rules`

## Query parameters

- `externalUnitId` string, required
- `externalSectionId` string
- `page` integer
- `size` integer

## Response `200`

Success

- ForecastDataIngestionPaginatedResultListExternalStaticRule
  - `result` ForecastDataIngestionExternalStaticRule[]
    - `weekdays` integer[], required
    - `repeatPeriod` integer, required
    - `shiftType` ForecastDataIngestionExternalShiftType, required
      - `externalShiftTypeId` string, required
      - `amount` integer, required
    - `startTime` string, required
    - `endTime` string, required
    - `startDate` string, date, required
    - `endDate` string, date
    - `comment` string
  - `pagination` ForecastDataIngestionPagination
    - `totalCount` integer
    - `currentPage` integer
    - `totalPages` integer

## Other responses

- `403` — Forbidden to perform this action

---

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