Improve the performance of DX APIs and automation-based REST services by using JSON (8.6)
Improve the performance of your DX APIs and automation-based REST services by configuring JSON inputs and outputs in an automation rule. The automation then passes the JSON object directly to the REST service instead of transforming the data on a page to JSON first. This enhancement also makes it easier to call an automation from an activity.
When you configure a JSON input or output, you provide a valid OpenAPI-specific .yaml file that the system generates in the Swagger documentation of the REST service, as shown in the following figure:
To preview the data structure of the JSON sample, you can simulate a JSON response in the automation rule and update the JSON sample if needed, as shown in the following figure:
For more information, see Configuring validation for text inputs and outputs in automations and Simulating a JSON response in automations.