27.2.3.4 getActionLogAndCount

 

Get action log

ActionLogExecuteResultgetActionLogAndCount(string lid, string projectName, string nodeName, string start, string count, long interval)

 

Push notification method:

dispatchActLogValues

 

Parameter:

Ø lid : customized connection id

Ø projectName : Project name

Ø nodeName : Node name

Ø start : Start record to be read

Ø count : Number of record to be read

Ø interval : The push interval in milliseconds(value is 0 if realtime)

 

Return value:

Ø   ActionLogExecuteResult : Action log object

{

          "nodeName":"RT",

          "totalCount":"1056",

          "actionLogs":[{

                 "action":"admin logout",

                 "description":"",

                 "priority":"",

                 "tagName":"",

                 "oldValue":null,

                 "newValue":null,

                 "time":"2015/05/05 16:45:52"

          },

          {

                 "action":"admin login"

                 ,"description":"",

                 "priority":"",

                 "tagName":"",

                 "oldValue":null,

                 "newValue":null,

                 "time":"2015/05/05 16:45:22"

          },

          {

                 "action":"enter VIEWDAQ",

                 "description":"",

                 "priority":"",

                 "tagName":"",

                 "oldValue":null,

                 "newValue":null,

                 "time":"2015/05/05 16:32:01"

          },

          {

                 "action":"exit VIEWDAQ",

                 "description":"",

                 "priority":"",

                 "tagName":"",

                 "oldValue":null,

                 "newValue":null,

                 "time":"2015/05/05 11:54:31"

          }],

          "resStatus":"0",

          "resString":null

}

 

Field Name

Description

resStatus

Return code

resString

Return message

nodeName

Node name

totalCount

Total action log

actionLogs

Action log list

Field Name

Description

action

Action

description

Description

priority

priority

tagName

Tag name (If action is change tag value)

oldValue

Old value (If action is change tag value)

newValue

New Value (If action is change tag value)

time

Time