Get a link to download a specific document from ADAS.
Version 2.0.0
Endpoint
GET
undefined/archive/document-url/{id}
Copy
based on a document ID (_id), returns a download link containing a SAS (Shared Access Signature) to download the actual requested document. The SAS, hence the link, is available for 24 hours in which you can download the file requested.
Path Parameters
- idstringRequiredThe Document ID (_id) found in the search document results.
Query Parameters
- fullDocumentbooleanApplicable to AFP files only, when set to true, get the entire AFP file (may contain multiple documents) When false, gets one document our of the file (might be a subset of the whole document).
- cmodDocIdbooleanOptional. Default - false. When set to true, it means that the id provided to search by, as a resouce, is a cmodDocId and not an ADAS ID. (DV feature only).
Body Parameters
Responses
successful operation.
Body
application/json
- objectRequired
- downloadUrlstringThe download link containing a SAS (Shared Access Signature). The SAS, hence the link, is available for 24 hours in which you can dlwonload the file.Example: https://prod02adasblobdpcust.blob.core.windows.net/archive/NEXTGEN_AG_S%2F2023%2F09%2F09%2F726185bb-12af-42a1-81fd-9029ce7fe1dc?sv=2023-08-03&se=2023-12-13T12%3A32%3A21Z&sr=b&sp=r&sig=SwFMySLm0RrzckE3uE6P3KoYFOZY15epVXsv13StQrU%3D
- filenamestringThe filename as uploaded to ADAS / Migrated from CMOD including its extension. For partial AFP document the extension of a single document is changed to .afp even if the original document is a .out file.Example: my-upload-file-1973.pdf