Step 3

Download a document

Documents are downloaded from an URL extended from the base URL described in step 2.

The URL is constructed by extending the base url with "/object/"+documentId , in addition to _userId and _trackingCode as get parameters.


 

Conversion to PDF

Documents can also be converted to PDF on the fly if the format supports it (by adding a format parameter to the URL, with the MIME type for PDF as value). For SDO documents, it is also possible to have an extra page appended with signature information. This is specified with the "signatures" parameter, and a value of true or false. For more information on formats and mime types, see Document formats.


 

Download

If the archive contains a document of type SDO with the documentId 12345123451234512345123456, it can be downloaded as a PDF with attached signature information using the following URL:

https://arkiv-test.nets.no/arkiv-rest-generic/external/912341234/eArchive/documents/object/12345123451234512345123456?_userId=charles&_trackingCode=1000000025&format=application/pdf&signatures=true