The "describeOutputs" action returns all available information about each specified output. Outputs deliver tags from the server to external systems.
Note A tag is a piece of named data with an associated value. For example, the tag
temperature 70includes both the named data temperature and the value70. In JSON, a tag is a JSON property, such as"temperature": 70. In a SQL table, a tag is a data field, such as a field named temperature with a value of70.
Request examples
Minimal
{
"apiVersion": "1.0",
"requestId": "optionalUniquerequestIdFromTheClient",
"action": "describeOutputs",
"params": {
"outputNames": [ "AcmefactoryLine1Station1AcidbathTelemetryOutput" ]
},
"authToken": "replaceWithAuthTokenFromCreateSession"
}
Response examples
Minimal
{
"result": {
"data": []
},
"requestId": "00000006",
"errorCode": 0,
"errorMessage": ""
}
Properties
Request properties ("params")
| Property | Description | Default | Type | Limits (inclusive) |
|---|---|---|---|---|
outputNames |
The |
Optional with default of []
|
array |
1 or more strings |
Response properties ("result")
| Property | Description | Type | Limits (inclusive) |
|---|---|---|---|
data |
The |
array of objects | The action determines its contents. |
|
data .enabled |
The "enabled" property is true when a connector is allowed to connect to a device. It is false when a connector will not attempt to connect to the device. |
Boolean |
true false |
|
data .running |
The "running" property is true when an input connector is collecting data or an output connector is delivering data; otherwise, it is false. A disabled connector will never be running. An enabled connector may or may not be running. |
Boolean |
|
|
data .stopCode |
The "stopCode" property is 0 when the connector is successfully connected to its device or software; otherwise, it is non-zero. |
integer |
-2147483648 to 2147483647
|