Download related document content
GET https://{{host}}/athento/api/v1/id/a7e7c74c-ca91-41d0-9f47-c4960ed99b13/@blob/files:files/5/file
Download the content of a related document of a document.
Permissions
The user needs read permission on the document and on the related document.
URL parameters
This web service requires two parameters in the URL.
https://{{host}}/athento/api/v1/id/<parent_document_uuid>/@blob/files:files/<related_document_index>/file
Parameters:
- parentdocumentuuid: Uuid of the parent document of the related document to download.
- relateddocumentindex: Index of the related document. To know the index of the related document we can use the endpoint
**https://{{host}}/file/api/file//related**
, and check the position of the related document in the list. The first position is the index 0, the second position is the index 1, so on and so forth.