Attendance > Shift > Creates

Subscription_type: attendance/shift/create

Payload

Callback payload

string
required

Unique identifier for the shift

string
required

Identifier for the employee assigned to the shift

string
required

Date of the shift

string
required

The business day this shift is attributed to; can differ from date for overnight shifts that cross midnight

string

Time when the employee clocked in

string

Time when the employee clocked out

string

Source of the clock-in time

string

Source of the clock-out time

string

Additional observations about the shift

string
enum

Type of location for the shift

Allowed:
string
enum

Which half of the day the shift covers when it is a half-day — beginning_of_day or end_of_day; null for full-day shifts

Allowed:
number

Latitude of the clock-in location

number

Longitude of the clock-in location

number

Accuracy of the clock-in location

number

Latitude of the clock-out location

number

Longitude of the clock-out location

number

Accuracy of the clock-out location

boolean

Whether the shift counts as worked (workable) time rather than a break

string
required

Timestamp when the shift record was created

string

Identifier for the location

string

Identifier for the break configuration

string
required

Identifier for the company

string
required

Timestamp when the shift record was updated

integer
required

Number in minutes of the shift

string

Clock in time with seconds

Response
200

Return a 200 status to indicate that the data was received successfully

LoadingLoading…