Create or update a form input
PUT/form-inputs
Upserts a form input with its per-element values and comments. When the saved status is PUBLISHED the numeric and calculation field values are written as time-series data points for the form, and the comments of the input's previous publishing are replaced by the ones sent - linked to this input, so a comment of another input or one set in a plot at the same time is left alone (HET-1973). Status RECALLED withdraws the release so that the values can be adjusted: the data points are rolled back out of the time series - where a signal held a value at that time before, that value is back - and the comments are deleted, until the input is published again (HET-2053).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- default
The updated or created form input
the default error response
Unauthorized — the bearer token is missing, expired or invalid, or carries no role. Errors raised by the security aspects contain an ErrorDto body; requests rejected by the security filter chain may have an empty body.
Forbidden — the authenticated user lacks the required role or access rights.
Entity not found.
Publishing refused: another entry of the same form already has values in the time series at this measurement time - a published one, or one recalled before recalling took the values out (HET-2053), which keeps them at the time it was published even if it has been moved since. The two would write the same time-series points (HET-1973). An entry that itself has values at that time passes (re-publishing).
the default error response