changecomponent

API Name

changecomponent

Description

Updates the managed instance component to a new version.

REST Methods

POST

Precondition

Agent must be running.

Input Params

instanceName, componentName,

pathCode(this is an optional input which is applicable only for bssv).

Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

{ "componentName":"E1_HTMLServer_9.2.0.2_01-06-2016_10_36.jar", "instanceName":"SM_testServer_7011"}https://jdesmc.example.com :8998/manage/mgmtrestservice/changecomponent

This is the sample request if you have duplicate instance names: { "componentName":"E1_HTMLServer_9.2.0.2_01-06-2016_10_36.jar", "instanceName":"SM_testServer_7011", "agentHostName":"jdesma.example.com", "jdeHome":"/slot/oracle/jde_agent_jas/SCFHA"}https://jdesmc.example.com :8998/manage/mgmtrestservice/changecomponent

Return

HTTP status 200 is returned.

Sample Response

Exception

Throws an exception if the change component operation fails for any reason.