Get a work order
One work order in full, by its number.
GET https://cotlet.dev/api/v1/resman/properties/{property_id}/work-order
read
Returns everything list_work_orders does plus the impacted areas, the pets, the appointment, the notes and the attached documents. Documents come as names and ids, not as images.
Parameters
| Name | Type | Description |
|---|---|---|
| property_id string required | string | Property id from list_properties. |
| number integer required | integer | Work order number as shown in ResMan. |
Request
curl "https://cotlet.dev/api/v1/resman/properties/property_8c41d2/work-order?number=1" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("resman", "get_work_order", {"property_id":"property_8c41d2","number":1}) const result = await cotlet.call('resman', 'get_work_order', {"property_id":"property_8c41d2","number":1}); cotlet call resman get_work_order --data '{"property_id":"property_8c41d2","number":1}' Example response
{
"work_order_id": "8e2474f7-9c89-4092-9316-31d4f234b8d6",
"number": 1457,
"status": "Submitted",
"priority": "Medium",
"category": "Heating",
"location": {
"name": "214",
"type": "Unit"
},
"areas": [
"Bedroom 1"
],
"pets": [
"Cat"
],
"appointment": "Permission Given",
"description": "No heat in the bedroom",
"notes": "Resident home after 5 pm",
"reported_by": "Tomas Weber",
"assigned_to": null,
"documents": []
}