GET api/v1/assignments/shifts/{deptId}
Returns all shifts for the department
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| deptId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfListOfDepartmentShiftModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfDepartmentShiftModel |
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": [
{
"FacilityId": 1,
"DeptId": 2,
"DeptShiftId": 3,
"DeptShiftDescription": "sample string 4",
"Code": "sample string 5",
"EndTime": "2026-01-02T09:37:08.567976-06:00",
"StartTime": "2026-01-02T09:37:08.567976-06:00",
"ProductiveId": 8,
"CountTypeId": 9,
"CanRequest": true,
"KronosPayCode": "sample string 11",
"KronosContractPayCode": "sample string 12",
"EffectiveDate": "2026-01-02T09:37:08.567976-06:00",
"ExpireDate": "2026-01-02T09:37:08.567976-06:00",
"IsSystem": true
},
{
"FacilityId": 1,
"DeptId": 2,
"DeptShiftId": 3,
"DeptShiftDescription": "sample string 4",
"Code": "sample string 5",
"EndTime": "2026-01-02T09:37:08.567976-06:00",
"StartTime": "2026-01-02T09:37:08.567976-06:00",
"ProductiveId": 8,
"CountTypeId": 9,
"CanRequest": true,
"KronosPayCode": "sample string 11",
"KronosContractPayCode": "sample string 12",
"EffectiveDate": "2026-01-02T09:37:08.567976-06:00",
"ExpireDate": "2026-01-02T09:37:08.567976-06:00",
"IsSystem": true
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}