Create Work Order Form

Create a new form instance on a work order. Notes: - `templateId` is required. - The form is created using its template's name. `name` is not accepted here — use `PATCH /forms/{form_id}` to rename it afterward. - A work order already sits in a phase, so `phaseInstanceId` is not accepted on this endpoint — the form inherits placement via its parent element instance.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

work_order_idintegerRequired
Work order identifier

Request

This endpoint expects an object.
templateIdintegerRequired
Template to use for the form

Response

Form created successfully
idintegerOptional
Created form identifier
templateIdintegerOptional
workOrderIdintegerOptional
projectIdintegerOptional
phaseInstanceIdintegerOptional
phaseTemplateIdintegerOptional
typestringOptional
statusstringOptional
namestringOptional
createdAtstringOptionalformat: "date-time"
updatedAtstringOptionalformat: "date-time"

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error