Space Docs
Domain Model

Time Entry

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workOrderIdstringYes—ID of the associated work order
userIdstringYes—ID of the associated user
laborCodeenum(standard, overtime, travel, emergency, warranty)Yes—Labor code
entryTypeenum(clock, manual, auto_tracked)Yes—Entry type
startTimestring.date-timeYes—Start time
endTimestring.date-timeNo—End time
durationMinutesintegerNo—Duration minutes
billableFlagbooleanYes—Billable flag
payrollFlagbooleanYes—Payroll flag
notesstringNo—Notes
gpsClockInunknownNo—Gps clock in
gpsClockOutunknownNo—Gps clock out
workspaceIdstringYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workOrderIdstringYes—ID of the associated work order
userIdstringYes—ID of the associated user
laborCodeenum(standard, overtime, travel, emergency, warranty)Yes"standard"Labor code
entryTypeenum(clock, manual, auto_tracked)Yes"manual"Entry type
startTimestring.date-timeYes—Start time
endTimestring.date-timeNo—End time
durationMinutesintegerNo—Duration minutes
billableFlagbooleanYestrueBillable flag
payrollFlagbooleanYestruePayroll flag
notesstringNo—Notes
gpsClockInobjectNo—Gps clock in
gpsClockOutobjectNo—Gps clock out
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
workOrderIdstringNo—ID of the associated work order
userIdstringNo—ID of the associated user
laborCodeenum(standard, overtime, travel, emergency, warranty)No—Labor code
entryTypeenum(clock, manual, auto_tracked)No—Entry type
startTimestring.date-timeNo—Start time
endTimestring.date-timeNo—End time
durationMinutesintegerNo—Duration minutes
billableFlagbooleanNo—Billable flag
payrollFlagbooleanNo—Payroll flag
notesstringNo—Notes
gpsClockInobjectNo—Gps clock in
gpsClockOutobjectNo—Gps clock out

On this page