API Name |
useractivity |
Description |
Provides information about the users that are
loggen into the HTML, AIS and Enterprise Servers. This API fetches
details of all the users if an input value is not
provided. |
REST Methods |
GET
|
Precondition |
Server Manager and Agent must be
running. |
Input Params |
Note (Release 9.2.4.3): Add these additional
parameters if there are duplicate instance names: agentHostName,
jdeHome. |
Sample Request |
{{protocol}}://{{ip}}:{{port}}/manage/mgmtrestservice/useractivity?username=JDE&environmentName=JPY920
Note:
User can enter multiple username and the environments in the
request URL with comma separated values. |
Return |
|
Sample Response |
{ "userActivityDetail": [ { "userName": "JDE", "targetType": "EnterpriseOne AIS Server Sessions", "instanceName": "ais8003", "jvmNodeId": "-", "jasSessionId": "4129547715806897956", "clientDevice": "Chrome (19X.XX.XX.XX)", "environmentName": "JPY920", "userRole": "*ALL", "loginTime": "6/16/17 9:14 AM", "lastActiveTime": "6/16/17 9:14 AM", "jasServer": "https:// jdewebraj01:8001" }, { "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "html8001", "jvmNodeId": "html8001_MS1", "htmlServerSessionId": "3950964184071149568", "clientMachine": "jdewebraj01.compute-
a473400.oraclecloud.internal (10.XX.XX.XX)", "environmentName": "JPY920", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14 AM",
"idleTime": "63", "remoteEnvironments": "RAJESPYBL0905:6017 PID: 18181" },
|
Sample Response |
{ "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "html8001", "jvmNodeId": "html8001_MS1", "htmlServerSessionId": "4980954325618865152", "clientMachine": "jdeclient.example.com (19X.XX.XX.XX)", "environmentName": "JPY920", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14
AM", "idleTime": "57", "remoteEnvironments": "RL0905:6017 PID: 20612" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rl0905", "processName": "SECURITY KERNEL", "processID": "11709", "jdelogFileSize": "1,728", "debugLogSize": "92", "activeUsers": "1" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rl0905", "processName": "CALL OBJECT KERNEL", "processID": "20612", "jdelogFileSize": "1,110", "debugLogSize": "92", "activeUsers": "1" } ]}
|
Exception |
Throws an exception if the operation fails for any
reason. |