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/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


Overview

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

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

OperationDescription

ping

To view the base resources available for a version.

Operation details

This section provides details on each of the operations.

View the base resources

This operation allows you to view the base resources available for a version.

ping
<docusign.ping>
</docusign.ping>
Sample request

Following is a sample REST request that can be handled by the ping operation.

ping
{
	"apiUrl":"https://demo.docusign.net",
	"apiVersion":"v2",
	"accessToken":"5fS3n7ELQPcD4s7OSdpMgoznqwk=",
}
Related DocuSign API documentation

https://docs.docusign.com/esign/guide/appendix/rest_api_base_url.html

Sample configuration

Following is a sample proxy service that illustrates how to connect to DocuSign with the init operation and use the ping operation. The sample request for this proxy can be found in ping sample request. You can use this sample as a template for using other operations in this category.

Sample Proxy
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="createList"
       transports="https http"
       startOnLoad="true"
       trace="disable">
   <description/>
   <target>
      <inSequence>
        <property name="apiUrl" expression="json-eval($.apiUrl)"/>
		<property name="apiVersion" expression="json-eval($.apiVersion)"/>
		<property name="accessToken" expression="json-eval($.accessToken)"/>
		<property name="blocking" expression="json-eval($.blocking)"/>
      	<docusign.init>
    		<apiUrl>{$ctx:apiUrl}</apiUrl>
    		<apiVersion>{$ctx:apiVersion}</apiVersion>
    		<accessToken>{$ctx:accessToken}</accessToken>
   			<blocking>{$ctx:blocking}</blocking>
	    </docusign.init>
        <docusign.ping>
		</docusign.ping>
         <respond/>
      </inSequence>
      <outSequence>
         <log/>
         <send/>
      </outSequence>
   </target>
   <parameter name="serviceType">proxy</parameter>
</proxy>
  • No labels