Symptom
When API user use the API 'othersRatingComment' to retrieve the user's rating and comment on a performance form, an empty value is returned even though the form user has provided ratings and comments.
Environment
SAP SuccessFactors Performance Management
Reproducing the Issue
1. Sign into the API with an admin API user and run the following query:
http://<api-server>/odata/v2/FormObjective(formContentId=***L,formDataId=***L,itemId=***L,sectionIndex=***)/othersRatingComment?$format=json
2. The request is successful, but the response payload does not contain any records:
{
"d": {
"results": [
]
}
}
Cause
The issue may be caused by a lack of permission. The API user does not have the 'Others Rating Tab' permission in the form, which is preventing them from accessing and reading the rating and comment.
Resolution
Verify that the API user has unrestricted access to the 'Others Rating Tab'.
See Also
Keywords
Form API, othersRatingComment, empty result, empty value, Others rating tab permission, performance form, PM form , KBA , LOD-SF-PM-API , Webservices, OData APIs , Problem