databasedrivers

API Name

databasedrivers

Description

Uploads a database driver for Server Manager Console.

REST Methods

PUT

Precondition

Server Manager Console must be running.

Note: Ensure the database driver file to be uploaded is the required name for the database driver file.

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.

Sample Request

curl --location --request PUT 'http://phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com:7101/manage/mgmtrestservice/databasedrivers' \

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

--header 'Cookie: SMCONSOLE_SSID=Kw75HPi6oMCFZ_Yg3SmiqxcX09uMG2o_h955MywDkcqTotIUVuYV!1833693386' \

--form 'file=@"/path/to/file"'

Return

HTTP status 200 is returned.

Sample Response

NA

Exception

302: Found the Managed Instance with the passed in Instance Name.

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.