| GetDocumentHistory | Scroll | 
REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/GetDocumentHistory
SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetDocumentHistory
Returns the history of the specified Thereforeâ„¢ document.
Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetDocumentHistory
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â– DocNo | xs:int | mandatory | Sets the number of the document to get history for. | 
Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetDocumentHistoryResponse
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â–¡ DocumentHistory | 
 | nillable | Gets the list of the document history entries. | 
| ≡ WSDocumentHistoryEntry | 
 | list nillable | |
| â–¡ Comment | xs:string | nillable | Gets the check-in comment for the history entry. | 
| â– CreatedOn | xs:dateTime | 
 | Gets the date and time the history entry was created in UTC. | 
| â–¡ UserName | xs:string | nillable | Gets the user name of the user who caused the history entry. | 
| â– VersionNo | xs:int | 
 | Gets the document version number of the history entry. | 
| â–¡ CreatedOnISO8601 | xs:string | nillable | Gets the date and time the history entry was created in UTC (in ISO 8601 format, UTC). | 
Legend:
| â– | Not nillable element. | 
| â–¡ | Nillable element. | 
| ≡ | List of elements. | 
| Bold | Mandatory element. |