Get Evidence

The Get Evidence API with the Audit Trail option retrieves the complete evidence audit trail for a transaction with ID {{transaction_id}}. Transaction electronic evidence is produced as a Single Evidence Pack containing 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 will be returned as a PDF file to be downloaded.

Syntax

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

Examples

Example request

  1. GET api/transaction/dcaad720-d1e9-47ba-a76b-a6370ef0373b/document/ AuditTrailDocument/pdf/ HTTP/1.1

  2. Host: onespan.com

  3. Accept: application/pdf

Example response

  1. HTTP/1.1 200 OK

  2. Vary: Accept
  3. Content-Type: application/pdf
  4.   TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aG   lzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qg   b2YgdGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY2   ...   9udGludWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGN1   ZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=

Headers

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

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 lists the status codes.

Status codes
Status code Name Description
200 OK

No error.

400 Bad Request The transaction data are invalid.
401 Unauthorized Invalid token.
403 Forbidden The token does not grant transaction creation rights.
500 Internal Server Error Server or application error.