Get a recurring work order
Fetches one recurring work order — the schedule itself, not the work orders it has raised. Requires the work_orders:read permission.
Authorization
AuthorizationstringrequiredPath parameters
recurringWorkOrderIdstringrequiredThe recurring work order to act on. A Snowflake id, sent as a decimal string.
Response
200 · The recurring work order.
idstringrequiredThe recurring work order.
portfolioIdstringrequiredThe portfolio the property sits in. Worked out from the property, not sent by you.
propertyIdstringrequiredThe property the work is on.
unitIdstringThe unit the work is on. Absent when the schedule covers the whole property.
leaseIdstringThe lease the work is tied to. Absent when it is not tied to one.
vendorobjectThe vendor the generated work orders go to, in the same shape as Get a vendor. Absent when no vendor is set.
locationobjectWhere the work happens, looked up from the property and unit at read time.
assignedPropertyManagerIdstringThe property manager put on each generated work order. Absent when nobody is assigned.
titlestringThe title each generated work order gets. MagicDoor writes one from the description when you do not supply it.
descriptionstringrequiredWhat the recurring job is.
internalDescriptionstringNotes for staff only, never shown to the tenant or the vendor. Absent when there are none.
urgencyenum<string>requiredThe urgency each generated work order gets.
permissionToEnterbooleanrequiredWhether someone may enter the unit when the tenant is not home.
frequencyenum<string>requiredHow often the job repeats, before interval is applied.
intervalintegerrequiredHow many of those periods sit between occurrences. 2 with weekly means every other week.
weekdaysenum<string>[]requiredWhich days of the week an occurrence falls on. Only used by a weekly schedule; an empty array otherwise.
workSessionTemplatesobject[]requiredThe visits booked into each occurrence. An empty array means the generated work order carries a due date but no booked visit.
startsFromstring · daterequiredThe date the first occurrence falls on. MagicDoor moves the date you sent forward to the first date the pattern actually allows, so this can differ from what you sent.
endsOnstring · dateThe date the schedule stops. Absent when it runs forever.
nextDueDatestring · daterequiredThe date of the next occurrence still to be raised.
lastCreatedOnstring · date-timeWhen a work order was last raised from this schedule, in the company's timezone and without an offset. Absent when none has been.
activebooleanrequiredWhether the schedule is still raising work orders.
createdstring · date-timerequiredWhen the schedule was set up, in the company's timezone and without an offset.