SAP Knowledge Base Article - Public

3285209 - TodoEntryV2 query error "Failed to retrieve result with given criteria" when using "$select"

Symptom

You use TodoEntryV2 to query to-do items, and the API request properly returns data if "$select" is not used.

If you add "$select" to the API URL and select some fields, the API request fails with error "Failed to retrieve result with given criteria".

Environment

SAP SuccessFactors HCM Suite

Cause

The API URL is trying to get data for BPE todo entries.

For BPE todo entries, the property "linkUrl" is a must. Otherwise it would always fail.

Resolution

Please add the field "linkUrl" into your "$select" parameter.

See Also

SAP SuccessFactors HCM Suite OData API: Reference Guide - TodoEntryV2

Keywords

BPE todo, OData API, linkUrl, API URL , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HXM Core 2211