Get Optim Directory Connections method

Use the Get Optim Directory Connections method to retrieve a list of all Optim directory connections in the connection manager.

HTTP method: GET

URI: /connection/

Request payload content type: None

Response payload content type: application/xml

Expected response: HTTP/1.1 200 OK

Response payload example

The following example shows a sample XML response for this method.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:connections xmlns:ns2="http://www.ibm.com/optim/xsd/connection/9.1.0">
   <ns2:connection>
      <id>e1a93332-701b-48d7-bdc6-c20adb09ba51</id>
      <name>OPTIMDIR1</name>
      <description>Optim directory on local Oracle XE</description>
      <status>Complete</status>
      <vendor>Oracle</vendor>
      <version>11.2</version>
      <jdbcUrl>jdbc:oracle:thin:@localhost:1521:xe</jdbcUrl>
   </ns2:connection>
</ns2:connections>

Response codes

The following response codes can be received when the method is complete.

Response code Description
200 OK. The connection list was successfully returned.
400 Bad Request. A malformed request was submitted.
404 Not Found. No connections exist.


Feedback