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

Parameters: get_work_order
NameTypeDescription
property_id string required string Property id from list_properties.
number integer required integer Work order number as shown in ResMan.

Request

cURL
curl "https://cotlet.dev/api/v1/resman/properties/property_8c41d2/work-order?number=1" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("resman", "get_work_order", {"property_id":"property_8c41d2","number":1})
Node.js
const result = await cotlet.call('resman', 'get_work_order', {"property_id":"property_8c41d2","number":1});
CLI
cotlet call resman get_work_order --data '{"property_id":"property_8c41d2","number":1}'

Example response

JSON

{
  "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": []
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.