REST API - pagedcandidates
The table summarizes the REST API - pagedcandidates.
Request
Response
JSON | Returns a JSON representation of the content of the
listCandidateResourcesResponse
element.
|
XML | Returns the content of the
listCandidateResourcesResponse
element (from the
DirectoryService schema).
Same bookmark and estimated-size values as described above. |
Example - First Request
Request |
POST <baseurl>/directory/pagedcandidates/2/10 |
Response |
{ "xml-fragment": { "-container-id": "2", "-include": "ALL", "-estimated-size": "0", "-bookmark": "nkNjTg==", "candidate": [ { "-name": "Aaron Cresswell", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=acresswell, OU=employees, O=goCarInsuranceHeadOffice" }, { "-name": "Aaron Downes", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=adownes, OU=employees, O=goCarInsuranceHeadOffice" }, { "-name": "Aaron Hardy", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=ahardy, OU=employees, O=goCarInsuranceHeadOffice" }, . . . { "-name": "Adie Moses", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=amoses, OU=employees, O=goCarInsuranceHeadOffice" }, { "-name": "Adnan Ahmed", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=aahmed, OU=employees, O=goCarInsuranceHeadOffice" } ] } } |
Example - Subsequent Request
Request |
POST <baseurl>/directory/pagedcandidates/2/10?bookmark=nkNjTg== |
Response |
{ "xml-fragment": { "-container-id": "2", "-include": "ALL", "-estimated-size": "0", "-bookmark": "nkNjTg==", "candidate": [ { "-name": "Adrian Leijer", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=aleijer, OU=employees, O=goCarInsuranceHeadOffice" }, { "-name": "Aidy Boothroyd", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=aboothroyd, OU=employees, O=goCarInsuranceHeadOffice" }, { "-name": "Akpo Sodje", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=asodje, OU=employees, O=goCarInsuranceHeadOffice" }, . . . { "-name": "Alan Jones", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=ajones, OU=employees, O=goCarInsuranceHeadOffice" }, { "-name": "Alan Mcneill", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=amcneill, OU=employees, O=goCarInsuranceHeadOffice" }, { "-name": "Alan Miller", "-ldap-alias": "deLdap5", "-ldap-dn": "UID=amiller, OU=employees, O=goCarInsuranceHeadOffice" } ] } } |
Copyright © Cloud Software Group, Inc. All rights reserved.