useractivitypkg (Release 9.2.6)
API Name |
useractivitypkg |
Description |
Provides the detailed information of the logged-in users and packages for HTML, AIS, and Enterprise Servers. This API fetches the details of all the users and the package names if an input value is not provided. |
REST Methods |
|
Precondition |
Server Manager and Agent must be running. |
Input Params |
|
Sample Request |
{{protocol}}://{{ip}}:{{port}}/manage/mgmtrestservice/useractivi typkg?username=JDE&environmentName=JPY920&packageName=DV920FA Note: The user can enter user names and environments in the request URL with comma separated values. |
Return |
|
Sample Response |
{ "userActivityDetailwithPackage": [ { "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":
"jdeclient.example.com (10.XX.XXX.XXX)", "environmentName": "JPY920", "packageName": "DV920FA", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14 AM", "idleTime": "63", "remoteEnvironments": "RL0905: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", "packageName": "DV920FA", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14 AM", "idleTime": "57", "remoteEnvironments": "RL0905:6017 PID: 20612" }, { }, { } ]
"userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rajespybl0905", "processName": "SECURITY KERNEL", "processID": "11709", "packageName": "N/A", "jdelogFileSize": "1,728", "debugLogSize": "92", "activeUsers": "1" "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rajespybl0905", "processName": "CALL OBJECT KERNEL", "processID": "20612", "packageName": "DV920FA" "jdelogFileSize": "1,110",
"debugLogSize": "92", "activeUsers": "1"
|
Exception |
Throws an exception if the operation fails for any reason. |