for (int recCount = 0; recCount < recipientList.Count; recCount++)
{
// Construct the recipients
var r1 = new Recipient
{
UserName = recipientList[recCount].RecipientName,
Email = recipientList[recCount].RecipientEmail,
ID = (recCount + 1).ToString(),
Type = RecipientTypeCode.Signer,
RoutingOrder = (ushort)(recCount + 1)
//CaptiveInfo = new RecipientCaptiveInfo { ClientUserId = i.ToString() }
};
runningList.Add(r1);
}
我在循环中设置收件人路由并使用createandsendevelope方法发送信封,但它会将所有收件人重置为相同的订单1.是否需要任何配置或仅适用于某些条件
答案 0 :(得分:0)
服务引用和.NET有趣的一件事是为某些属性生成的附加参数。对于路由顺序,还有一个名为RoutingOrderSpecified的附加参数,它指示您是否已设置RoutingOrder。这在WSDL中不存在 - 当您将api.asmx添加为服务引用时生成它。
因此,要设置路由顺序,必须另外将RoutingOrderSpecified设置为true。
我从DocuSign支持社区帖子中得到了这个解决方案,它适用于我