POST api/v1/DepartmentShifts/CopyTo/{facilityId}/{departmentId}/{departmentShiftId}
Copies the shift from the depatment to another department or another facility and department
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| facilityId |
Id of the facility to copy to. Use GET api/V1/facilities to retrieve a list of facilities |
integer |
Required |
| departmentId |
Id of the department to copy to. Use GET api/V1/department to retrieve a list of departments |
integer |
Required |
| departmentShiftId |
Id of the department shift being copied |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfDepartmentShiftModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfDepartmentShiftModel |
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-02T14:21:16.4315532-06:00",
"StartTime": "2026-01-02T14:21:16.4315532-06:00",
"ProductiveId": 8,
"CountTypeId": 9,
"CanRequest": true,
"KronosPayCode": "sample string 11",
"KronosContractPayCode": "sample string 12",
"EffectiveDate": "2026-01-02T14:21:16.4315532-06:00",
"ExpireDate": "2026-01-02T14:21:16.4315532-06:00",
"IsSystem": true
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}