uploadconfiguration

API Name

uploadconfiguration

Description

Uploads or imports configuration to an existing instance.

REST Methods

PUT

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.

file: The File representing the Managed Software Component to be Uploaded to Server Manager Console.

agentHostName: The Hostname of the Machine where the Managed Home Resides.

jdeHome: The Install Location of the Managed Home.

instanceName: The Managed Instance Name.

username: Username, Example: jde_admin.

Password: Password for the User.

Sample Request

curl --location --request PUT 'http://phoenix147045.ad1.fusionappsdphx1.oraclevcn.com:7101/manage/mgmtrestservice/uploadconfiguration?agentHostName=phoenix147033.ad1.fusionappsdphx1.oraclevcn.com&jdeHome=C%3A%5Cjde_home_1%5CSCFHA&instanceName=MY_ES' \

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

--form 'file=@"/C:/Users/test/Desktop/CUR_DEMO.zip"'

Return

HTTP status 200 and 201 are 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.