Create Shift

This operation creates a shift according to the parameters provided.

Body Params
boolean

A Boolean indicator of whether or not the employee has been notified of the posted shift.

boolean

A Boolean indicator of whether or not the shift is locked.

shiftGroup
object

The object reference model which contains an ID and qualifier.

string

The version of the shift in date-time format.

boolean

A Boolean indicator of whether or not the shift is deleted.

boolean

A Boolean indicator of whether or not the notification to the employee of the posted shift is pending.

segments
array of objects

The list of segments of this shift ordered by start date and time.

segments
string

The inclusive end date and time of the shift in ISO_LOCAL_DATE format (YYYY-MM-DD).

boolean

A Boolean indicator of whether or not the shift was generated by the Scheduling engine.

relations
array of objects

The list of relations of the shift.

relations
string

The label of this shift.

commentNotes
array of objects

The list of IDs of commentNote objects attached to this shift.

commentNotes
int64

The version of this shift.

string

The inclusive start date and time of the shift in ISO_LOCAL_DATE format (YYYY-MM-DD).

position
object

The object reference model which contains an ID and qualifier.

employee
object

The object reference model which contains an ID and qualifier.

boolean
boolean

A Boolean indicator of whether or not the shift is open.

int64

The ID of the shift.

boolean

A Boolean indicator of whether or not a shift is self-service. This property is read only.

boolean

A Boolean indicator of whether or not the shift is posted.

Headers
string

The ID of the current business interaction.

Responses

400

Shift creation unsuccessful.

Language
URL
Choose an example:
application/json