POST api/Agents/GetInvoiceAgentHistory
Request Information
URI Parameters
None.
Body Parameters
HistoryRequestName | Description | Type | Additional information |
---|---|---|---|
IdAgent | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdAgent": 1 }
text/html
Sample:
{"IdAgent":1}
application/xml, text/xml
Sample:
<HistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataTransferObjects"> <IdAgent>1</IdAgent> </HistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of GetInvoiceAgentHistoryResultName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
DateFrom | date |
None. |
|
DateTo | date |
None. |
|
DebitOnAccount | decimal number |
None. |
|
Description | string |
None. |
|
HistoryType | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "DateFrom": "2025-04-28T11:10:45.8824186-04:00", "DateTo": "2025-04-28T11:10:45.8980448-04:00", "DebitOnAccount": 2.0, "Description": "sample string 3", "HistoryType": "sample string 4" }, { "ID": 1, "DateFrom": "2025-04-28T11:10:45.8824186-04:00", "DateTo": "2025-04-28T11:10:45.8980448-04:00", "DebitOnAccount": 2.0, "Description": "sample string 3", "HistoryType": "sample string 4" } ]
text/html
Sample:
[{"ID":1,"DateFrom":"2025-04-28T11:10:45.8824186-04:00","DateTo":"2025-04-28T11:10:45.8980448-04:00","DebitOnAccount":2.0,"Description":"sample string 3","HistoryType":"sample string 4"},{"ID":1,"DateFrom":"2025-04-28T11:10:45.8824186-04:00","DateTo":"2025-04-28T11:10:45.8980448-04:00","DebitOnAccount":2.0,"Description":"sample string 3","HistoryType":"sample string 4"}]
application/xml, text/xml
Sample:
<ArrayOfGetInvoiceAgentHistoryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataBases"> <GetInvoiceAgentHistoryResult> <DateFrom>2025-04-28T11:10:45.8824186-04:00</DateFrom> <DateTo>2025-04-28T11:10:45.8980448-04:00</DateTo> <DebitOnAccount>2</DebitOnAccount> <Description>sample string 3</Description> <HistoryType>sample string 4</HistoryType> <ID>1</ID> </GetInvoiceAgentHistoryResult> <GetInvoiceAgentHistoryResult> <DateFrom>2025-04-28T11:10:45.8824186-04:00</DateFrom> <DateTo>2025-04-28T11:10:45.8980448-04:00</DateTo> <DebitOnAccount>2</DebitOnAccount> <Description>sample string 3</Description> <HistoryType>sample string 4</HistoryType> <ID>1</ID> </GetInvoiceAgentHistoryResult> </ArrayOfGetInvoiceAgentHistoryResult>