缺少API DocuSign SOAP CreateEnvelope路由顺序

缺少API DocuSign SOAP CreateEnvelope路由顺序,soap,docusignapi,Soap,Docusignapi,我正在使用此代码创建收件人 Recipient DocuSign_recipient = new Recipient(); DocuSign_recipient.RoutingOrder = 1; DocuSign_recipient.Email = contact.EMailAddress1; DocuSign_recipient.UserName = string.Format("{0} {1}", contact.FirstName, contact.LastName); DocuSign

我正在使用此代码创建收件人

Recipient DocuSign_recipient = new Recipient();
DocuSign_recipient.RoutingOrder = 1;
DocuSign_recipient.Email = contact.EMailAddress1;
DocuSign_recipient.UserName = string.Format("{0} {1}", contact.FirstName, contact.LastName);
DocuSign_recipient.Type = RecipientType;
但是API服务不接收RoutingOrder。 API DocuSign接收此

<Recipient>
    <ID>1</ID>
    <UserName>Olivier Roecker</UserName>
    <Email>olivier.roecker@toto.gov</Email>
    <Type>Signer</Type>
</Recipient>

1.
奥利维尔·罗克
奥利弗。roecker@toto.gov
签字人
有人已经见过这个案子了?
致以最诚挚的问候

我相信
路由顺序
是SOAP属性之一,您需要为它添加一个额外的标志。我以前在一些其他属性(例如custom tab)上看到过这一点,不确定为什么需要它,但要在收件人上指定路由顺序,请尝试使用以下代码:

DocuSign_recipient.RoutingOrder = 1;
DocuSign_recipient.RoutingOrderSpecified = true;
这是您缺少的第二行,在某些属性上,这需要指定。尝试一下,它会解决您的问题,并将属性放入请求中



作为参考,我在这里发现了以下内容:

我已经在REST中编写了相同的函数,一切正常,这是一个解决方法,但问题并没有通过SOAP调用得到解决。您是否使用docusign/docusign SOAP sdk?如果是,用什么语言?Recipient.RoutingOrder对于API来说是正确的,SDK可能缺少功能。快速搜索GIT SDK代码后,我看到PHP、C#、APEX中的代码片段使用了该功能,但不是Java。语言是C#,RoutingOrder被接受,因为它在WSDL清单中有描述,但没有发送到DocuSign API服务器。刚刚发布了一个解决方案,请检查并接受是否有效。