SAP Knowledge Base Article - Preview

3098622 - Photo API entity doesn't return all records in $top API call

Symptom

You perform an API call like the one below:

https://<api_endpoint>/odata/v2/Photo?$top=100&$format=json

And instead of returning all 100 records, it returns just a few of them, like only 80 for example (20 records missing).

Now you perform this other query below:

https://<api_endpoint>/odata/v2/Photo?$top=200&$format=json

And it returns 180 records. It is missing 20 records again!

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP SuccessFactors HXM Suite
    • OData API

Product

SAP SuccessFactors HCM Suite all versions

Keywords

top, query, found, extract, result, payload, response, photoType, userId, photoId, entity , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.