Symptom
Using the XML API is not recommended anymore: new customers should use the new SFAPI or ODATA features instead.
However using the XML API it is possible to get a list of posted job requisition in an xml.
Is it possible to have a subset of posted job requisitions filtered by one of the external filters?
Resolution
-
The base URL is:
http(s)://<Host_Address>/career?company=<Company_Instance>&career_ns=job_listing_summary&resultType=XML
Example: https://careersd4.successfactors.com/career?company=emademo1&career_ns=job_listing_summary&resultType=XML
-
URL with language support:
http(s)://<Host_Address>/career?company=<Company_Instance>&career_ns=job_listing_summary&resultType=XML&rcm_site_locale=<value>
Example: https://careersd4.successfactors.com/career?company=emademo1&career_ns=job_listing_summary&resultType=XML&rcm_site_locale=de
-
URL with filters:
http(s)://<Host_Address>/career?company=<Company_Instance>&career_ns=job_listing_summary&customFilter_filter1=<Some Value>&customFilter_filter2=<Some Value>&resultType=XML&rcm_site_locale=<value>
where:
-
<Some Value> must be a picklist id for picklist values
-
<Some Value> must in brackets notation in case of multiple values (for example [1211,1234])
-
the locale parameter rcm_site_locale=<value> must be used in case of using the filter parameters
Example: https://careersd4.successfactors.com/career?company=emademo1&career_ns=job_listing_summary&resultType=XML&customFilter_filter2=[1429]&rcm_site_locale=de
The result is an xml with the list of posted job req and relative information:
<?xml version="1.0" encoding="UTF-8"?>
<Job-Listing>
<Job>
<JobTitle><![CDATA[Director of Business Development]]></JobTitle>
<Job-Description><![CDATA[ ... descrption here ...]]></Job-Description>
<ReqId>1003</ReqId>
</Job>
<Job>
<JobTitle><![CDATA[Executive Assistant]]></JobTitle>
<Job-Description><![CDATA[... descrption here ...]]></Job-Description>
<ReqId>683</ReqId>
</Job>
<Job>
<JobTitle><![CDATA[Financial Analyst]]></JobTitle>
<Job-Description><![CDATA[... descrption here ...]]></Job-Description>
<ReqId>602</ReqId>
</Job>
</Job-Listing>
Keywords
api,xml,xml api,filters,locale,posted job requisition,job requisition,odata,sfapi , KBA , LOD-SF-RCM , Recruiting Management , Problem