GET api/v1/DepartmentShifts/GetStaffSplits/{departmentId}/{productiveId}/{date}/{startTime}/{endTime}
Gets a list of shifts staff can request by time range. Will include all shifts that fall in the range of the requested time. This is an asynchronous service.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| departmentId | integer |
Required |
|
| productiveId | integer |
Required |
|
| date | date |
Required |
|
| startTime | date |
Required |
|
| endTime | date |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfListOfDepatmentShiftSpitModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfDepatmentShiftSpitModel |
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": [
{
"DepartmentShiftId": 1,
"ShiftCode": "sample string 2",
"Description": "sample string 3",
"StartTime": "2026-01-02T21:51:24.6086781-06:00",
"EndTime": "2026-01-02T21:51:24.6086781-06:00"
},
{
"DepartmentShiftId": 1,
"ShiftCode": "sample string 2",
"Description": "sample string 3",
"StartTime": "2026-01-02T21:51:24.6086781-06:00",
"EndTime": "2026-01-02T21:51:24.6086781-06:00"
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}