Space Docs
Domain Model

Work Order

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
ticketIdstringNo—ID of the associated ticket
numberintegerYes—Number
projectIdstringNo—ID of the associated project
pmScheduleIdstringNo—ID of the associated pm schedule
customerIdstringYes—ID of the associated customer
siteIdstringYes—ID of the associated site
workTypeenum(service_call, installation, inspection, preventive_maintenance, emergency, other)Yes—Work type
serviceTypeIdunknownNo—ID of the associated service type
dispatchStatusenum(unscheduled, scheduled, dispatched, en_route, on_site, completed, canceled)Yes—Dispatch status
scheduledStartstring.date-timeNo—Scheduled start
scheduledEndstring.date-timeNo—Scheduled end
technicianUserIdsstring[]No—Technician user ids
leadTechnicianUserIdunknownNo—ID of the associated lead technician user
billableStatusenum(not_billable, billable, invoiced)Yes—Billable status
laborStatusenum(not_started, in_progress, completed)Yes—Labor status
materialsStatusenum(none_needed, pending, fulfilled)Yes—Materials status
customerSignoffStatusenum(not_required, pending, signed, disputed)Yes—Customer signoff status
workSummarystringNo—Work summary
recommendedFollowupstringNo—Recommended followup
priorityunknownNo—Priority
estimatedLaborHoursunknownNo—Estimated labor hours
actualLaborHoursunknownNo—Actual labor hours
estimatedMaterialCostunknownNo—Estimated material cost
actualMaterialCostunknownNo—Actual material cost
actualLaborCostunknownNo—Actual labor cost
totalCostunknownNo—Total cost
laborEfficiencynumber,nullNo—Labor efficiency
costVariancenumber,nullNo—Cost variance
checkInAtunknownNo—Check in at
checkOutAtunknownNo—Check out at
gpsCheckInunknownNo—Gps check in
gpsCheckOutunknownNo—Gps check out
customerSignatureS3Keystring,nullNo—Customer signature s3key
customerSignatureNamestring,nullNo—Customer signature name
customerSignatureSignedAtunknownNo—Customer signature signed at
customerSignatureGpsunknownNo—Customer signature gps
customerSignatureIpstring,nullNo—Customer signature ip
completionNotesstring,nullNo—Completion notes
followUpRequiredboolean,nullNo—Follow up required
isRevisitboolean,nullNo—Is revisit
requiredSkillsunknownNo—Required skills
invoiceIdunknownNo—ID of the associated invoice
workspaceIdstringYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
ticketIdunknownNo—ID of the associated ticket
projectIdunknownNo—ID of the associated project
pmScheduleIdunknownNo—ID of the associated pm schedule
customerIdstringYes—ID of the associated customer
siteIdstringYes—ID of the associated site
workTypeenum(service_call, installation, inspection, preventive_maintenance, emergency, other)Yes—Work type
serviceTypeIdunknownNo—ID of the associated service type
dispatchStatusenum(unscheduled, scheduled, dispatched, en_route, on_site, completed, canceled)Yes"unscheduled"Dispatch status
scheduledStartunknownNo—Scheduled start
scheduledEndunknownNo—Scheduled end
technicianUserIdsstring[]No—Technician user ids
billableStatusenum(not_billable, billable, invoiced)Yes"not_billable"Billable status
laborStatusenum(not_started, in_progress, completed)Yes"not_started"Labor status
materialsStatusenum(none_needed, pending, fulfilled)Yes"none_needed"Materials status
customerSignoffStatusenum(not_required, pending, signed, disputed)Yes"not_required"Customer signoff status
workSummaryunknownNo—Work summary
recommendedFollowupunknownNo—Recommended followup
priorityunknownNo"medium"Priority
estimatedLaborHoursunknownNo—Estimated labor hours
estimatedMaterialCostunknownNo—Estimated material cost
checkInAtunknownNo—Check in at
checkOutAtunknownNo—Check out at
gpsCheckInobjectNo—Gps check in
gpsCheckOutobjectNo—Gps check out
completionNotesunknownNo—Completion notes
followUpRequiredbooleanYesfalseFollow up required
isRevisitbooleanYesfalseIs revisit
requiredSkillsstring[]No—Required skills
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
ticketIdunknownNo—ID of the associated ticket
projectIdunknownNo—ID of the associated project
pmScheduleIdunknownNo—ID of the associated pm schedule
customerIdstringNo—ID of the associated customer
siteIdstringNo—ID of the associated site
workTypeenum(service_call, installation, inspection, preventive_maintenance, emergency, other)No—Work type
serviceTypeIdunknownNo—ID of the associated service type
dispatchStatusenum(unscheduled, scheduled, dispatched, en_route, on_site, completed, canceled)No—Dispatch status
scheduledStartunknownNo—Scheduled start
scheduledEndunknownNo—Scheduled end
technicianUserIdsstring[]No—Technician user ids
billableStatusenum(not_billable, billable, invoiced)No—Billable status
laborStatusenum(not_started, in_progress, completed)No—Labor status
materialsStatusenum(none_needed, pending, fulfilled)No—Materials status
customerSignoffStatusenum(not_required, pending, signed, disputed)No—Customer signoff status
workSummaryunknownNo—Work summary
recommendedFollowupunknownNo—Recommended followup
priorityunknownNo—Priority
estimatedLaborHoursunknownNo—Estimated labor hours
estimatedMaterialCostunknownNo—Estimated material cost
checkInAtunknownNo—Check in at
checkOutAtunknownNo—Check out at
gpsCheckInobjectNo—Gps check in
gpsCheckOutobjectNo—Gps check out
completionNotesunknownNo—Completion notes
followUpRequiredbooleanNo—Follow up required
isRevisitbooleanNo—Is revisit
requiredSkillsstring[]No—Required skills
leadTechnicianUserIdunknownNo—ID of the associated lead technician user

On this page