GET api/v1/scheduleformats/GetSchedulePeriods/{departmentId}/{includeCurrentSchedulePeriod}/{numberofSchedules}

Get department schedule start and end dates.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
departmentId

Department Id

integer

Required

includeCurrentSchedulePeriod

include current schedule period

boolean

Required

numberofSchedules

Numberof Schedules after given date

integer

None.

Body Parameters

None.

Response Information

Resource Description

ApiResponseModelOfListOfDateTime
NameDescriptionTypeAdditional information
Data

ApiResponseDataModelOfListOfDateTime

None.

Errors

Collection of string

None.

Warnings

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "PageSize": 1,
    "Page": 2,
    "TotalPages": 3,
    "TotalResults": 4,
    "Results": [
      "2026-01-02T21:50:16.7965363-06:00",
      "2026-01-02T21:50:16.7965363-06:00"
    ]
  },
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Warnings": [
    "sample string 1",
    "sample string 2"
  ]
}