Invoke

Initiates an action on a node.

Request examples

ORD for Driver Point:

{
     "requests": [{
     "message": "Invoke",
     "node": "slot:/NumericWritable",
     "action": "override",
     "parameter": {
       "duration": 3000,
       "value": 48
     }
  }]
}

Request elements

Request elements Value Description
message text Invoke
Node or node (required) ORD (defaults to a relative ORD slot, which is resolved against the config space to which the Px view is assigned) Defines the ORD to the desired slot.
action (required) text Defines the action to take.
Parameter (optional) parameter value This element is needed if the action takes a parameter and you want to change the default value(s). If the parameter is a simple type, you need only provide the simple value. If the parameter is a complex type, provide a map where you name each value with the slot name of the property.

Response examples

{ "responses" : [
{
  "message" : "Invoke",
  "node" : "slot:/Logic/Alarm",
  "action" : "override",
  "parameter" : {
      "duration" : 300000,
      "value" : 76
  }
}
]}

Response elements

Response Elements Value Description
message text Identifies the type of request being returned.
Node or node (required) ORD (defaults to a relative ORD slot, which is resolved against the config space to which the Px view is assigned) Defines the ORD to the desired slot.
action (required) text Defines the action to take.
Parameter (optional) parameter value This element is needed if the action takes a parameter and you want to change the default value(s). If the parameter is a simple type, you need only provide the simple value. If the parameter is a complex type, provide a map where you name each value with the slot name of the property.