Create Request Work Order

Create a new work order for a request. Notes: - `templateId` is required. - `phaseInstanceId` is optional. The phase does not need to be started to create a request work order.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

requestIdstringRequired
Request identifier

Request

This endpoint expects an object.
templateIdintegerRequired
The ID of the work order template to use
phaseInstanceIdintegerOptional
Optional. The ID of the phase instance to use. If provided, the phase does not need to be started to create a request work order. You can gather phase instance ids from the get request 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