1

Until 1,5 week ago, I was getting all user statuses from SuccessFactors OData User Entity via REST GET

https://localhost:443/odata/v2/User

Now I noticed that inactive users (where status = 'f' )are not returned by this.

Does anyone have any information on this issue?

Thanks

Ioanna Katsanou
  • 484
  • 2
  • 7
  • 24

1 Answers1

2

It's not an issue. Success Factors does not return inactive users if not told.

You have to add a filter if you want to get inactive users.

https://<hostname>/odata/v2/User?$filter=status in 'active','inactive'&$format=JSON

Here is list of statuses:

list of statuses

  • 1
    So, I found SAP document 2166571 - How to query inactive users on User entity - OData API and it said https:///odata/v2/User$filter=status in 'active','inactive' – Ioanna Katsanou Feb 02 '23 at 09:57