REST API - listLdapConnections

The table summarizes the REST API - listLdapConnections.

Request

Format
GET <baseurl>/directory/connections

Response

JSON Returns a JSON representation of the content of the listLdapConnectionsResponse element.
XML Returns the content of the listLdapConnectionsResponse element (from the DirectoryService schema)

Example

Request
GET <baseurl>/directory/connections
Response
 {
       "xml-fragment":
       {
           "ldap-connection":
           [
               {
                   "@ldap-alias": "system",
                   "@provider-url": "ldap://N2Win64JH.emea.tibco.com:10801/ou=system"
               },
               {
                   "@ldap-alias": "easyAs",
                   "@provider-url": "ldap://N2Win64JH.emea.tibco.com:10801/o=easyAsInsurance"
               }
           ]
       }
    }