Skip to main content

Create or update a form

PUT 

/forms

Creates a new form under the given parent node from the referenced template (with its signals and a signal group) when the request has no id, otherwise updates the existing form's name, description and - with signalAssignments - where its time-series elements write into. Returns the resulting form.

Creating it decides where the values of the template's time-series elements (numeric and calculation fields with shouldCreateSignal) go: by default into a new signal named after the element under the new form, or - per entry of signalAssignments - into a new signal under another asset or with another name, or into an existing signal (HET-1959). An update reassigns the elements its entries name in the same way and leaves the others as they are (HET-2040). Every signal the form writes into belongs to its signal group.

Request​

Responses​

The updated or created form form