SOAP API - listCandidateResources
The table summarizes the SOAP API - listCandidateResources.
Request | Uses the listCandidateResources element (from the DirectoryService schema) |
Parameter notes |
|
Response | Returns a
listCandidateResourcesResponse
element (from the
DirectoryService schema).
|
Example
First Request Using Paging |
Request:
<soapenv:Body> <dir:listCandidateResources container-id="2" include="ALL" page-size="10"/> </soapenv:Body> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <listCandidateResourcesResponse bookmark="EMd7pA==" container-id="2" estimated-size="0" include="ALL" xmlns="http://directory.api.de.bpm.tibco.com"> <candidate ldap-alias="deLdap5" ldap-dn="UID=acresswell, OU=employees, O=goCarInsuranceHeadOffice" name="Aaron Cresswell" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=adownes, OU=employees, O=goCarInsuranceHeadOffice" name="Aaron Downes" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=ahardy, OU=employees, O=goCarInsuranceHeadOffice" name="Aaron Hardy" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=ahughes, OU=employees, O=goCarInsuranceHeadOffice" name="Aaron Hughes" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=arooney, OU=employees, O=goCarInsuranceHeadOffice" name="Adam Rooney" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=asmith, OU=employees, O=goCarInsuranceHeadOffice" name="Adam Smith" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=awatts, OU=employees, O=goCarInsuranceHeadOffice" name="Adam Watts" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=awilson, OU=employees, O=goCarInsuranceHeadOffice" name="Adam Wilson" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=amoses, OU=employees, O=goCarInsuranceHeadOffice" name="Adie Moses" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=aahmed, OU=employees, O=goCarInsuranceHeadOffice" name="Adnan Ahmed" xmlns=""/> </listCandidateResourcesResponse> </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:listCandidateResources bookmark="EMd7pA==" container-id="2" include="ALL" page-size="10"/> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <listCandidateResourcesResponse bookmark="EMd7pA==" container-id="2" estimated-size="0" include="ALL" xmlns="http://directory.api.de.bpm.tibco.com"> <candidate ldap-alias="deLdap5" ldap-dn="UID=aleijer, OU=employees, O=goCarInsuranceHeadOffice" name="Adrian Leijer" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=aboothroyd, OU=employees, O=goCarInsuranceHeadOffice" name="Aidy Boothroyd" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=asodje, OU=employees, O=goCarInsuranceHeadOffice" name="Akpo Sodje" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=abrown, OU=employees, O=goCarInsuranceHeadOffice" name="Alan Brown" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=acrawford, OU=employees, O=goCarInsuranceHeadOffice" name="Alan Crawford" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=agoodall, OU=employees, O=goCarInsuranceHeadOffice" name="Alan Goodall" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=agowling, OU=employees, O=goCarInsuranceHeadOffice" name="Alan Gowling" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=ajones, OU=employees, O=goCarInsuranceHeadOffice" name="Alan Jones" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=amcneill, OU=employees, O=goCarInsuranceHeadOffice" name="Alan Mcneill" xmlns=""/> <candidate ldap-alias="deLdap5" ldap-dn="UID=amiller, OU=employees, O=goCarInsuranceHeadOffice" name="Alan Miller" xmlns=""/> </listCandidateResourcesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.