SAP Knowledge Base Article - Public

2339790 - COE_GENERAL_FORBIDDEN for Job Requisition Template entities with error 'GET not allowed'

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

Successfactors

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. , KBA , LOD-SF-INT-API , SF API & Adhoc API Framework , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Problem

Product

SAP SuccessFactors Recruiting 1605