workOrders

Create Project Work Order

Create a new work order in a project.

Notes:

  • templateId is required.
  • phaseInstanceId is optional; if provided the referenced phase must be started (active) for creation to succeed.
post/projects/{project_id}/work-orders

Request

  • Base URL: https://api.coperniq.io/v1
  • URL: https://api.coperniq.io/v1/projects/{project_id}/work-orders
  • Auth: API key in header x-api-key

Path parameters

project_idinteger required

Project identifier

Request body

templateIdinteger required

Template to use for the work order

phaseInstanceIdinteger

Optional. Phase instance id where the work order will be created (phase must be started). You can gather phase instance ids from the get project endpoint.

Response

Work order created successfully

idinteger

Created workflow element (task) identifier

createdAtstring date-time
updatedAtstring date-time
descriptionstring nullable
positioninteger

Position within phase

phaseInstanceIdinteger
projectIdinteger
createdByIdinteger

Changes

No recorded changes to this operation across all 1 revision of this API.