'Take object from response of a request and pass the same as payload by changing one value in another request

I've to take entire object from line no 694 to 981 and pass it as payload in another request. Please refer screenshot attached below:

Before passing it as payload in another request, I've to change value of one key present. Also I've to repeat the same process every time I hit request.

How to automate this?

Please help me out. Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source