ZRM Docs
Domain Model

Work Order

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
ticketIdstringNoID of the associated ticket
projectIdstringNoID of the associated project
pmScheduleIdstringNoID of the associated pm schedule
customerIdstringYesID of the associated customer
siteIdstringYesID of the associated site
workTypeenum(service_call, installation, inspection, preventive_maintenance, emergency, other)YesWork type
dispatchStatusenum(unscheduled, scheduled, dispatched, en_route, on_site, completed, canceled)YesDispatch status
scheduledStartstring.date-timeNoScheduled start
scheduledEndstring.date-timeNoScheduled end
technicianUserIdsstring[]NoTechnician user ids
billableStatusenum(not_billable, billable, invoiced)YesBillable status
laborStatusenum(not_started, in_progress, completed)YesLabor status
materialsStatusenum(none_needed, pending, fulfilled)YesMaterials status
customerSignoffStatusenum(not_required, pending, signed, disputed)YesCustomer signoff status
workSummarystringNoWork summary
recommendedFollowupstringNoRecommended followup
priorityunknownNoPriority
estimatedLaborHoursunknownNoEstimated labor hours
actualLaborHoursunknownNoActual labor hours
estimatedMaterialCostunknownNoEstimated material cost
actualMaterialCostunknownNoActual material cost
actualLaborCostunknownNoActual labor cost
totalCostunknownNoTotal cost
laborEfficiencyunknownNoLabor efficiency
costVarianceunknownNoCost variance
checkInAtunknownNoCheck in at
checkOutAtunknownNoCheck out at
gpsCheckInunknownNoGps check in
gpsCheckOutunknownNoGps check out
completionNotesunknownNoCompletion notes
followUpRequiredunknownNoFollow up required
isRevisitunknownNoIs revisit
requiredSkillsunknownNoRequired skills
invoiceIdunknownNoID of the associated invoice
workspaceIdstringYesID of the associated workspace
visibilityModeenum(global, workspace_local, shared)YesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
ticketIdstringNoID of the associated ticket
projectIdstringNoID of the associated project
pmScheduleIdstringNoID of the associated pm schedule
customerIdstringYesID of the associated customer
siteIdstringYesID of the associated site
workTypeenum(service_call, installation, inspection, preventive_maintenance, emergency, other)YesWork type
dispatchStatusenum(unscheduled, scheduled, dispatched, en_route, on_site, completed, canceled)Yes"unscheduled"Dispatch status
scheduledStartstring.date-timeNoScheduled start
scheduledEndstring.date-timeNoScheduled end
technicianUserIdsstring[]NoTechnician 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
workSummarystringNoWork summary
recommendedFollowupstringNoRecommended followup
priorityenum(low, medium, high, critical)No"medium"Priority
estimatedLaborHoursnumberNoEstimated labor hours
estimatedMaterialCostnumberNoEstimated material cost
checkInAtstring.date-timeNoCheck in at
checkOutAtstring.date-timeNoCheck out at
gpsCheckInobjectNoGps check in
gpsCheckOutobjectNoGps check out
completionNotesstringNoCompletion notes
followUpRequiredbooleanYesfalseFollow up required
isRevisitbooleanYesfalseIs revisit
requiredSkillsstring[]NoRequired skills
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
ticketIdstringNoID of the associated ticket
projectIdstringNoID of the associated project
pmScheduleIdstringNoID of the associated pm schedule
customerIdstringNoID of the associated customer
siteIdstringNoID of the associated site
workTypeenum(service_call, installation, inspection, preventive_maintenance, emergency, other)NoWork type
dispatchStatusenum(unscheduled, scheduled, dispatched, en_route, on_site, completed, canceled)No"unscheduled"Dispatch status
scheduledStartstring.date-timeNoScheduled start
scheduledEndstring.date-timeNoScheduled end
technicianUserIdsstring[]NoTechnician user ids
billableStatusenum(not_billable, billable, invoiced)No"not_billable"Billable status
laborStatusenum(not_started, in_progress, completed)No"not_started"Labor status
materialsStatusenum(none_needed, pending, fulfilled)No"none_needed"Materials status
customerSignoffStatusenum(not_required, pending, signed, disputed)No"not_required"Customer signoff status
workSummarystringNoWork summary
recommendedFollowupstringNoRecommended followup
priorityenum(low, medium, high, critical)No"medium"Priority
estimatedLaborHoursnumberNoEstimated labor hours
estimatedMaterialCostnumberNoEstimated material cost
checkInAtstring.date-timeNoCheck in at
checkOutAtstring.date-timeNoCheck out at
gpsCheckInobjectNoGps check in
gpsCheckOutobjectNoGps check out
completionNotesstringNoCompletion notes
followUpRequiredbooleanNofalseFollow up required
isRevisitbooleanNofalseIs revisit
requiredSkillsstring[]NoRequired skills

On this page