REST API - listAttributeNamesLargeQuery
The table summarizes the REST API - listAttributeNamesLargeQuery.
Request
Format | POST <baseurl>/directory/attributes/<ldapalias> |
Path parameters | ldapalias: the alias of the LDAP entry on which the query is evaluated. LDAP Connection Shared Resources are named with the prefix ldap/de/ in order to indicate that they are intended for Directory Engine use. The alias given here is that name without the ldap/de/ prefix. Can be obtained from a previous call to listLdapConnections . |
Query parameters |
|
Body | ldap-query (required) the parameter from the listAttributeNames element (from the DirectoryService schema) that defines the query to be evaluated. The query must conform to the RFC 2254 LDAP Search Filter standard. |
Response
JSON | Returns a JSON representation of the content of the listAttributeNamesResponse element. |
XML | Returns the content of the listAttributeNamesResponse element (from the DirectoryService schema). |
Example
Request | POST <baseurl>/directory/attributes/easyAs?samplesize=1 |
Request body | (&(objectclass=person)(employeetype=Permanent)) |
Response | { "xml-fragment": { "@ldap-alias": "easyAs", "@ldap-query": "(objectclass=person)", "@entry-count": "8", "attribute": [ { "@name": "givenname", "@binary": "false" }, { "@name": "employeetype", "@binary": "false" }, ], "sample-entry": { "@ldap-dn": "OU=Clint Hill, OU=Swindon, OU=AllEmployees, O=easyAsInsurance", "attribute": [ { "@name": "givenname", "@binary": "false", "value": "Clint" }, { "@name": "employeetype", "@binary": "false", "value": "Permanent" } ] } } } |
Copyright © Cloud Software Group, Inc. All rights reserved.