Add Shift
Creates a new shift in Deputy.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
number
Start time of the shift in unix timestamp format.
number
End time of the shift in unix timestamp format.
number
Id of the employee working the shift when the shift is filled.
boolean
Whether the shift should be published.
number
Number of minutes to include as a meal break.
number
The location or area id for the shift.
number
Whether to force overwrite with 0 or 1.
number
Whether the shift is open using 0 or 1.
string
Comment text on the shift.
number
Whether the employee's shift should be confirmed with 1 or 0.