Docusign CreateConsoleview returnurl不起作用

时间:2018-06-29 13:30:40

标签: c# docusignapi

我在docusign CreateConsoleView returnurl方法上遇到问题。 CreateConsoleView方法为我提供了查看URL,供用户用来查看其签名,但是当用户在验证其签名后单击关闭按钮时,docusign将用户重定向到docusign控制台页面,而不是重定向到给定的返回URL。是已知错误还是我缺少某些东西?

        ConsoleViewRequest consoleViewRequest = new ConsoleViewRequest();
        consoleViewRequest.EnvelopeId = "77cd8ac2-d69e-4c4a-9968-46ffa2a56331";
        consoleViewRequest.ReturnUrl = "https://www.google.com";

        ViewUrl viewUrl = envelopesApi.CreateConsoleView(accountId, consoleViewRequest);

1 个答案:

答案 0 :(得分:0)

尝试一下

ReturnUrlRequest urlRequest = new ReturnUrlRequest();
urlRequest.EnvelopeId = "77cd8ac2-d69e-4c4a-9968-46ffa2a56331";
urlRequest.ReturnUrl = "https://www.google.com";

EnvelopesApi envelopesApi = new EnvelopesApi();
ViewUrl viewUrl = envelopesApi.CreateConsoleView(accountId, urlRequest);