...
You will see that the ESB uses the Script mediator and the function specified function to in the configuration to convert the custom request to a standard quote request, and that the response received is subsequently transformed and sent back to the client.
...