instancesinfo

API Name

instancesinfo

Description

Gets information about each of the managed instances created in the Server Manager Console. Returns an unknown state for the instances that are under an offline agent.

REST Methods

GET

Precondition

Agent must be running.

Input Params

Sample Request

https://jdesmc.example.com:8998/manage/mgmtrestservice/ instancesinfo

Return

Returns the details of an instance with information such as instanceName, targetType, and status.

Sample Response

{ "result":true, "instancesInfo": [ { "instanceName":"DS_ REST_PS1", "targetType":"depserver", "status":"RUNNING" }, { "instanceName":"home", "targetType":"mgmtconsole", "status": "RUNNING" }, { "instanceName":"WLS_12_RoM", "targetType":"owl_ 1212", "status":"STOPPED" }, { "instanceName":"DS_dnsvrt", "targetType":"depserver", "status":"RUNNING" }, { "instanceName": "RTE_TEST_J2EE_P", "targetType":"rteserver", "status":"UNKNOWN" }, { "instanceName":"WLS1221_P", "targetType":"owl_1212", "status": "RUNNING" } ]}

Exception

Throws an exception if the operation fails for any reason.