databasedrivers/{databaseDriver Type}

API Name

databasedrivers/{databaseDriver Type}

Description

Performs passed action on passed instance information for passed database drivers.

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.

driverType: The driverType of server manager console for which instance Info needs to be fetched.

instanceName: The Managed Instance Name.

action: The action needs to perform on instance.

agentHostName: The Agent Host Name for instance.

jdeHome: The Agent jde Home for instance.

domainName: The domainName form j2ee application server details for web instances.

serverName: The serverName form j2ee application server details for web instances.

Sample Request

curl --location --request POST 'https://ems4296.ad1.fusionappsdphx1.oraclevcn.com:9016/manage/mgmtrestservice/databasedrivers/sql19?instanceName=tqa_9260_lnx_wls_phoenix155681&agentHostName=phoenix155681.appsdev0.fusionappsdphx1.oraclevcn.com&jdeHome=%2Fscratch%2Fcluster%2Fjde_agent_web%2FSCFHA&action=uninstallJDBCDriver&domainName=bssv_domain&serverName=BSSV67' \

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

--header 'Cookie: SMCONSOLE_SSID=hQYVbQ7QV6yijlvwdozJikopOYGc3SIZLApgfJgDrkaqq6hKx55_!-688809719' \

--data ''

Return

HTTP status 200 is returned.

Sample Response

NA

Exception

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

404: Unable to find 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.