Solved
Want to update multilevel Dictionary

I want to update milestones with a new list of dictionary. Is there any way to do that?

I want to update milestones with a new list of dictionary. Is there any way to do that?

a!localVariables(
local!map: a!map(
success: true,
statusCode: 200,
body: {
cobMstrld: "CONB100227",
onBoardingStatus: "IN_PROGRESS",
milestones: { { id: 1 }, { id: 2 }, { id: 3 } }
}
),
local!body: local!map.body,
local!updatedMilestones: { { id: 4 }, { id: 5 }, { id: 6 } },
a!update(
local!map,
"body",
a!update(
local!body,
"milestones",
local!updatedMilestones
)
)
)Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.