agentcomponents

API Name

agentcomponents

Description

Gets the Managed Components on the particular Server Manager Agent.

REST Methods

GET

Precondition

Agent must be running.

Input Params

agentHostName, jdeHome

Sample Request

https://jdesmc.example.com:8998/manage/mgmtrestservice/ agentcomponents?agentHostName=jdesma.example.com&jdeHome=/slot/ /oracle/jde_agent/SCFHA

Return

Set of managedComponents with information about each component such as targetType, componentName, version, and platform.

Sample Response

{ "agentHostName":"jdesma.example.com", "jdeHome":"C:\\jde_home_kni_1\\SCFHA", "managedComponentsSet":[ { "targetType":"rteserver", "componentName": "E1_TransactionServer_9.2.0.5_05-13-2016_01_19.jar", "version":"9.2.0.5" }, { "targetType":"depserver", "componentName": "9.2.0.5.Release.DS.Win32_06-08-2016_09_23.jar", "version":"9.2.0.5" }, { "targetType":"rteserver", "componentName":"E1_TransactionServer_9.2.0.4_05-18-2016_06_04.jar", "version":"9.2.0.4" } ]}

Exception

Throws an exception if the operation fails for any reason.