Versions Compared

Key

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

Table of Contents
maxLevel3
typeflat

...

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

Code Block
titleupdateRecipients
{
	"apiUrl":"https://demo.docusign.net",
	"apiVersion":"v2",
    "integratorKey":"37f2a694-cf45-4cb3-8ee6-1396b9e75739",  
    "userName":"thulas@gmail.com",
    "password":"XXXXXXXXXXXXX",	
    "accountId":"1910007",
	"envelopeId":"324217fa-df40-4e6c-a25a-0d108674c11d",
	"signers":[{"clientUserId":"911ab6d","email":"thulasika@gmail.com","name":"thulasika@gmail.com","recipientId":"1","roleName":"signer","routingOrder":"1"}]
}

...

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="integratorKey" expression="json-eval($.integratorKey)"/>    
        <property name="userName" expression="json-eval($.userName)"/>
        <property name="password" expression="json-eval($.password)"/>		
        <property name="blocking" expression="json-eval($.blocking)"/>
		<property name="accountId" expression="json-eval($.accountId)"/>
		<property name="envelopeId" expression="json-eval($.envelopeId)"/>
        <docusign.init>
   			 <apiUrl>{$ctx:apiUrl}</apiUrl>
    		 <apiVersion>{$ctx:apiVersion}</apiVersion>
			 <integratorKey>{$ctx:integratorKey}</integratorKey>         
             <userName>{$ctx:userName}</userName>
             <password>{$ctx:password}</password>    			
             <blocking>{$ctx:blocking}</blocking>
		 </docusign.init>
         <docusign.listRecipientsInEnvelope>
    		<accountId>{$ctx:accountId}</accountId>
   			<envelopeId>{$ctx:envelopeId}</envelopeId>
		 </docusign.listRecipientsInEnvelope>
         <respond/>
      </inSequence>
      <outSequence>
         <log/>
         <send/>
      </outSequence>
   </target>
   <parameter name="serviceType">proxy</parameter>
</proxy>