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.
Operation | Description |
---|---|
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.
<docusign.ping> </docusign.ping>
Sample request
Following is a sample REST request that can be handled by the ping
operation.
{ "apiUrl":"https://demo.docusign.net", "apiVersion":"v2", "accessToken":"5fS3n7ELQPcD4s7OSdpMgoznqwk=", }
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.
<?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>