What's new in Customer Journeys?

Connect and learn more!
How to give empty json object in object or change the key name at runtime for REST request — 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

How to give empty json object in object or change the key name at runtime for REST request

Accepted answer
91
Views
10
Comments

Summary:

Hi Experts

I have a requirement where in I have to change the key name at runtime based on some value, not sure how to achieve this in Integration mapping

The number in below paylaod i.e. 300000000410763, 300000000410769,300000000410739,..etc change at runtime.

{

    "crossFlowInteractionList": null,

    "flowInstanceName": "Test_EF",

    "legislativeDataGroupId": 30000061694,

    "parameterIdValues": {

        "300000000410763": "Monthly Payroll",

        "300000000410769": "2024-01-01",

        "300000000410739": "2024-01-06",

        "300000000410737": "SEHA AHS ALW",

        "300000000410757": "Bank Transfer",

        "300000000410759": "Payment Account"

    },

    "scheduleEndTime": null,

    "scheduleFormulaName": null,

    "scheduleStartTime": null

}



Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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