CollectedDataDocument

When an order is complete - that is, all have signed - any collected data documents and CPR order validation documents can be downloaded.

Note! The output from this method tends to be quite large.

Model used in the request:

CollectedDataDocumentModel
Name Type Description Optional
Id String Order Id.
DocumentIndex Int Index of document (zero based index).


Model used in the response:

CollectedDataDocumentResponseModel
Name Type Description Optional
Filename String Document filename.
DocumentData String Base64 encoded document.
DocumentFormat String Document format.



Download

Description

Download a collected data or CPR validation result document.

Synopsis

POST api.esignatur.dk/CollectedDataDocument/Download

JSON Input

{
  "Id": "fc7a42d1-7c8b-4b75-b4d7-1bb0ab2f1150",
  "DocumentIndex": 0
}

JSON Output

{
  "Filename": "1 - CPR validering for Ano Nym.pdf",
  "DocumentData": "AAECAw==",
  "DocumentFormat": "Pdf"
}