REST API - listAttributeNames
The table summarizes the REST API - listAttributeNames.
Request
| Format | GET <baseurl>/directory/attributes/<ldapalias>/<ldapquery> |
| Path parameters |
|
| Query parameters |
|
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 | GET <baseurl>/directory/attributes/easyAs/%28objectclass=person%29?samplesize=1 |
| 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.
