GET api/v1/DepartmentShifts/{departmentId}/{hideRequestable}

Retrieves a list of Shifts for the supplied Department. Include or not include Shifts that the staff can request.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
departmentId

Id of the department. Use GET api/V1/department to retrieve a list of departments

integer

Required

hideRequestable

Do not include shifts that are marked as CanRequest

boolean

Required

Body Parameters

None.

Response Information

Resource Description

ApiResponseModelOfListOfDepartmentShiftFullModel
NameDescriptionTypeAdditional information
Data

ApiResponseDataModelOfListOfDepartmentShiftFullModel

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": [
      {
        "BreakMinutes": 1,
        "OffsetMinutes": 2,
        "TAPayCode": "sample string 3",
        "TAContractPayCode": "sample string 4",
        "SortOrder": 5,
        "Disabled": true,
        "Priority": 7,
        "AppChanged": "sample string 8",
        "UserChanged": "sample string 9",
        "Version": "QEA=",
        "Rowguid": "781b5ff1-c67c-4c21-bb6d-0e0d8d56a73e",
        "DateChanged": "2026-01-02T18:54:10.2489987-06:00",
        "FacilityId": 11,
        "DeptId": 12,
        "DeptShiftId": 13,
        "DeptShiftDescription": "sample string 14",
        "Code": "sample string 15",
        "EndTime": "2026-01-02T18:54:10.2489987-06:00",
        "StartTime": "2026-01-02T18:54:10.2489987-06:00",
        "ProductiveId": 18,
        "CountTypeId": 19,
        "CanRequest": true,
        "KronosPayCode": "sample string 21",
        "KronosContractPayCode": "sample string 22",
        "EffectiveDate": "2026-01-02T18:54:10.2489987-06:00",
        "ExpireDate": "2026-01-02T18:54:10.2489987-06:00",
        "IsSystem": true
      },
      {
        "BreakMinutes": 1,
        "OffsetMinutes": 2,
        "TAPayCode": "sample string 3",
        "TAContractPayCode": "sample string 4",
        "SortOrder": 5,
        "Disabled": true,
        "Priority": 7,
        "AppChanged": "sample string 8",
        "UserChanged": "sample string 9",
        "Version": "QEA=",
        "Rowguid": "781b5ff1-c67c-4c21-bb6d-0e0d8d56a73e",
        "DateChanged": "2026-01-02T18:54:10.2489987-06:00",
        "FacilityId": 11,
        "DeptId": 12,
        "DeptShiftId": 13,
        "DeptShiftDescription": "sample string 14",
        "Code": "sample string 15",
        "EndTime": "2026-01-02T18:54:10.2489987-06:00",
        "StartTime": "2026-01-02T18:54:10.2489987-06:00",
        "ProductiveId": 18,
        "CountTypeId": 19,
        "CanRequest": true,
        "KronosPayCode": "sample string 21",
        "KronosContractPayCode": "sample string 22",
        "EffectiveDate": "2026-01-02T18:54:10.2489987-06:00",
        "ExpireDate": "2026-01-02T18:54:10.2489987-06:00",
        "IsSystem": true
      }
    ]
  },
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Warnings": [
    "sample string 1",
    "sample string 2"
  ]
}