GET api/docHistory
Get all values from the History table
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
docHistoryDb| Name | Description | Type | Additional information |
|---|---|---|---|
| HistoryID | integer |
None. |
|
| DocumentID | integer |
Required |
|
| DocumentTitle | string |
None. |
|
| VersionID | integer |
None. |
|
| VersionNumber | string |
None. |
|
| PersonID | integer |
Required |
|
| PersonName | string |
None. |
|
| Action | string |
Required Max length: 30 |
|
| ActionDate | date |
Required |
|
| Note | string |
Max length: 600 |
|
| results | Collection of ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"results": null,
"HistoryID": 1,
"DocumentID": 2,
"DocumentTitle": "sample string 3",
"VersionID": 1,
"VersionNumber": "sample string 4",
"PersonID": 5,
"PersonName": "sample string 6",
"Action": "sample string 7",
"ActionDate": "2025-12-06T23:43:06.9366228+00:00",
"Note": "sample string 9"
}
application/xml, text/xml
Sample:
<docHistoryDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
<Action>sample string 7</Action>
<ActionDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:43:06.9366228Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</ActionDate>
<DocumentID>2</DocumentID>
<DocumentTitle>sample string 3</DocumentTitle>
<HistoryID>1</HistoryID>
<Note>sample string 9</Note>
<PersonID>5</PersonID>
<PersonName>sample string 6</PersonName>
<VersionID>1</VersionID>
<VersionNumber>sample string 4</VersionNumber>
</docHistoryDb>