Docusign CreateConsoleview returnurl not working
Docusign CreateConsoleview returnurl not working
I am having issue with docusign CreateConsoleView returnurl method. CreateConsoleView method gives me view url that is used by user to see their signature, but when user clicks close button after verify their signature, docusign redirecting the user to docusign console page instead of redirecting to given return url. Is it known bug or am i missing something?
ConsoleViewRequest consoleViewRequest = new ConsoleViewRequest();
consoleViewRequest.EnvelopeId = "77cd8ac2-d69e-4c4a-9968-46ffa2a56331";
consoleViewRequest.ReturnUrl = "https://www.google.com";
ViewUrl viewUrl = envelopesApi.CreateConsoleView(accountId, consoleViewRequest);
1 Answer
1
Try this
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);
Also, CreateConsoleView does not accept ReturnUrlRequest and it only accept ConsoleViewRequest.
– vivek
Jun 29 at 13:47
Please refer below link. developers.docusign.com/esign-rest-api/code-examples/…
– Krunal Patel
Jun 29 at 13:53
I already went through that page and the example code is not useful. They creating ReturnurlRequest but not passing to CreateConsoleView method. In that example there is no envelope id is passed and it will redirect the user to docusign console page
– vivek
Jun 29 at 14:00
I m now sure but try this csharp.hotexamples.com/examples/-/ConsoleViewRequest/-/…
– Krunal Patel
Jun 29 at 14:10
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
I tried to use that one but ReturnUrlRequest doesnt have EnvelopeId.
– vivek
Jun 29 at 13:40