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 Download request:

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


Model used in Download response:

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


Model used in DownloadForSigner request:

CollectedDataForSignerModel
Name Type Description Optional
OrderId String Order Id.
SignerLocalId Int LocalId of the Signer


Model used in DownloadForSigner response:

CollectedDataForSignerResponseModel
Name Type Description Optional
ZipData String Base64 encoded Zip



Download

Description

Download a collected data or CPR validation result document.

Synopsis

POST api.esignatur.dk/CollectedDataDocument/Download

JSON Input

{
  "Id": "39bd0190-e22b-4d11-bda8-2e55974bce00",
  "DocumentIndex": 0
}

JSON Output

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


DownloadForSigner

Description

Download a collected data for a signer.

Synopsis

POST api.esignatur.dk/CollectedDataDocument/DownloadForSigner

JSON Input

{
  "OrderId": "d2b68e4c-a94c-42fb-8245-82356c0444a7",
  "SignerLocalId": 1
}

JSON Output

{
  "ZipData": "AAECAw=="
}