Api.retrieveDocument

retrieveDocument(containerId, documentId)

Retrieves all data from an existing document that is currently held in the archive, including all data regarding attached images.

This method executes asynchronously and returns a promise.

Note

If the document is part of an archived document container, access to the archive is restricted and administrator or archive privileges are required to access archived content.

Arguments
  • containerId (guid()) – Unique identifier of the document container the target document belongs to.

  • documentId (guid()) – Unique identifier of the document to retrieve.

Returns

For error responses, see Error Responses.

If successful, retrieves all data from the archived document.