GetExceptions

[POST] .../v1/workschedule/getexceptions

Returns work schedule exceptions. Use this method to read date-specific exceptions for one work schedule before replacing them through SetExceptions. The response returns WorkScheduleException rows with date, working-day flag, optional working interval, comment and last_update; the request body is required, schedule_id must be positive and the OpenAPI filters metadata exposes the supported schedule_id selector. The caller must have work schedule select permission 689. Missing body, invalid schedule_id, denied permission, missing schedule data and database errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
filters Array of Filter Optional Optional filters by fields available for this API method.

Filterable Fields

Field Type Description
schedule_id int Schedule ID.

Request Example

{
  "filters": [
    {
      "Field": "schedule_id",
      "Operator": "Equal",
      "Value": "14"
    }
  ]
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Array of WorkScheduleException Result array.

Response Example

{
  "ok": true,
  "result": [
    {
      "id": 3,
      "schedule_id": 14,
      "date": "2026-03-08",
      "is_working_day": false,
      "start_minute": null,
      "end_minute": null,
      "comment": "Public holiday",
      "last_update": 1772527200
    }
  ]
}