Symptom
You are trying to retrieve the Goal_XX data using APIs and for some fields the information is not being returned in the OData API response.
Environment
SuccessFactors Goal Management OData APIs
Reproducing the Issue
Run the OData query using the $select parameter
Resolution
When we have a combination of configured fields like code + label, we need to request both fields together in the $select criteria.
Examples:
If you run the query selecting only the field StoreLabel, you will not see the data in the response.
{
"d": {
"results": [
{
"__metadata": {
"uri": "https://api012.successfactors.eu/odata/v2/Goal_XX(1111L)",
"type": "SFOData.Goal_XX"
},
"id": "1111",
"userId": "2222",
"StoreLabel": ""
}
]
}
}
If you run the query selecting the field Store and StoreLabel, you will see the data in the response.
{
"d": {
"results": [
{
"__metadata": {
"uri": "https://api012.successfactors.eu/odata/v2/Goal_XX(1111L)",
"type": "SFOData.Goal_XX"
},
"id": "1111",
"Store": "1",
"userId": "2222",
"StoreLabel": "MarketA"
}
]
}
}
Keywords
Goal_XX, not return label field, label is blank, no text returned, OData API, Goal Management, does not return data / text , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem