Signer Status

0 votes
How would I find out if a signer has signed/opted out/declined using the .net API?

Approved Answer

Reply to: Signer Status

1 votes
You can retrieve this information in two ways:
  1. You can setup setup callback event notifications and listen to PACKAGE_OPT_OUT / PACKAGE_DECLINE events. For help setting these up, take a look, here: https://www.esignlive.com/blog/e-signlive-how-to-setting-up-callbacks/ and our documentation: http://docs.e-signlive.com/doku.php?id=esl:e-signlive_guide_event-notification
  2. If you don't want to setup callbacks, you could also get the information (opted_out or declined) using the audit trail. Below is a sample code on how you would do so:
    PackageId packageId = new PackageId("a1685bc8-797d-4f41-a6ae-167ccf4cf53f");
    List audit_trail = eslClient.AuditService.GetAudit(packageId);
    foreach (Audit audit in audit_trail)
          Debug.WriteLine(audit.email + " " + audit.type);
Haris Haidary OneSpan Technical Consultant

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off