Get Evidence
  • 07 Oct 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Get Evidence

  • Dark
    Light
  • PDF

Article summary

The Get Evidence API retrieves the complete evidence audit trail for a transaction. The evidence is produced as a single evidence pack that contains the full transaction audit trail, signer session recordings, identity validation data, and all additional evidence material.

This API can be called multiple times, but only after the transaction has been completed. The evidence is returned as a PDF file to be downloaded.

Syntax

GET /api/transaction/uuid: transaction_id/document/AuditTrailDocument/pdf

Examples

Example request

GET api/transaction/dcaad720-d1e9-47ba-a76b-a6370ef0373b/document/
AuditTrailDocument/pdf/ HTTP/1.1
Host: onespan.com
Accept: application/pdf

Example response

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/pdf
  TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aG
  lzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qg
  b2YgdGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY2
  ...
  9udGludWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGN1
  ZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=

Headers

The following headers are included in the request and the response:

Request headers

  • Accept: The response content type depends on the Accept header.

  • Authorization: The OAuth/JWT token to authenticate.

Response headers

Status codes

Status codes

Status code

Name

Description

200

OK

No error.

400

Bad Request

The transaction data is invalid.

401

Unauthorized

Invalid token.

403

Forbidden

The token does not grant transaction creation rights.

500

Internal Server Error

Server or application error.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, our interactive help assistant