SOAP API - getResource

The table summarizes the SOAP API - getResource.

Request Uses the getResource element (from the OrgResourceService schema)
Parameter notes
  • model-version: Can be obtained using createResource.
  • guid (optional) : Can be obtained using listCandidateResources. If no GUID is specified, the call returns the calling user's own details.
Response Returns a getResourceResponse 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:getResource model-version="-1">
         <guid>2F701860-6913-43A6-A3B6-F4B0F758F519</guid>
      </res:getResource>
   </soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <getResourceResponse xmlns="http://resource.api.de.bpm.tibco.com">
         <resource container-id="2" container-name="Eastern" guid="2F701860-6913-43A6-A3B6-F4B0F758F519" label="Clint Hill" model-version="9" name="Clint Hill" resource-type="HUMAN" xmlns="">
            <position guid="_-j8iYMoOEeG-IPt6GUFXxA" label="Sales Rep" name="SalesRep"/>
            <ldap-reference ldap-alias="easyAs" ldap-dn="OU=Clint Hill, OU=Swindon, OU=AllEmployees, O=easyAsInsurance"/>
         </resource>
      </getResourceResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>