SAP Knowledge Base Article - Public

2943600 - OData API Error: [COE0020] JobReqTemplate_<TemplateName> GET not allowed - Recruiting Management

Symptom

Getting COE_GENERAL_FORBIDDEN [COE0020] error when querying data on the following entities:

  • JobReqTemplate_*
  • JobAppTemplate_*
  • JobOfferTemplate_*

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

<EXAMPLE>

1. Request:

GET https://apisalesdemo4.successfactors.com:443/odata/v2/JobReqTemplate_Standard_Job_Requisition?$format=JSON

2. Response:
 
{
    "error": {
        "code": "COE_GENERAL_FORBIDDEN",
        "message": {
            "lang": "en-US",
            "value": "[COE0020]JobReqTemplate_Standard_Job_Requisition GET not allowed"
        }
    }
}

Cause

These template entities do not support any operations and are only available on the metadata and in the Admin Center under the "OData API Dictionary" page.

Resolution

To query data, please use the following entities:

  • JobRequisition
  • JobApplication
  • JobOffer

See Also

SAP SuccessFactors HXM Suite OData API: Reference Guide (V2):

Keywords

GET not allowed, COE_GENERAL_FORBIDDEN, COE0020, OData, API, integration, center, INC, starting entity, job requisition, job application, offer, detail, approval, template, JobReqTemplate, JobAppTemplate, JobOfferTemplate , KBA , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem

Product

SAP SuccessFactors Recruiting all versions