servergroupinfo/{serverGroupName}

API Name

servergroupinfo/{serverGroupName}

Description

Changes the server group for an instance.

REST Methods

POST

Precondition

Server Manager Console must be running. If Centralized Configuration is enabled, Server Manager Console should be able to connect to the database.

Input Params

{

"instanceName":<instanceName>,

"agentHostName":,

"jdeHome":<Agent jde Home>"

}

Sample Request

'http://phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com:7101/manage/mgmtrestservice/servergroupinfo/ch1' \

--header 'Content-Type: application/json' \

--header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg==' \

--data '{

"instanceName":"AIS",

"agentHostName":"phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com",

"jdeHome":"C:\\work\\install\\SMA\\SCFHA"

}'

Return

HTTP status 200 is returned.

Sample Response

NA

Exception

400: Bad Request Status Code is returned in case the Request is not well formed for the API which is being invoked.

403: Forbidden, Valid Authentication Information is not passed with the Request.

500: Internal Server Error, In the unlikely case of error occurring on the Server. Refer to the logs for more details.