Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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 ""

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!