組み込み署名 - または受信者ビューワークフローは - ユーザーが自分のアプリやウェブサイトを通じて直接署名することができます。 DocuSignプラットフォームに通知する受信者を埋め込むと、アプリケーションは署名URLを生成し、受信者を認証し、署名要求を提示し、トランザクションが完了するとリダイレクトします。 Docusign Embedded Sendingについては
// set envelope status to "sent" to immediately send the signature request
envDef.Status = "sent";
// |EnvelopesApi| contains methods related to creating and sending Envelopes (aka signature requests)
EnvelopesApi envelopesApi = new EnvelopesApi();
EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(accountId, envDef);
// Create Embedded Signing View (URL)
RecipientViewRequest viewOptions = new RecipientViewRequest()
{
ReturnUrl = "https://www.docusign.com/devcenter",
ClientUserId = "1234", // must match clientUserId set in step #2!
AuthenticationMethod = "email",
UserName = envDef.Recipients.Signers[0].Name,
Email = envDef.Recipients.Signers[0].Email
};
// create the recipient view (aka signing URL)
ViewUrl recipientView = envelopesApi.CreateRecipientView(accountId, envelopeSummary.EnvelopeId, viewOptions);
組み込み送信ビューは、ユーザーがタブを編集することができます参照してください。受信者、その他のドラフト封筒の設定承認のためにそれらを送る。埋め込み署名と同様に、あなたのアプリやウェブサイトは、送信URLを生成し、リダイレクト、Webview、またはiFrameを使用してあなたのワークフローに直接統合することができます。
// must set status to "created" since we cannot open Sender View on an Envelope that has already been sent, only on draft envelopes
envDef.Status = "created";
// |EnvelopesApi| contains methods related to creating and sending Envelopes (aka signature requests)
var envelopesApi = new EnvelopesApi();
EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(accountId, envDef);
//Create Embedded Sending View (URL)
var options = new ReturnUrlRequest();
options.ReturnUrl = "https://www.docusign.com/devcenter";
// generate the embedded sending URL
ViewUrl senderView = envelopesApi.CreateSenderView(accountId, envelopeSummary.EnvelopeId, options);
URLで何をしますか? –
mailto:を利用したメールへのリンクを追加したいと思います。 – user7619044
Docusign埋め込み署名を使用する必要があります。私が答えに投稿したコードを見てください。それがあなたのために働いた場合私に教えてください。 –