Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
REST Adapter for Fusion API doesnt form payload well if it has "" — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST Adapter for Fusion API doesnt form payload well if it has ""

Accepted answer
16
Views
4
Comments
edited Nov 26, 2020 5:39AM in Integration 4 comments

Summary

REST Adapter doesnt form payload well if it has "[" & "]"

Content

We have a requirement where we need to call a fusion Bulk REST API (Role removal API) and see the below issue:

https://<fusion URL>/hcmRestApi/scim/Bulk

The payload that needs to be formed is as below:

{

"Operations": [
        {
            "method": "PATCH",
            "path": "/Roles/009A67DC641E8901E050F50A84316AB6",
            "bulkId": "clientBulkId1",
            "data": {
                "members": [
                    {
                        "value": "3F7CB6B07A79E63CE050C80AABA81338",
                        "operation": "REMOVE"
                    }
                ]
            }
        },
        {
            "method": "PATCH",
            "path": "/Roles/009A67DC643A8901E050F50A84316AB6",
            "bulkId": "clientBulkId1",
            "data": {
                "members": [
                    {
                        "value": "3F7CB6B07A79E63CE050C80AABA81338",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!