cancel
Showing results for 
Search instead for 
Did you mean: 

SAP FieldGlass Additional Roles get removed after modification with API

suraj6085
Explorer
0 Kudos

Hi SAP Experts,
I am trying to update a buyer account on SAP FieldGlass
I have observed that when a buyer account is modified using the SCIM API or User Upload connector integration, the additional roles assigned to the account are removed.

Here is an example of the SCIM API call that I have tried:
(PATCH request) url: https://<tenant name>/api/v1/Users/<userId

JSON body:
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User", "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User", "urn:ietf:params:scim:schemas:extension:sap:2.0:User", "urn:ietf:params:scim:schemas:extension:fieldglass:2.0:User" ],
"name": { "familyName": "Wayne",
"givenName": "Bruce"
}

}

Here is an example of the Connector Integration API call that we have tried:

(POST request) url: https://<tenant name>/api/vc/connector/User%20Upload

JSON body:

{"headers": { "Type": "User Upload", "Number Format": "#,##9.99 (Example: 1,234,567.99)", "Transaction": "false", "Language": "English (United States)", "Update Profile Worker BU when Owner is Closed": "false", "Send Notification?": "false"},"data": [ { "Username": "WillBet", "Phone Number": "2222222222" }]}


After executing the above requests, the attributes sent in payload get updated successfully but the Additional Roles assigned to the account get removed. Why are the additional roles getting removed upon account modification with APIs ? Is there any way to preserve the additional roles assigned to the account after account modification through API ?

Thank you

Accepted Solutions (0)

Answers (0)