Generate the JSON payload for a business rule

You can generate the JSON payload for the specific business rule and the selected API, to quickly get the JSON request and response.

  1. On the File tab of the business rule, click Developer tools.

    The Rule ID, the API type, and the API list are displayed.

  2. Select either of the following for API type.
    • SDK JSON API: You can generate the JSON payload for the API and the specific business rule.

    • SDK REST API (default): You can generate the JSON payload for a API on the REST service and the specific business rule.

    The API list appears depending on the type of API selected.

  3. Click Generate JSON payload.

    The JSON Payload pop-up window appears displaying the JSON Request and Response for the selected API.

  4. To reuse, either copy the JSON manually or click the Copy link. You can use JSON, for example, in the "Request" box for the RESTful service activity.