instancestate

API Name

instancestate

Description

Gets the state of the managed instance.

REST Methods

GET

Precondition

Agent must be running.

Input Params

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

Sample Request

https://jdesmc.example.com:8998/manage/mgmtrestservice/ instancestate?instanceName=HTML_8890

This is the sample request if you have duplicate instance names: https://jdesmc.example.com:8998/manage/ mgmtrestservice/instancestate?instanceName=HTML_8890&agentHostName=jdesma.example.com&jdeHome=/slot/ems12400/ oracle/jde_agent_jas/SCFHA

Return

String - instanceState

Sample Response

{ "instanceName": "PS_JAS_7114", "instanceState": "STOPPED", "agentHostName":"jdesma.example.com”, "jdeHome":"/slot/ /oracle/jde_agent_jas/SCFHA"}

Exception

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