Connect to the REST webservice and verify your access
Perform a search to get a list of documents and the associated metadata.
Select format and download a document