GET api/duty/{customerID}/{dateFrom}/{dateTo}/{freeDuty}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerID | integer |
Required |
|
| dateFrom | date |
Required |
|
| dateTo | date |
Required |
|
| freeDuty | boolean |
Default value is True |
Body Parameters
None.
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:58:08",
"DateWaybill": "2026-02-04T03:58:08+03:00",
"DatePayment": "2026-02-04T03:58:08",
"Summ": 5.0,
"Rest": 6.0,
"VerificationCreateDate": "2026-02-04T03:58:08+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:58:08",
"DateWaybill": "2026-02-04T03:58:08+03:00",
"DatePayment": "2026-02-04T03:58:08",
"Summ": 5.0,
"Rest": 6.0,
"VerificationCreateDate": "2026-02-04T03:58:08+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:58:08","DateWaybill":"2026-02-04T03:58:08+03:00","DatePayment":"2026-02-04T03:58:08","Summ":5.0,"Rest":6.0,"VerificationCreateDate":"2026-02-04T03:58:08+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:58:08","DateWaybill":"2026-02-04T03:58:08+03:00","DatePayment":"2026-02-04T03:58:08","Summ":5.0,"Rest":6.0,"VerificationCreateDate":"2026-02-04T03:58:08+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:58:08.2607251+03:00</DateDuty>
<DatePayment>2026-02-04T03:58:08.2607251+03:00</DatePayment>
<DateWaybill>2026-02-04T03:58:08.2607251+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:58:08.2607251+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:58:08.2607251+03:00</DateDuty>
<DatePayment>2026-02-04T03:58:08.2607251+03:00</DatePayment>
<DateWaybill>2026-02-04T03:58:08.2607251+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:58:08.2607251+03:00</VerificationCreateDate>
</DutyDTO>
</ArrayOfDutyDTO>