restoreinstanceconfiguration

API Name

restoreinstanceconfiguration

Description

Restores configuration of a particular instance for a given configuration file name.

REST Methods

POST

Precondition

Server Manager Console must be running.

Input Params

TOKEN: Header returned as a response to the /authenticate Server Manager REST API Call.

TOKEN: Cookie returned as a response to the /authenticate Server Manager REST API Call.

AUTHORIZATION: Base64 encoded Basic username:password combination necessary for Authentication.

Sample Request

curl --location --request POST 'http://phoenix147045.ad1.fusionappsdphx1.oraclevcn.com:7101/manage/mgmtrestservice/restoreinstanceconfiguration' \

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

--data ''

Return

HTTP status 200 is returned.

Sample Response

NA

Exception

403: Forbidden Status Code is returned if the Authentication information passed with the Request is not valid.

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

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