DocuSign SOAP Expirations未设置

时间:2016-08-23 19:44:55

标签: c# soap docusignapi

我正在使用C#在DocuSign中使用SOAP API。 在信封上,我试图将截止日期设置为2016年底。根据DocuSign支持,允许的最大值为999.但是当我在网站上以正确模式查看信封时,我看不到日期设置。我们公司将它设定为90天,这是我看到的失效日期。

DocuSignAPI.Envelope envelope = new DocuSignAPI.Envelope();
envelope.EnableWetSign = false;  
envelope.AllowReassign = false;
DocuSignAPI.Expirations exp = new DocuSignAPI.Expirations();
exp.ExpireEnabled = true;
exp.ExpireAfter = "128";
exp.ExpireWarn = "0";

1 个答案:

答案 0 :(得分:0)

                        DocuSignAPI.Notification ntf = new DocuSignAPI.Notification();
                    envelope.Notification = ntf;
                    DocuSignAPI.Reminders rem = new DocuSignAPI.Reminders();
                    DocuSignAPI.Expirations exp = new DocuSignAPI.Expirations();
                    envelope.Notification.Expirations = exp;
                    exp.ExpireEnabled = true;
                    exp.ExpireAfter = totDays.ToString();
                    exp.ExpireWarn = "0";