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": "de6dfa4f-3ff1-440e-baeb-dab46c2c0662",
  "DocumentIndex": 0
}

JSON Output

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