cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SuccessFactors "formCompetancy"api access issue? can anyone help how to get/update data from CPI

pooja_tiwari3
Active Participant
0 Likes
684

Hi All,

 

We have requirement to get "client rating " from "performance form" via 'FormCompetency' entity in SuccessFactors and update the rating back in "official" rating in the same API.

while trying to "get" data, we are getting this error, provided data from SF but still same.

com.sap.gateway.core.ip.component.odata.exception.OsciException: Bad Request : 400 : HTTP/1.1 



<?xml version="1.0" encoding="utf-8" standalone="yes"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>COE_GENERAL_BAD_REQUEST</code><message lang="en-US">[COE0018]FormDataId, formContentId, sectIndex and itemId can not be null or empty!</message></error>

referred link- https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/b6c3612422194...

any help is appreciated.
Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

sperumalla
Newcomer
0 Likes

To resolve the issue with accessing or updating data using the SuccessFactors FormCompetency API from CPI, ensure that your query adheres strictly to the specified format. The API expects the following structure:

http://<api server>/odata/v2/FormCompetency(formContentId=17617L,formDataId=7182L,itemId=7L,sectionIndex=4)?$format=json

Parameters in the URL:  The formContentId, formDataId, itemId, and sectionIndex are required fields and must be included in the query string.
These values must be formatted as <fieldName>=<value>L (note the L for each value).

Example Use Case: : https://api5.successfactors.eu/odata/v2/FormCompetency(formContentId=17617L,formDataId=7182L,itemId=...
To know more please check the link which you have provided :
https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/b6c3612422194...

BR
Surya