/system/getInfo
Examples:
Method: /system/getInfo
Request
{ }
Response
{ "error":0, "result": { "version":"1.0", "copyright":"Copyright(C) Deepnet Security Limited.", "provisioningPort":8088, "managementPort":8444, "authenticationPort":8445, "serverFQDN":"dual.parkoffice.com" } }
/system/getDiagram
Examples:
Method: /system/getDiagram
Request
{ }
Response
{ "error":0, "result":"base64 of gif" }
/system/setAgentRegistrationStatus
Examples:
Method: /system/setAgentRegistrationStatus
Request
{ "startTime":"xxx", "expiryTime":"xxx", "enabled":true|false, "checkIp":true|false, "clientIp":"xxx" // ip or ip range (optional) }
Response
{ "error":0 }
/system/queryAgentRegistrationStatus
Examples:
Method: /system/queryAgentRegistrationStatus
Request
{ }
Response
{ "error":0, "result": { "startTime":"xxx", "expiryTime":xxx, "enabled":true|false, "checkIp":true|false, "clientIp":"xxx" } }
/system/reloadCache
Examples:
Method: /system/reloadCache
Request
{ }
Response
{ "error":0 }