workdocs_get_document function

Retrieves details of a document