在docuSign中完成签名后如何重定向回 [英] How to redirect to back after signing completion in docuSign

查看:450
本文介绍了在docuSign中完成签名后如何重定向回的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过此API http://iodocs.docusign.com/APIWalkthrough来嵌入签名工作流/ embeddedSigning

I'm trying to embedded signing workflow through this API http://iodocs.docusign.com/APIWalkthrough/embeddedSigning

成功执行此操作后,我得到了此响应

after successfully execution of this I got this response

API Call Result:  { url: 'https://demo.docusign.net/Member/StartInSession.aspx?t=sdf34f6-8592-4250-83a8-4bf34f5g3t' }

Navigate to the above URL to start the Embedded Signing workflow...

我在浏览器中手动打开了该URL,然后试图签名。唱歌后,它要求单击完成以完成此过程(很明显)。但是当我单击它时,它重定向到 http://www.docusign.com/developer- center?event = signing_complete ,但我想要一些东西以便决定回调URL,即要重定向到的URL。就我而言,我想重定向到应用程序的主页ttp://www.myapp.com/

I opened this url in browser manually and tried to sign. after singing it asked to click on finish to complete this process(as obvious). but when I click on this it redirect to http://www.docusign.com/developer-center?event=signing_complete but I want something so that I can decide callback URL, I mean url which I want to redirect to. In my case I would like to redirect to my application's home page ttp://www.myapp.com/

如何使用V2 REST API做到这一点?

How could I achieve that using the V2 REST API?

推荐答案

要指定在签名会话结束时浏览器重定向的位置,只需设置 returnUrl POST收件人视图 API请求中的code>参数(即,您发送到DocuSign以接收用于启动签名会话的URL的请求)。请参阅REST API指南的第167页( http://www.docusign.com/ site / default / files / REST_API_Guide_v2.pdf )以获取有关此参数的说明-包括DocuSign将添加到末尾的 event 查询字符串参数的可能值您指定的returnUrl 。应用程序的登录页面(即由 returnUrl 表示)可以使用 event 参数的值来了解签名会话的结果,并显示适当的消息等。

To specify where the browser redirects when the signing session ends, you simply set the returnUrl parameter in the POST Recipient View API request (i.e., the request that you sent to DocuSign in order to receive the URL to launch the Signing Session). See page 167 of the REST API guide (http://www.docusign.com/sites/default/files/REST_API_Guide_v2.pdf) for a description of this parameter -- including the possible values of the event querystring parameter that DocuSign will add onto the end of the returnUrl that you specify. Your application's landing page (i.e., represented by returnUrl) can use the value of the event parameter to know the outcome of the signing session, and display the appropriate messaging, etc.

这篇关于在docuSign中完成签名后如何重定向回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆