docusign api:添加代理收件人

时间:2014-03-17 13:50:36

标签: docusignapi

你可以帮我解决下面的问题吗? 我目前正在使用demologin连接到docusign并发送一个包含3个收件人的信封 - 代理,签名者,签名者。我的代理人应该能够查看和更改第一个签名者的电子邮件地址和姓名。我为代理设置了以下标签为真。

<canEditRecipientEmails>true</canEditRecipientEmails> 
<canEditRecipientNames>true</canEditRecipientNames>

我还在第一位签名者身上添加了以下标签,虽然它们没有效果:

<agentCanEditEmail>true</agentCanEditEmail>
<agentCanEditName>true</agentCanEditName>

当代理收到电子邮件并将其打开时,它会显示:&#34;没有收件人可以解决。 点击“完成并发送”#39;完成这个信封的部分。&#34; 我期待以下信息 &#34;您被要求查看并添加收件人信息。 请输入相关角色的电子邮件地址和名称,然后点击“完成并发送”。&#39;。&#34; 在我的xml中,如果我留下signer1电子邮件地址和名称,那么它工作正常,代理可以输入电子邮件地址和名称。 如果我的xml有任何问题,请告诉我:

<envelopeDefinition xmlns="http://www.docusign.com/restapi">
    <emailSubject>Total Gas  Power Contract for Signature</emailSubject>
    <status>sent</status>
    <documents>  <document>  <name>  documentName 
    </name>  <documentId>1</documentId>  <order>1</order> 
    </document>  </documents>                
    <recipients> 
    <agents>  <agent>  <email>  custEmail  </email> 
    <name>  recipientNameCust  </name> 
     <RoleName>Broker</RoleName>
    <recipientId>1</recipientId> 
    <routingOrder>1</routingOrder> 
    <canEditRecipientEmails>true</canEditRecipientEmails> 
    <canEditRecipientNames>true</canEditRecipientNames> 
    </agent>  </agents> 
    <signers>  <signer> 
    <email>  custEmail  </email>  <name>  recipientNameCust  </name> 
     <RoleName>Customer</RoleName>
    <recipientId>2</recipientId> 
    <routingOrder>2</routingOrder> 
    <agentCanEditEmail>true</agentCanEditEmail> 
    <agentCanEditName>true</agentCanEditName> 
     <tabs> 
    <signHereTabs> 
    <signHere> 
    <anchorString>SIGNED on behalf of the Customer</anchorString> 
    <anchorXOffset>10</anchorXOffset> 
    <anchorYOffset>50</anchorYOffset> 
    <anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent> 
    <anchorUnits>Pixels</anchorUnits> 
    <documentId>1</documentId>  <recipientId>2</recipientId> 
    <tabLabel>Sign Here1</tabLabel>  <name>SignHere1</name> 
    </signHere>  </signHereTabs> 
    </tabs>         
    </signer> 
    <signer>  <email>  receipientEmail  </email> 
    <name>  recipientNameTotal  </name> 
    <RoleName>Counter Signee</RoleName>
    <recipientId>3</recipientId> 
    <routingOrder>3</routingOrder>  <tabs> 
    <signHereTabs> 
    <signHere> 
    <anchorString>SIGNED on behalf of Total Gas</anchorString> 
    <anchorXOffset>10</anchorXOffset> 
    <anchorYOffset>50</anchorYOffset> 
    <anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent> 
    <anchorUnits>Pixels</anchorUnits> 
    <documentId>1</documentId>  <recipientId>3</recipientId> 
    <tabLabel>Sign Here2</tabLabel>  <name>SignHere2</name> 
    </signHere>  </signHereTabs>  </tabs> 
    </signer>  </signers> 
    </recipients> 
</envelopeDefinition>

1 个答案:

答案 0 :(得分:0)

您收到消息&#34;没有收件人要处理&#34;因为您已经为两位签名者填写了收件人信息,因此代理商无法输入任何信息。要解决尝试删除每个(或只是其中一个字段)的名称和电子邮件,然后代理将能够设置他们的信息。我只是测试一下,一旦我为签名者删除了那些字段就可以了。

因此,xml的收件人部分应如下所示:

<recipients>
  <agents>
     <agent>
        <email>custEmail</email>
        <name>recipientNameCust</name>
        <recipientId>1</recipientId>
        <routingOrder>1</routingOrder>
        <canEditRecipientEmails>true</canEditRecipientEmails>
        <canEditRecipientNames>true</canEditRecipientNames>
     </agent>
  </agents>
  <signers>
     <signer>
        <recipientId>2</recipientId>
        <routingOrder>2</routingOrder>
        <tabs>
           <signHereTabs>
              <signHere>
                 <anchorString>SIGNED on behalf of the Customer</anchorString>
                 <anchorXOffset>10</anchorXOffset>
                 <anchorYOffset>50</anchorYOffset>
                 <anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>
                 <anchorUnits>Pixels</anchorUnits>
                 <documentId>1</documentId>
                 <recipientId>2</recipientId>
                 <tabLabel>Sign Here1</tabLabel>
                 <name>SignHere1</name>
              </signHere>
           </signHereTabs>
        </tabs>
     </signer>
     <signer>
        <recipientId>3</recipientId>
        <routingOrder>3</routingOrder>
        <tabs>
           <signHereTabs>
              <signHere>
                 <anchorString>SIGNED on behalf of Total Gas</anchorString>
                 <anchorXOffset>10</anchorXOffset>
                 <anchorYOffset>50</anchorYOffset>
                 <anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>
                 <anchorUnits>Pixels</anchorUnits>
                 <documentId>1</documentId>
                 <recipientId>3</recipientId>
                 <tabLabel>Sign Here2</tabLabel>
                 <name>SignHere2</name>
              </signHere>
           </signHereTabs>
        </tabs>
     </signer>
  </signers>
</recipients>
相关问题