SOAP API - executeLdapQuery
The table summarizes the SOAP API - executeLdapQuery.
Request | Uses the executeLdapQuery element (from the DirectoryService schema) |
Parameter notes |
|
Response | Returns an
executeLdapQueryResponse
element (from the
DirectoryService schema). Contains the collection of fully Distinguished Names (DNs) resolved by the given LDAP query.
|
Example
First Request Using Paging |
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dir="http://directory.api.de.bpm.tibco.com"> <soapenv:Header/> <soapenv:Body> <dir:executeLdapQuery base-dn="OU=employees" ldap-alias="deLdap5" ldap-query="(objectClass=organizationalPerson)" page-size="20" /> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <executeLdapQueryResponse bookmark="ZxQh1g==" estimated-size="0" ldap-alias="deLdap5" ldap-query="(objectClass=organizationalPerson)" xmlns="http://directory.api.de.bpm.tibco.com"> <ldap-entry ldap-dn="UID=acresswell, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=adownes, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=ahardy, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=ahughes, OU=employees, . . . O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=ajones, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=amcneill, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=amiller, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> </executeLdapQueryResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
|
Example
Next Call to Get Paged Results (using bookmark parameter) |
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dir="http://directory.api.de.bpm.tibco.com"> <soapenv:Header/> <soapenv:Body> <dir:executeLdapQuery base-dn="OU=employees" bookmark="ZxQh1g==" ldap-alias="deLdap5" ldap-query="(objectClass=organizationalPerson)" page-size="20" /> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <executeLdapQueryResponse base-dn="OU=employees" bookmark="ZxQh1g==" estimated-size="0" ldap-alias="deLdap5" ldap-query="(objectClass=organizationalPerson)" xmlns="http://directory.api.de.bpm.tibco.com"> <ldap-entry ldap-dn="UID=aobrien, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=aohare, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=astarling, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=astewart, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=asweeney, OU=employees, . . . O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=asmithies, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=alythgoe, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=anewbold, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> <ldap-entry ldap-dn="UID=awhittingham, OU=employees, O=goCarInsuranceHeadOffice" xmlns=""/> </executeLdapQueryResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.