Only the latest version of the document will be shredded into the database, but the previous versions will be stored by DBXL.
By entering the URL of the DBXL DocHandler
http://<servername:port>/QdabraWebService/documents/<docid>/<docid>.xml
you can open the latest version of the document for that DocID.
But because you have enabled history for this Document Type, you can get the previous versions of this document.
To get one version before the latest version use the following URL:
http://<servername:port>/Qdabrawebservice/Documents/<DocID>v-1/<DocID>v-1.xml.
The URL would be the same as before, other than the text v-1 added after both occurrences of DocID.
If you want to get the second to last version of the document, then the URL would be http://<servername:port>/Qdabrawebservice/Documents/<DocID>v-2/<DocID>v-2.xml
And so on.
In addition, if you know the specific version number that you seek, you can specify the URL as
http://<servername:port>/Qdabrawebservice/Documents/<DocID>v<x>/<DocID>v<x>.xml
where <x> is the version of the document.