stopinstance

API Name

stopinstance

Description

Stops any managed instance.

REST Methods

POST

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/ stopinstance{"instanceName" : "HTML_8890"} This is the sample request if you have duplicate instance names: https://jdesmc.example.com:8998/ manage/mgmtrestservice/stopinstance{"instanceName":"HTML_8890", "agentHostName":"jdesmc.example.com", "jdeHome":"/slot/oracle/jde_agent_jas/SCFHA"}

Return

HTTP status 200 is returned.

Sample Response

Exception

Throws an exception in case of problems.