Last active
January 7, 2016 23:17
-
-
Save Ergin008/678430a6ab93ce91e194 to your computer and use it in GitHub Desktop.
code snippet that shows how to request a signing URL for a recipient
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RecipientViewRequest viewOptions = new RecipientViewRequest() | |
{ | |
ReturnUrl = "https://www.docusign.com/devcenter", | |
ClientUserId = "1234", // must match clientUserId set in step #2! | |
AuthenticationMethod = "email", | |
UserName = "[SIGNER_NAME]", | |
Email = "[SIGNER_EMAIL]" | |
}; | |
// create the recipient view (aka signing URL) | |
ViewUrl recipientView = envelopesApi.CreateRecipientView(accountId, "[ENVELOPE_ID]", viewOptions); | |
// print the JSON response | |
Console.WriteLine("ViewUrl:\n{0}", JsonConvert.SerializeObject(recipientView)); | |
// Start the embedded signing session | |
System.Diagnostics.Process.Start(recipientView.Url); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment