Page Tree
Previous Releases
...
Syntax:
Code Block |
---|
{"GetVersionResult":2} |
...
Syntax:
Code Block |
---|
{ "LoginResult": { "Handle": 2, "Status": "" } } Returns the connection handle (whether >= 0) or error code (whether < 0). |
...
Syntax:
Code Block |
---|
{ "LogoutResult": 0 } 0: OK, 1: Invalid connection handle. |
...
Syntax:
Code Block |
---|
{ "ReadObjectResult": { "ObjectName": "tagExample", "Quality": 64, "UtcTimeStamp": "11/29/2019 17:33:47", "Value": "0" } } Returns Value of the object. |
...
Syntax:
Code Block |
---|
{ "handle" : 1, "objectNames" :["tagExample1", "tagExample2"]} |
...
Syntax:
Code Block |
---|
{
"handle" : 1,
"item" : {
"ObjectName": "tagExample2",
"Quality": 192,
"UtcTimeStamp": "02/12/2021 11:13:36",
"Value": "2"
},
"force": false} |
4. Response Example:
...
Syntax:
Code Block |
---|
{ "handle" : 1, "itensitems" : [{ "ObjectName": "tagExample1", "Quality": 192, "UtcTimeStamp": "02/12/2021 11:13:36", "Value": "2" }, { "ObjectName": "tagExample2", "Quality": 192, "UtcTimeStamp": "02/12/2021 11:13:36", "Value": "13" }], "force": false} |
...