Creating an Ad hoc Shift
First lookup the Position ID.
Optional: if you’d like to assign an employee to the shift from the onset, look up and define the Employee ID
[POST] /shifts
{
"status": "ACTIVE",
"billable": true,
"payable": true,
"paidTimeOff": false,
"vacant": false,
"timeZone": "Europe/London",
"startDateTime": "2023-02-18T09:00:00+00:00",
"endDateTime": "2023-02-18T17:00:00+00:00",
"breakInMinutes": 15,
"published": true,
"employee": 1404,
"position": 382
}Results: