Create Project Work Order

Create a new work order in a project. Notes: - `templateId` is required. - `phaseInstanceId` is optional, but if provided the referenced phase must be started (active) for creation to succeed.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

projectIdstringRequired
Project identifier

Request

This endpoint expects an object.
templateIdintegerRequired
Template to use for the work order
phaseInstanceIdintegerOptional

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 or null

Created workflow element (task) identifier

createdAtstring or nullformat: "date-time"
updatedAtstring or nullformat: "date-time"
descriptionstring or null
positioninteger or null
Position within phase
phaseInstanceIdinteger or null
projectIdinteger or null
createdByIdinteger or null

Errors