Skip to main content

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​

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.