CreateWorkOrderRequest
| Field | Type | Description |
|---|---|---|
portfolio_id | string | |
location_data_field_id | string | ID of a populated portfolio location DataField. |
title | string | |
description | string | |
tasks | repeated CreateWorkOrderTaskInput |
Required scope: work_order:create
locationDataFieldId must identify a populated location field on the target
portfolio. Use ListDataFields to discover location field IDs. Template,
workflow, advanced-task, and order-relinking controls are intentionally omitted.
POST /public-api/publicapi.v1.WorkOrder/CreateWorkOrder Creates a manual portfolio work order. This operation is not idempotent.
| Field | Type | Description |
|---|---|---|
portfolio_id | string | |
location_data_field_id | string | ID of a populated portfolio location DataField. |
title | string | |
description | string | |
tasks | repeated CreateWorkOrderTaskInput |
| Field | Type |
|---|---|
work_order | WorkOrder |
{ "portfolioId": "<portfolio-id>", "locationDataFieldId": "<location-data-field-id>", "title": "Install battery", "description": "Customer confirmed access", "tasks": [{ "body": "Mount enclosure" }]}This operation is not idempotent. Do not blindly retry after a timeout.