Skip to main content
Feedback

Configuring Endpoint Call Processing

Procedure

  1. Sign in to the Boomi Cloud API Management (Control Center) dashboard.

  2. Click API Definitions on the Get Started page or navigate to Design > APIs.

  3. On the Manage your APIs with API Definitions page, in the Name column, select the API Definition link from the list. This opens the Endpoint Settings: <your endpoint name> page.

  4. On the Endpoint: <your endpoint name> page, in the Name column, select an endpoint link or settings icon next to the row you want to configure endpoint settings.

  5. Navigate to Call Transformations. On the Call Transformations page, specify the following information in these fields:

    • Processing Adapter: com.mashery.proxy.customer.generic.api-policy-connector

      JSONPath Configuration:

      • Perform Pre-processing: Enabled

      • Data to make available for pre-processing: Enter the following data one per line:

        DataExampleNotes
        Policies: [[Policy 1, Policy2], [Policy 3]]Policies: [ [{ "Name": "Match", "Operation": "JsonPath", "ArgumentLocation": "${request.payload}", "Context": "Request", "MatchExpression": ["$.SearchRequest.api\_key"] }] ]

        This is a required field.

      • Perform Post-processing: Enabled

      • Data to make available for post-processing: Enter the following data one per line:

        DataExampleNotes
        Policies: [[Policy 1, Policy2], [Policy 3]]Policies: [{ "Name": "Match", "Operation": "JsonPath", "ArgumentLocation": "${response.payload}", "Context ": "Response ", "MatchExpression ": ["$..book[0].title "] }]

        This is a required field.

      XPath Configuration:

      • Perform Pre-processing: Enabled

      • Data to make available for pre-processing: Enter the following data one per line:

        DataExampleNotes
        Policies: [[Policy 1, Policy2], [Policy 3]]Policies: [ [{ "Name": "Match", "Operation": "XPath", "Context": "Request", "ArgumentLocation": "${request.payload}", "MatchExpression": ["/employees/employee[@id=1]/firstName/text()"] }] ]

        This is a required field.

      • Perform Post-processing: Enabled

      • Data to make available for post-processing: Enter the following data one per line:

        DataExampleNotes
        Policies: [[Policy 1, Policy2], [Policy 3]]Policies: [ [{ "Name": "Match", "Operation": "XPath", "Context": "Response", "ArgumentLocation": "${response.payload}", "MatchExpression": ["/employees/employee[@id=2]/firstName/text()"] }] ]

        This is a required field.

  6. Click Save.

On this Page