Raise a work order from a violation
Creates a maintenance work order to put the violation right, copying the violation's property, unit and lease onto it. Returns the new work order, not the violation.
Authorization
AuthorizationstringrequiredPath parameters
violationIdstringrequiredThe association violation to act on. A Snowflake id sent as a decimal string.
Body
application/json
vendorIdstringThe vendor to assign the work to. Leave it out to create the work order unassigned.
permissionToEnterbooleanWhether the vendor may enter the unit without the tenant present.
Response
200 · The work order that was created.
idstringThe work order.
portfolioIdstringThe portfolio the work order belongs to.
propertyIdstringThe property the work order belongs to.
unitIdstringThe unit the work order is for. Absent when it is property-wide.
leaseIdstringThe lease the work order relates to. Absent when none.
vendorIdstringThe vendor assigned to do the work. Absent while unassigned.
chatIdstringThe one-to-one chat about this work order. Absent until one exists.
groupChatIdstringThe group chat about this work order. Absent until one exists.
assignedPropertyManagerIdstringThe property manager who owns the work order. Absent while unassigned.
referencestringShort human-facing reference for the work order.
maintenanceRequestIdstringThe maintenance request this came from. Absent when it was raised directly.
statusenum<string>Where the work order sits in its life cycle.
titlestringShort title of the work.
createdstring · date-timeWhen the work order was created, in the company's timezone.
updatedstring · date-timeWhen it was last changed, in the company's timezone. Absent when never changed.
dueDatestring · dateWhen the work is due. Absent when no date was set.
urgencyenum<string>How urgent the work is.
descriptionstringWhat needs doing. Generated as Work Order from association violation: followed by the violation's description.
internalDescriptionstringNote visible only to the management company. Absent when none was set.
permissionToEnterbooleanWhether the vendor may enter without the tenant present.
portfolioobjectThe portfolio the work order belongs to.
propertyobjectThe property the work order is against.
unitobjectThe unit the work order is against. Absent when it is property-wide.
leaseobjectThe lease the work order relates to. Absent when none.
vendorobjectThe vendor assigned to the work. Absent while unassigned.
maintenanceRequestobjectThe maintenance request this came from. Absent on a work order raised from a violation.
assignedPropertyManagerobjectThe property manager who owns the work order. Absent while unassigned.
billsobject[]Vendor bills raised against the work order.
filesobject[]Files attached to the work order.
chartOfAccountsobject[]Chart of accounts referenced by the work order's bills.
ownersobject[]Owners of the property, with their ownership share.
ownerApprovalLimitnumberSpend above which an owner must approve the work. Absent when no limit applies.
tenantsobject[]Tenants on the related lease.
401 · The access token is missing, expired, or not valid for this company.
404 · No association violation with that id exists in the caller's company.
The work order is always created with urgency medium and with a description built from the violation's own description. Change either afterwards through the work order endpoints.