Symptom
After 1605 release, in Odata API data Dictionary, job requisition template names are appended with JobReq_Template and they are visible as separate entities in 'Odata API Data Dictionary'.
For example- 'JobReqTemplate_Job_Requisition_Employee' if the template name is: Job_Requisition_Employee.
But if you try to query this entity, you will receive below error message-
*******
"COE_GENERAL_FORBIDDEN", "message" : {
"lang" : "en-US", "value" : "JobReqTemplate_Job_Requisition_Employee GET not allowed
}
*******
Environment
SAP SuccessFactors HCM
SAP SuccessFactors Recruiting Management
Cause
This is the designed system behavior.
RCM Template entities are only for metadata information and no query or write operations are allowed on template entities.
Resolution
So what are these entities for?
The only operations that is supported for these entities is the metadata query which looks like this:
https://apiX.successfactors.com/odata/v2/JobReqTemplate_Job_Requisition_Employee/$metadata
And this query provides the fields list for a specific template so we can build the request payload(for the 'Job Requisition' entity) using the correct fields that are required for that specific template.
Same holds true for other entities like jobapplication, candidate, and joboffer.
Keywords
error, loading, preview, data, GET, not, allowed, requisition, job, template, request, query , KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT , Integrations , Problem