databasedrivers/{databaseDriver Type}

API Name

databasedrivers/{databaseDriver Type}

Description

Provides the instance information for passed database driver Type for Server Manager Console.

REST Methods

GET

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.

Sample Request

curl --location 'https://ems4296.ad1.fusionappsdphx1.oraclevcn.com:9016/manage/mgmtrestservice/databasedrivers/sql19_22' \

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

--header 'Cookie: SMCONSOLE_SSID=Xfz5Lu6sptYBfm8eIHQukJsAbdJEFu4SlcbcCLpOo1nYVqiGIa7F!-1336142483'

Return

HTTP status 200 and 201 are returned.

Sample Response

[

{

"serverInformation": [

{

"jdeHome": "/scratch/cluster/jde_agent_web/SCFHA",

"hostName": "phoenix155681.appsdev0.fusionappsdphx1.oraclevcn.com",

"instanceInformation": [

{

"J2EEApplicationServer": "Oracle WebLogic Instance: tqa_9260_lnx_wls_phoenix155681, Domain: e1_Domain, Cluster: C1AIS",

"isDriverInstalled": "Installed",

"instanceName": "tqa_9260_lnx_wls_phoenix155681"

}

]

}

],

"deplymentServer": "Servers Utilizing Driver"

},

{

"serverInformation": [],

"deplymentServer": "Data Access Servers Utilizing Driver"

},

{

"serverInformation": [],

"deplymentServer": "EOne Data Access Driver Utilizing Driver"

},

{

"serverInformation": []

"deplymentServer": "Enterprise Servers Utilizing Driver"

}

]

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.

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