Get a document

Retrieves a document from the database by its document ID.