curl --request PUT \
--url http://localhost:3000/v1/scheduling/shifts/{id} \
--header 'Content-Type: application/json' \
--data '
{
"employeeId": 123,
"date": "<string>",
"startHour": 11,
"startMinute": 29,
"endHour": 11,
"endMinute": 29,
"area": "<string>",
"publish": true
}
'{
"success": true,
"message": "<string>",
"shift": {
"id": 123,
"employeeId": 123,
"startTime": "<string>",
"endTime": "<string>"
}
}Update an existing shift (Roster) in Deputy.
curl --request PUT \
--url http://localhost:3000/v1/scheduling/shifts/{id} \
--header 'Content-Type: application/json' \
--data '
{
"employeeId": 123,
"date": "<string>",
"startHour": 11,
"startMinute": 29,
"endHour": 11,
"endMinute": 29,
"area": "<string>",
"publish": true
}
'{
"success": true,
"message": "<string>",
"shift": {
"id": 123,
"employeeId": 123,
"startTime": "<string>",
"endTime": "<string>"
}
}Shift (Roster) ID in Deputy
12345
Update shift body
Deputy employee ID
Shift date (YYYY-MM-DD)
Start hour (0-23)
0 <= x <= 23Start minute (0-59)
0 <= x <= 59End hour (0-23)
0 <= x <= 23End minute (0-59)
0 <= x <= 59Operational unit name
Publish shift