ZRM Docs
Domain Model

Schedule Visit

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
workspaceIdstring.uuidYesID of the associated workspace
visibilityModeenum(global, workspace_local, shared)YesVisibility mode
workOrderIdstring.uuidYesID of the associated work order
ticketIdunknownNoID of the associated ticket
siteIdstring.uuidYesID of the associated site
assignedTechnicianIdstring.uuidYesID of the associated assigned technician
additionalTechnicianIdsunknownNoAdditional technician ids
statusenum(scheduled, en_route, in_progress, completed, canceled, no_show)YesStatus
visitTypeenum(service_call, installation, inspection, pm_visit, follow_up, survey)YesVisit type
scheduledStartstring.date-timeYesScheduled start
scheduledEndstring.date-timeYesScheduled end
estimatedDurationMinutesunknownNoEstimated duration minutes
actualDurationMinutesunknownNoActual duration minutes
travelTimeMinutesunknownNoTravel time minutes
sequencenumberYesSequence
notesunknownNoNotes
dispatcherNotesunknownNoDispatcher notes
departedAtunknownNoDeparted at
arrivedAtunknownNoArrived at
completedAtunknownNoCompleted at
checkInLatitudeunknownNoCheck in latitude
checkInLongitudeunknownNoCheck in longitude
signatureDataunknownNoSignature data
signedByNameunknownNoSigned by name
signedByTitleunknownNoSigned by title
signedAtunknownNoSigned at
signatureS3KeyunknownNoSignature s3key
googleCalendarEventIdunknownNoID of the associated google calendar event
cancelReasonunknownNoCancel reason
createdByIdunknownNoID of the associated created by

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstring.uuidNoID of the associated workspace
workOrderIdstring.uuidYesID of the associated work order
ticketIdunknownNoID of the associated ticket
siteIdstring.uuidYesID of the associated site
assignedTechnicianIdstring.uuidYesID of the associated assigned technician
additionalTechnicianIdsstring[]NoAdditional technician ids
visitTypeenum(service_call, installation, inspection, pm_visit, follow_up, survey)YesVisit type
scheduledStartstring.date-timeYesScheduled start
scheduledEndstring.date-timeYesScheduled end
estimatedDurationMinutesintegerNoEstimated duration minutes
sequenceintegerYes1Sequence
notesstringNoNotes
dispatcherNotesstringNoDispatcher notes

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
assignedTechnicianIdstring.uuidNoID of the associated assigned technician
additionalTechnicianIdsstring[]NoAdditional technician ids
visitTypeenum(service_call, installation, inspection, pm_visit, follow_up, survey)NoVisit type
scheduledStartstring.date-timeNoScheduled start
scheduledEndstring.date-timeNoScheduled end
estimatedDurationMinutesunknownNoEstimated duration minutes
notesunknownNoNotes
dispatcherNotesunknownNoDispatcher notes

On this page