Get the System log from ODBC
HTTP METHOD: POST
XML URL: http://localhost/WaWebService/GetOdbcSysLog
JSON URL: http://localhost/WaWebService/Json/GetOdbcSysLog
XML Request:
<OdbcSysLogReq>
<Project>String</Project>
<Node>String</Node>
<StartDate>String</StartDate>
<EndDate>String</EndDate>
<UserName>String</UserName>
<ActionType>Value</ActionType>
<IPAddress>String</IPAddress>
</OdbcSysLogReq>
JSON Request:
{
"Project":"String",
"Node":"String",
"StartDate":"String",
"EndDate":"String",
"UserName":"String",
"ActionType":Value,
"IPAddress":"String"
}
RequestParameter:
Field Name |
Description |
Project |
Project Name |
Node |
SCADA Node Name |
StartDate |
Start Date |
EndDate |
End Date |
UserName |
User Name |
ActionType |
Action Type |
XML Response:
<GetOdbcSysLog>
<Result>
<Ret>Value</Ret>
<Total>Value</Total>
</Result>
<SysLogs>
<SysLog>
<ProjNodeId>Value</ProjNodeId>
<LogDate>String</LogDate>
<LogTime>String</LogTime>
<UserName>String</UserName>
<ActionType>Value</ActionType>
<Action>String</Action>
<SourcePC>String</SourcePC>
<SourceIP>String</SourceIP>
<ProjId>Value</ProjId>
<ProjName>String</ProjName>
<NodeName>String</NodeName>
</SysLog>
<SysLog>
<ProjNodeId>Value</ProjNodeId>
<LogDate>String</LogDate>
<LogTime>String</LogTime>
<UserName>String</UserName>
<ActionType>Value</ActionType>
<Action>String</Action>
<SourcePC>String</SourcePC>
<SourceIP>String</SourceIP>
<ProjId>Value</ProjId>
<ProjName>String</ProjName>
<NodeName>String</NodeName>
</SysLog>
</SysLogs>
</GetOdbcSysLog>
JSON Response:
{
"Result":{
“Ret”:Value,
“Total”:Value
},
"SysLogs":[{
"ProjNodeId":Value,
"LogDate":"String",
"LogTime":"String",
"UserName":"String",
"ActionType":Value,
"Action":"String",
"SourcePC":"String",
"SourceIP":"String",
"ProjId":Value,
"ProjName":"String",
"NodeName":"String"
}]
}
Response Field:
Field Name |
Description |
ProjNodeId |
Node ID |
LogDate |
Log Date |
LogTime |
Log Time |
UserName |
UserName |
ActionType |
Action Type |
Action |
Action |
SourcePC |
Not used |
SourceIP |
Not used |
ProjId |
Project ID |
ProjName |
Project Name |
NodeName |
SCADA Node Name |