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 (Release 9.2.26.0) along with the open applications information. 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"
|
Sample Response (Release 9.2.26.0) |
"topApplicationDescription": "One View", "workstationName":
"topApplicationDescription": "One View", "workstationName": "jdesmc.example.com", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned", "status": "1" }, { "asyncBSFNQueueEmpty": "true", "interactivityLevel": "2", "topApplicationDescription": "Work With Addresses", "workstationName": "jdesmc.example.com", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned", "status": "1" } ] }, { "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "tqa_929_aix_jas_25051", "Managed Home Location": "jdesmc.example.com,C:\\jde_agent_web\\SCFHA", "htmlServerSessionId": "5698752937891403776", "clientMachine": "jdesmc.example.com (0:0:0:0:0:0:0:1)", "loginTime": "8/31/25 3:05 AM", "remoteEnvironments": "None", "environmentName": "JDV92RS1", "openApplications": [ { "asyncBSFNQueueEmpty": "true", "interactivityLevel": "2", "topApplicationDescription": "One View", "workstationName": "jdesmc.example.com", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned", "status": "1" }, { "asyncBSFNQueueEmpty": "true", "interactivityLevel": "2", "topApplicationDescription": "Work With Addresses", "workstationName": "jdesmc.example.com", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned",
|
Exception |
Throws an exception if the operation fails for any reason. |