demellor

Has Signer Downloaded

0 votes

Is there a way using the API to tell if the SENDER has downloaded the transaction?  We want to check before we enable the 120 day retention rule

Richard DeMello


Reply to: Has Signer Downloaded

0 votes

Hi Richard,

 

Try to pull the audit events via the API:
GET /api/packages/{packageId}/audit

Or SDK function:

List<Audit> myaudit = eslClient.AuditService.GetAudit(packageId);

 

Below is an example response, where I as a sender has downloaded the zipped file:

{
  "package-id": "07YTkf-tiKA0IBdIm5hvAI-cPzE=",
  "audit-events": [
    {
      "type": "Download Zip",
      "date-time": "2021-04-22 15:51:03",
      "target": "07YTkf-tiKA0IBdIm5hvAI-cPzE=",
      "target-type": "Package",
      "user": "duo Liang",
      "user-email": "[email protected]",
      "user-ip": "17x.2xx.6x.1xx",
      "data": ""
    }
  ]
}

The attributes that may interest you are the:

"type" - either it's download zip or download signed documents one by one

"date-time" - after package completion and before package get purged

"user-email" - should be sender's email

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


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