Homelab, Linux, JS & ABAP (~˘▾˘)~
 

[SuccessFactors] Get manager and his employees via API

@my_endpoint=api2.successfactors.eu
@userId=managerId

### Query manager and his employees
GET https://{{my_endpoint}}/odata/v2/User('{{userId}}')?
$format=json&
$expand=directReports&
$select=firstName,lastName,email,teamMembersSize,directReports/firstName,directReports/lastName,directReports/userId,directReports/email

Leave a Reply

Your email address will not be published. Required fields are marked *