Download «Unstructured (Universal) Document» (CONDRA) as an archive

To work with this method, the user must be authorized.

URL

Method

GET

URL query

/api/eds/doc/condra/body?gln=9864232319979&doc_uuid=b48aae9a-003a-453f-a40d-46d90181cdc7&file_name=wewerwer.pdf&file_type=zip

URL parameters

gln (mandatory) - string (13); the GLN number of the organization that is associated with the authorized user of the EDIN 2.0 platform at the account level;

doc_uuid (mandatory) UUID - document ID

file_name (mandatory) String - document file name

file_type (optional) String - document file type:

  • zip - as an archive in base64

Headers

Authorization

SID - token obtained during authorization

Content-Type

application/octet-stream

RESPONSE

Response transmits archive (.zip) which containing the body of the document CONDRA (.xml), the body of the signature (.p7s) and the signature letter (.pdf).

Note

If the file_type parameter specifies a value other than zip or the parameter was not transmitted in the request, then only the body of the CONDRA document with the file name passed to file_name will be downloaded.