Symptom
When running a GET operation on the Job Requisition entity and adding any of the Restore Admin Defaults fields to the $select, the following error occurs:
"[COE0003]Bad property expression: JobRequisition/restorehiringManagerTeamAdminDefaults; JobRequisition/restorehiringManagerTeamAdminDefaults is not viewable"
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
- Create a new GET operation;
- Use the fields on the $select, like: "/odata/v2/JobRequisition(2448)?$select=restorehiringManagerTeamAdminDefaults";
- Run the request;
- Receive the error:
Cause
This is due to the properties of these fields on the OData API Data Dictionary, most of them is False, such as Visible, Filterable and Sortable.
Resolution
The Restore Admin Default fields are shown according to the Job Requisition template configuration. These fields will appear according to the operatorTeam configured on the template, and they will always have the Visible, Filterable and Sortable set as False.
Should you know more about these fields, check the article 2954907
See Also
Keywords
error, bad, property, expression, restore, admin, default, recruiterTeam, hiringManagerTeam, Teams , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem