The message from the API is transformed by using the XSLT or JOLT definitions and message is sent to client with Response Message Transformation policy.For example; you can return the email field from the API to the client as e-mail.
The fields in the Response Message Transformation window are entered to add an Response Message Transformation policy. A description of these areas is given below.
Name: If you want to add a global policy, the name information is entered.
Description: A description can be entered to make policy selections easier.
Message Type: Apinizer supports Jolt transform technology for JSON,XSLT transform technology for XML. The appropriate type for the message is selected.
Transformation Definition: Messages are written to be transformed before they are forwarded to the client.
Error Message Customization: Enter the Error Code and Error Message that you want to customize for this policy.