SAP Knowledge Base Article - Public

3354229 - How to Grant Proxy Access to Users via ODATA API

Symptom

How to grant Proxy access to users using ODATA API

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

Environment

SAP SuccessFactors HXM Suite

  • Integration

Resolution

Grant proxy right to user, for example, user SFADMIN can proxy as user TEST1

Please find the sample payload to Upsert Proxy User

POST URL: https://<API SERVER>/odata/v2/upsert  (Demo Instance URL for reference)

 {
                "__metadata": {
                    "uri": "https://<API SERVER>/odata/v2/User('SFADMIN')",
                    "type": "SFOData.User"
                },
                "userId": "SFADMIN",
                "status": "t", 
                "proxy":
                {
                         
                     "__metadata": {
                                "uri": "https://<API SERVER>/odata/v2/User('TEST1')",
                                "type": "SFOData.User"
                            },
                            "userId": "TEST1",
                             "status": "t"
                         
                }
 }
 
NOTE: Please add all the required fields in USER entity as mentioned in ODATA API Data Dictionary for successful Upsert

See Also

2087319 - Proxy Management: How to Grant Proxy Access to Multiple Users with the Employee Import - BizX Platform

Keywords

Proxy, assign, grant proxy, sf proxy management, API Proxy Upsert, Proxy Assignment, LOD-SF-INT-ODATA , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-API , API & Adhoc API Framework , How To

Product

SAP SuccessFactors HXM Core 2305 ; SAP SuccessFactors HXM Suite 2305