POST api/duty/filter
Request Information
URI Parameters
None.
Body Parameters
DutyFilterRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| DateFrom | date |
None. |
|
| DateTo | date |
None. |
|
| Free | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": 1,
"DateFrom": "2026-02-04T03:55:11",
"DateTo": "2026-02-04T03:55:11",
"Free": true
}
text/html
Sample:
{"CustomerID":1,"DateFrom":"2026-02-04T03:55:11","DateTo":"2026-02-04T03:55:11","Free":true}
application/xml, text/xml
Sample:
<DutyFilterRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Metib.Modules.Factoring.Api.Models.Requests"> <CustomerID>1</CustomerID> <DateFrom>2026-02-04T03:55:11.5913328+03:00</DateFrom> <DateTo>2026-02-04T03:55:11.5913328+03:00</DateTo> <Free>true</Free> </DutyFilterRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DutyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Number | string |
None. |
|
| NumberInvoice | string |
None. |
|
| DateDuty | date |
None. |
|
| DateWaybill | date |
None. |
|
| DatePayment | date |
None. |
|
| Summ | decimal number |
None. |
|
| Rest | decimal number |
None. |
|
| VerificationCreateDate | date |
None. |
|
| ChannelTypeIdentifier | string |
None. |
|
| Contract | DutyContractDTO |
None. |
|
| Statistics | DutyStatisticsDTO |
None. |
|
| ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Number": "sample string 1",
"NumberInvoice": "sample string 2",
"DateDuty": "2026-02-04T03:55:11",
"DateWaybill": "2026-02-04T03:55:11+03:00",
"DatePayment": "2026-02-04T03:55:11",
"Summ": 5.0,
"Rest": 6.0,
"VerificationCreateDate": "2026-02-04T03:55:11+03:00",
"ChannelTypeIdentifier": "sample string 7",
"Contract": {
"Code": "sample string 1",
"Title": "sample string 2",
"Client": "sample string 3",
"Counterparty": "sample string 4",
"ID": 5
},
"Statistics": {
"ShipmentID": 1,
"StopShipmentID": 2,
"PaymentExpire": true,
"Comment": "sample string 4"
},
"ID": 8
},
{
"Number": "sample string 1",
"NumberInvoice": "sample string 2",
"DateDuty": "2026-02-04T03:55:11",
"DateWaybill": "2026-02-04T03:55:11+03:00",
"DatePayment": "2026-02-04T03:55:11",
"Summ": 5.0,
"Rest": 6.0,
"VerificationCreateDate": "2026-02-04T03:55:11+03:00",
"ChannelTypeIdentifier": "sample string 7",
"Contract": {
"Code": "sample string 1",
"Title": "sample string 2",
"Client": "sample string 3",
"Counterparty": "sample string 4",
"ID": 5
},
"Statistics": {
"ShipmentID": 1,
"StopShipmentID": 2,
"PaymentExpire": true,
"Comment": "sample string 4"
},
"ID": 8
}
]
text/html
Sample:
[{"Number":"sample string 1","NumberInvoice":"sample string 2","DateDuty":"2026-02-04T03:55:11","DateWaybill":"2026-02-04T03:55:11+03:00","DatePayment":"2026-02-04T03:55:11","Summ":5.0,"Rest":6.0,"VerificationCreateDate":"2026-02-04T03:55:11+03:00","ChannelTypeIdentifier":"sample string 7","Contract":{"Code":"sample string 1","Title":"sample string 2","Client":"sample string 3","Counterparty":"sample string 4","ID":5},"Statistics":{"ShipmentID":1,"StopShipmentID":2,"PaymentExpire":true,"Comment":"sample string 4"},"ID":8},{"Number":"sample string 1","NumberInvoice":"sample string 2","DateDuty":"2026-02-04T03:55:11","DateWaybill":"2026-02-04T03:55:11+03:00","DatePayment":"2026-02-04T03:55:11","Summ":5.0,"Rest":6.0,"VerificationCreateDate":"2026-02-04T03:55:11+03:00","ChannelTypeIdentifier":"sample string 7","Contract":{"Code":"sample string 1","Title":"sample string 2","Client":"sample string 3","Counterparty":"sample string 4","ID":5},"Statistics":{"ShipmentID":1,"StopShipmentID":2,"PaymentExpire":true,"Comment":"sample string 4"},"ID":8}]
application/xml, text/xml
Sample:
<ArrayOfDutyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Metib.Modules.Factoring.Api.DTO">
<DutyDTO>
<ID xmlns="http://schemas.datacontract.org/2004/07/Metib.Kernel.Api">8</ID>
<ChannelTypeIdentifier>sample string 7</ChannelTypeIdentifier>
<Contract>
<ID xmlns="http://schemas.datacontract.org/2004/07/Metib.Kernel.Api">5</ID>
<Client>sample string 3</Client>
<Code>sample string 1</Code>
<Counterparty>sample string 4</Counterparty>
<Title>sample string 2</Title>
</Contract>
<DateDuty>2026-02-04T03:55:11.6069649+03:00</DateDuty>
<DatePayment>2026-02-04T03:55:11.6069649+03:00</DatePayment>
<DateWaybill>2026-02-04T03:55:11.6069649+03:00</DateWaybill>
<Number>sample string 1</Number>
<NumberInvoice>sample string 2</NumberInvoice>
<Rest>6</Rest>
<Statistics>
<Comment>sample string 4</Comment>
<PaymentExpire>true</PaymentExpire>
<ShipmentID>1</ShipmentID>
<StopShipmentID>2</StopShipmentID>
</Statistics>
<Summ>5</Summ>
<VerificationCreateDate>2026-02-04T03:55:11.6069649+03:00</VerificationCreateDate>
</DutyDTO>
<DutyDTO>
<ID xmlns="http://schemas.datacontract.org/2004/07/Metib.Kernel.Api">8</ID>
<ChannelTypeIdentifier>sample string 7</ChannelTypeIdentifier>
<Contract>
<ID xmlns="http://schemas.datacontract.org/2004/07/Metib.Kernel.Api">5</ID>
<Client>sample string 3</Client>
<Code>sample string 1</Code>
<Counterparty>sample string 4</Counterparty>
<Title>sample string 2</Title>
</Contract>
<DateDuty>2026-02-04T03:55:11.6069649+03:00</DateDuty>
<DatePayment>2026-02-04T03:55:11.6069649+03:00</DatePayment>
<DateWaybill>2026-02-04T03:55:11.6069649+03:00</DateWaybill>
<Number>sample string 1</Number>
<NumberInvoice>sample string 2</NumberInvoice>
<Rest>6</Rest>
<Statistics>
<Comment>sample string 4</Comment>
<PaymentExpire>true</PaymentExpire>
<ShipmentID>1</ShipmentID>
<StopShipmentID>2</StopShipmentID>
</Statistics>
<Summ>5</Summ>
<VerificationCreateDate>2026-02-04T03:55:11.6069649+03:00</VerificationCreateDate>
</DutyDTO>
</ArrayOfDutyDTO>