POST api/InsightsSpecific/InvoiceHistories?tenantID={tenantID}&cultureCode={cultureCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenantID

integer

Default value is 0

cultureCode

string

Default value is en-US

Body Parameters

HistoryList
NameDescriptionTypeAdditional information
HistoryIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HistoryIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<InsightsSpecificController.HistoryList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FraxionSM.API.Controllers">
  <HistoryIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </HistoryIDs>
</InsightsSpecificController.HistoryList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of InvoiceHistoryDto
NameDescriptionTypeAdditional information
InvoiceHistoryID

integer

None.

InvoiceID

integer

None.

EmployeeID

integer

None.

CurrentStateID

integer

None.

DateStamp

date

None.

UserAction

string

None.

Info

string

None.

Note

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "InvoiceHistoryID": 1,
    "InvoiceID": 2,
    "EmployeeID": 3,
    "CurrentStateID": 4,
    "DateStamp": "2025-12-07T16:38:48.1386125+00:00",
    "UserAction": "sample string 6",
    "Info": "sample string 7",
    "Note": "sample string 8"
  },
  {
    "InvoiceHistoryID": 1,
    "InvoiceID": 2,
    "EmployeeID": 3,
    "CurrentStateID": 4,
    "DateStamp": "2025-12-07T16:38:48.1386125+00:00",
    "UserAction": "sample string 6",
    "Info": "sample string 7",
    "Note": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInsightsSpecificController.InvoiceHistoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FraxionSM.API.Controllers">
  <InsightsSpecificController.InvoiceHistoryDto>
    <CurrentStateID>4</CurrentStateID>
    <DateStamp>2025-12-07T16:38:48.1386125+00:00</DateStamp>
    <EmployeeID>3</EmployeeID>
    <Info>sample string 7</Info>
    <InvoiceHistoryID>1</InvoiceHistoryID>
    <InvoiceID>2</InvoiceID>
    <Note>sample string 8</Note>
    <UserAction>sample string 6</UserAction>
  </InsightsSpecificController.InvoiceHistoryDto>
  <InsightsSpecificController.InvoiceHistoryDto>
    <CurrentStateID>4</CurrentStateID>
    <DateStamp>2025-12-07T16:38:48.1386125+00:00</DateStamp>
    <EmployeeID>3</EmployeeID>
    <Info>sample string 7</Info>
    <InvoiceHistoryID>1</InvoiceHistoryID>
    <InvoiceID>2</InvoiceID>
    <Note>sample string 8</Note>
    <UserAction>sample string 6</UserAction>
  </InsightsSpecificController.InvoiceHistoryDto>
</ArrayOfInsightsSpecificController.InvoiceHistoryDto>