JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. Configuring Endpoint Call Processing 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 (one per line): Pre-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [ [{ "Name": "Match", "Operation": "JsonPath", "ArgumentLocation": "${request.payload}", "Context": "Request", "MatchExpression": ["$.SearchRequest.api_key"] }] ] Mandatory Perform Post-Processing: Enabled Data to make available for post-processing (one per line): Post-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [{ "Name": "Match", "Operation": "JsonPath", "ArgumentLocation": "${response.payload}", "Context ": "Response ", "MatchExpression ": ["$..book[0].title "] }] Mandatory XPath Configuration Perform Pre-Processing: Enabled Data to make available for pre-processing (one per line): Pre-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [ [{ "Name": "Match", "Operation": "XPath", "Context": "Request", "ArgumentLocation": "${request.payload}", "MatchExpression": ["/employees/employee[@id=1]/firstName/text()"] }] ] Mandatory Perform Post-Processing: Enabled Data to make available for post-processing (one per line): Post-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [ [{ "Name": "Match", "Operation": "XPath", "Context": "Response", "ArgumentLocation": "${response.payload}", "MatchExpression": ["/employees/employee[@id=2]/firstName/text()"] }] ] Mandatory
JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. Configuring Endpoint Call Processing 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 (one per line): Pre-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [ [{ "Name": "Match", "Operation": "JsonPath", "ArgumentLocation": "${request.payload}", "Context": "Request", "MatchExpression": ["$.SearchRequest.api_key"] }] ] Mandatory Perform Post-Processing: Enabled Data to make available for post-processing (one per line): Post-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [{ "Name": "Match", "Operation": "JsonPath", "ArgumentLocation": "${response.payload}", "Context ": "Response ", "MatchExpression ": ["$..book[0].title "] }] Mandatory XPath Configuration Perform Pre-Processing: Enabled Data to make available for pre-processing (one per line): Pre-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [ [{ "Name": "Match", "Operation": "XPath", "Context": "Request", "ArgumentLocation": "${request.payload}", "MatchExpression": ["/employees/employee[@id=1]/firstName/text()"] }] ] Mandatory Perform Post-Processing: Enabled Data to make available for post-processing (one per line): Post-Input Data as shown in the following table. Data Example Notes Policies: [[Policy 1, Policy2], [Policy 3]] Policies: [ [{ "Name": "Match", "Operation": "XPath", "Context": "Response", "ArgumentLocation": "${response.payload}", "MatchExpression": ["/employees/employee[@id=2]/firstName/text()"] }] ] Mandatory