solarOSsolarOS Docs

List project-contained Work Orders

Lists public API Work Orders that are contained in Projects. Standalone internal auto-project fallback is not exposed. Supply externalSystem, externalObject, and externalId together to filter by a canonical External Reference. Required scope: work_orders:read.

GET
/work-orders

Lists public API Work Orders that are contained in Projects. Standalone internal auto-project fallback is not exposed. Supply externalSystem, externalObject, and externalId together to filter by a canonical External Reference. Required scope: work_orders:read.

Authorization

Authorization<token>

Organization API key. Format: Bearer sk_live_...

In: header

Query Parameters

limit?integer

Maximum records to return. Defaults to 50 and is capped at 100.

Range1 <= value <= 100
Default50
cursor?string

Opaque record cursor from the previous response meta.nextCursor value.

sortDir?string

Sort direction. Defaults to desc.

Default"desc"

Value in

  • "asc"
  • "desc"
projectId?string

Filter by containing Project id.

workTypeId?string

Filter by Work Type id.

status?string

Filter by Work Order status.

Value in

  • "NOT_READY_TO_SCHEDULE"
  • "READY_TO_SCHEDULE"
  • "SCHEDULED"
  • "IN_PROGRESS"
  • "COMPLETED"
  • "CANCELED"
externalSystem?string

External Reference system filter. Supply with externalObject and externalId for exact reconciliation lookup.

externalObject?string

External Reference object filter. Supply with externalSystem and externalId.

externalId?string

External Reference id filter. Supply with externalSystem and externalObject.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/work-orders"
{  "data": [    {}  ],  "meta": {    "nextCursor": "string",    "hasMore": true,    "requestId": "string",    "version": "v1",    "timestamp": "2019-08-24T14:15:22Z",    "rateLimit": {      "limit": 0,      "remaining": 0,      "reset": 0    }  }}