This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Working with Connections in Zuora

Overview

The following operations allow you to work with connections. Click an operation name to see details on how to use it.

For a sample proxy service that illustrates how to work with transactions, see Sample configuration.

Operations
Descriptions
checkConnectionsEstablishes a connection to the Zuora REST API service based on a valid user credentials

Operation details

This section provides further details on the operations related to discussions.

 Check Connections

The checkConnections operation establishes a connection.

checkConnections
<zuora.checkConnections/>
Related Zuora documentation

http://knowledgecenter.zuora.com/BC_Developers/REST_API/B_REST_API_reference/Connections

 Sample configuration
Sample proxy
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="zuora_checkConnection"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <property name="apiUrl" expression="json-eval($.apiUrl)"/>
         <property name="apiVersion" expression="json-eval($.apiVersion)"/>
         <property name="apiAccessKeyId" expression="json-eval($.apiAccessKeyId)"/>
         <property name="apiSecretAccessKey" expression="json-eval($.apiSecretAccessKey)"/>
         <zuora.init>
            <apiUrl>{$ctx:apiUrl}</apiUrl>
            <apiVersion>{$ctx:apiVersion}</apiVersion>
            <apiAccessKeyId>{$ctx:apiAccessKeyId}</apiAccessKeyId>
            <apiSecretAccessKey>{$ctx:apiSecretAccessKey}</apiSecretAccessKey>
         </zuora.init>
         <zuora.checkConnections/>
         <respond/>
      </inSequence>
   </target>
   <description/>
</proxy>