SAP Knowledge Base Article - Public

3008583 - How to Query manager ID using OData API

Symptom

You wish to query the manager ID of a user via OData API but the OData API Data Dictionary does not give Manager information in User entity.

Environment

SAP SuccesFactors

OData API

Resolution

To query the managerID from User entity you need to expand the managers user ID.

Please use the following query:

/odata/v2/User?$select=userId,manager/userId&$expand=manager

See Also

SAP SuccessFactors HXM Suite OData API: Reference Guide

Keywords

ManagerID, User Manager, OData ManagerID , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , How To

Product

SAP SuccessFactors HCM Suite all versions