SOAP API - createResource

The table summarizes the SOAP API - createResource.

Request Uses the createResource element (from the OrgResourceService schema)
Parameter notes
  • candidate / ldap-alias and ldap-dn: Can be obtained using listCandidateResources .
  • container-id: Can be obtained using listContainers .
  • secondary-ref / ldap-alias and ldap-dn: This is also required if the container from which the candidate was obtained has a secondary LDAP source defined. This is also obtained using listCandidateResources .
Response Returns a createResourceResponse element (from the OrgResourceService schema)
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://resource.api.de.bpm.tibco.com">

   <soapenv:Header/>

   <soapenv:Body>

      <res:createResource>

         <candidate ldap-alias="easyAs" ldap-dn="OU=Tony Pulis, OU=London, OU=AllEmployees, O=easyAsInsurance" container-id="4" name="Tony Pulis" label="Tony Pulis" >

            <secondary-ref ldap-alias="deLdap2" ldap-dn="UID=tpulis, OU=employees, O=insuranceServices"/>

         </candidate>

      </res:createResource>

   </soapenv:Body>

</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP-ENV:Header/>

   <SOAP-ENV:Body>

      <createResourceResponse xmlns="http://resource.api.de.bpm.tibco.com">

         <entity already-present="false" container-id="4" guid="11BBBA5E-8EFB-452B-B3FD-8298E1BB65EA" label="Tony Pulis" ldap-alias="easyAs" ldap-dn="OU=Tony Pulis, OU=London, OU=AllEmployees, O=easyAsInsurance" name="Tony Pulis" xmlns=""/>

      </createResourceResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>