Update the retrieval configuration of several OPC-UA variables at once
POST/opc-ua/nodes/updates
Sets the active flag, the retrieval method and the retrieval interval for a selection of browsed OPC-UA variables (HET-1968). Unlike the single update, every field is optional: a field that is absent stays as it is on each variable, because the selected variables differ and "activate all of them" must not also force one method onto every one. Answers per variable with what was changed and what was refused, and why. Each variable is checked for the state it would end up in - an activation needs a metric and a retrieval method, a PULL variable a usable interval (the given one, or the stored one when none is given) - and stored on its own, so one refusal leaves the rest of the selection untouched. POST rather than PUT because the request names its targets in the body and answers per variable.
Request
Responses
- 200
- 400
- 401
- 403
- default
What was changed and what was refused. An unknown id is a refusal rather than a 404, since the rest of the selection is still worth changing.
No variable, more than 1000 variables, or none of the three fields to change.
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.
the default error response