Space Docs
Domain Model

Schedule Visit

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workspaceIdstring.uuidYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode
workOrderIdstring.uuidYes—ID of the associated work order
ticketIdunknownNo—ID of the associated ticket
projectIdunknownNo—ID of the associated project
siteIdstring.uuidYes—ID of the associated site
assignedTechnicianIdstring.uuidYes—ID of the associated assigned technician
additionalTechnicianIdsunknownNo—Additional technician ids
statusenum(scheduled, en_route, in_progress, completed, canceled, no_show)Yes—Status
visitTypeenum(service_call, installation, inspection, pm_visit, follow_up, survey)Yes—Visit type
scheduledStartstring.date-timeYes—Scheduled start
scheduledEndstring.date-timeYes—Scheduled end
estimatedDurationMinutesnumber,nullNo—Estimated duration minutes
actualDurationMinutesnumber,nullNo—Actual duration minutes
travelTimeMinutesnumber,nullNo—Travel time minutes
sequencenumberYes—Sequence
notesstring,nullNo—Notes
dispatcherNotesstring,nullNo—Dispatcher notes
departedAtunknownNo—Departed at
arrivedAtunknownNo—Arrived at
completedAtunknownNo—Completed at
checkInLatitudenumber,nullNo—Check in latitude
checkInLongitudenumber,nullNo—Check in longitude
signatureDatastring,nullNo—Signature data
signedByNamestring,nullNo—Signed by name
signedByTitlestring,nullNo—Signed by title
signedAtunknownNo—Signed at
signatureS3Keystring,nullNo—Signature s3key
googleCalendarEventIdstring,nullNo—ID of the associated google calendar event
cancelReasonstring,nullNo—Cancel reason
createdByIdunknownNo—ID of the associated created by

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstring.uuidNo—ID of the associated workspace
workOrderIdstring.uuidYes—ID of the associated work order
ticketIdunknownNo—ID of the associated ticket
siteIdstring.uuidYes—ID of the associated site
assignedTechnicianIdstring.uuidYes—ID of the associated assigned technician
additionalTechnicianIdsstring[]No—Additional technician ids
visitTypeenum(service_call, installation, inspection, pm_visit, follow_up, survey)Yes—Visit type
scheduledStartstring.date-timeYes—Scheduled start
scheduledEndstring.date-timeYes—Scheduled end
estimatedDurationMinutesintegerNo—Estimated duration minutes
sequenceintegerYes1Sequence
notesstringNo—Notes
dispatcherNotesstringNo—Dispatcher notes

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
assignedTechnicianIdstring.uuidNo—ID of the associated assigned technician
additionalTechnicianIdsstring[]No—Additional technician ids
visitTypeenum(service_call, installation, inspection, pm_visit, follow_up, survey)No—Visit type
scheduledStartstring.date-timeNo—Scheduled start
scheduledEndstring.date-timeNo—Scheduled end
estimatedDurationMinutesunknownNo—Estimated duration minutes
notesstring,nullNo—Notes
dispatcherNotesstring,nullNo—Dispatcher notes

On this page