GET DocumentHistory/Get?documentHeaderId={documentHeaderId}&documentTypeId={documentTypeId}

Gets the specified Transactions Document History.

Request Information

This method supports OData queries.

URI Parameters

NameTypeAdditional informationDescription
documentHeaderId integer

Required

The Document identifier

documentTypeId integer

Required

The Document Type Id

Body Parameters

None.

Response Information

Resource Description

>Document History list.

This collection is wrapped in a paging response object.

Paging response of Document History
NameTypeAdditional informationDescription
TotalResults integer

None.

ReturnedResults integer

None.

Results Collection of Document History

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalResults": 1,
  "ReturnedResults": 2,
  "Results": [
    {
      "DocumentHistoryId": 1,
      "CompanyId": 2,
      "DocumentHeaderId": 3,
      "Date": "2024-11-15",
      "UserId": 5,
      "Username": "sample string 6",
      "Change": "sample string 7",
      "Detail": "sample string 8"
    },
    {
      "DocumentHistoryId": 1,
      "CompanyId": 2,
      "DocumentHeaderId": 3,
      "Date": "2024-11-15",
      "UserId": 5,
      "Username": "sample string 6",
      "Change": "sample string 7",
      "Detail": "sample string 8"
    }
  ]
}