2015-04-03 61 views
0
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

是您的請求,將其設置爲1或者是數據設置爲1,不料信封? – Andrew 2015-04-03 15:33:54

+0

我有檢查日誌,它會變成1意外的 – 2015-04-04 20:29:11

+0

你可以發佈你實際發送給DocuSign的內容嗎? – Andrew 2015-04-04 20:40:41

回答

0

服務引用和.NET有趣的一件事是爲某些屬性生成的附加參數。對於路由順序,還有一個名爲RoutingOrderSpecified的附加參數,它指示是否設置了RoutingOrder。這在WSDL中不存在 - 它是在將api.asmx添加爲服務引用時生成的。

因此,要設置路由順序,還必須將RoutingOrderSpecified設置爲true。

我接到的DocuSign支持社區留言本的分辨率和它爲我

http://community.docusign.com/t5/DocuSign-API-Integration-NET-READ-ONLY/Recipient-RoutingOrder-not-working/td-p/1885