---
title: "POST /api/v1/Viewer/Schedule"
method: POST
path: "/api/v1/Viewer/Schedule"
tags: ["Schedule"]
---

# POST /api/v1/Viewer/Schedule

`POST /api/v1/Viewer/Schedule`

## Request body

- GetSchedulesRequest
  - `Filter` FilterData2
    - `SearchString` string, nullable
    - `Destinations` string[], nullable
    - `ScheduleIds` string[], nullable
    - `StartTime` string, date-time, nullable
    - `EndTime` string, date-time, nullable
    - `ScheduleTypeFilter` ScheduleType[], nullable
  - `Sorting` SortData2
    - `SortBy` 0 | 1 | 2 | 3 | 4
    - `Descending` boolean
  - `Paging` PagingData2
    - `Start` integer, nullable
    - `Items` integer, nullable

## Response `200`

- GetSchedulesResult
  - `Succeeded` boolean
  - `Message` string, nullable
  - `Code` string, nullable
  - `Schedules` Schedule[], nullable
    - `Id` string, guid, nullable
    - `ScheduleItems` ScheduleItem[]
      - `Id` string, guid, nullable
      - `Name` string
      - `Start` string, date-time, required
      - `End` string, date-time, nullable
      - `StartTimeZone` string, nullable
      - `Recurrence` Recurrence
        - `Id` string, guid, nullable
        - `StartTime` string, duration, required
        - `EndTime` string, duration
        - `Offset` string, duration, nullable
        - `EndCount` integer, nullable
        - `RecurrenceType` string
        - `Interval` string, duration, nullable
        - `Duration` string, duration, nullable
        - `Pattern` unknown, required
        - `Exceptions` RecurrenceException[]
          - `Id` string, guid, nullable
          - `RecurrenceId` string, guid
          - `OriginalTime` string, date-time
          - `IsDeleted` boolean
          - `NewStart` string, duration, nullable
          - `NewEnd` string, duration, nullable
          - `NewStartTime` string, date-time, nullable
          - `NewEndTime` string, date-time, nullable
  - `TotalItems` integer

---

[API](https://skmtc.dev/pads4/apis/nds-services-authentication.md) · [All operations](https://skmtc.dev/pads4/apis/nds-services-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pads4/nds-services-authentication/revisions/e0bfd79e98ee/schema)
