CopySigningSession
Copies a current signing session.
Returns – A SessionResponse containing a Signing Session Id and a Session Object. (See SessionResponse in Appendix B)
Parameters
Name | Type | Description |
---|---|---|
encryptedToken | string | Required. Encrypted Token returned from client authentication. Returns null if token has expired or is invalid. |
copyOptions | CopyOptions | Required. See CopyOptions class in Appendix B |
sesssion | Session | Required. See Session class in Appendix B |
Example – C#
[gdlr_notification icon=”none” type=”color-border” border=”#31BEF9″ color=”#000000″]
ServiceAPIClient ws = new ServiceAPIClient();
SessionResponse sessionResponse;
Session copySession = new Session();
copySession.SessionInfo = new SessionInfo();
copySession.SigningSessionId = signingSessionId;
copySessionConfig.SessionInfo.TransactionId = “Copy Sign Session”;
copySessionConfig.SessionInfo.TransactionTitle = “Copy Sign Session”;
CopyOptions copyOptions = new CopyOptions();
copyOptions.Version = 0;
copyOptions.RetainFields = true;
Signer signer;
List<Signer> signers = new List<Signer>();
signer = new Signer();
signer.SignerId = “signerId”;
signer.EmailAddress = “emailAddress@docs.constellation1.com”;
signers.Add(signer);
signer = new Signer();
signer.SignerId = “signerId”;
signers.Add(signer);
signer = new Signer();
signer.EmailAddress = “emailAddress2@docs.constellation1.com”;
signers.Add(signer);
copySession.Signers = signers.ToArray();
sessionResponse = ws.CopySigningSession(encryptedToken, copyOptions, copySession);
[/gdlr_notification]