Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleping
{
	"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

...

Code Block
languagehtml/xml
titleSample 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>