I need to create a function or a Custom Endpoint in LAC which will accept a request XML body and transform it and then we need to call another resource.
I know how to call a resource from a function but what I need to know how we can accept a request XML body in the request and how we can transform it. By transforming it I mean to change some node name.
For Example below will the request body.
After Transforming the above request I need the below payload which will be sent to the resource endpoint
The issue is I am not able to log or capture the request packet using the function in LAC 4.1.