POST api/duty/filter
Request Information
URI Parameters
None.
Body Parameters
DutyFilterRequestDTOName | 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": "2025-05-30T07:27:51", "DateTo": "2025-05-30T07:27:51", "Free": true }
text/html
Sample:
{"CustomerID":1,"DateFrom":"2025-05-30T07:27:51","DateTo":"2025-05-30T07:27:51","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>2025-05-30T07:27:51.1468025+03:00</DateFrom> <DateTo>2025-05-30T07:27:51.1468025+03:00</DateTo> <Free>true</Free> </DutyFilterRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DutyDTOName | 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": "2025-05-30T07:27:51", "DateWaybill": "2025-05-30T07:27:51+03:00", "DatePayment": "2025-05-30T07:27:51", "Summ": 5.0, "Rest": 6.0, "VerificationCreateDate": "2025-05-30T07:27:51+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": "2025-05-30T07:27:51", "DateWaybill": "2025-05-30T07:27:51+03:00", "DatePayment": "2025-05-30T07:27:51", "Summ": 5.0, "Rest": 6.0, "VerificationCreateDate": "2025-05-30T07:27:51+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":"2025-05-30T07:27:51","DateWaybill":"2025-05-30T07:27:51+03:00","DatePayment":"2025-05-30T07:27:51","Summ":5.0,"Rest":6.0,"VerificationCreateDate":"2025-05-30T07:27:51+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":"2025-05-30T07:27:51","DateWaybill":"2025-05-30T07:27:51+03:00","DatePayment":"2025-05-30T07:27:51","Summ":5.0,"Rest":6.0,"VerificationCreateDate":"2025-05-30T07:27:51+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>2025-05-30T07:27:51.1468025+03:00</DateDuty> <DatePayment>2025-05-30T07:27:51.1468025+03:00</DatePayment> <DateWaybill>2025-05-30T07:27:51.1468025+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>2025-05-30T07:27:51.1468025+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>2025-05-30T07:27:51.1468025+03:00</DateDuty> <DatePayment>2025-05-30T07:27:51.1468025+03:00</DatePayment> <DateWaybill>2025-05-30T07:27:51.1468025+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>2025-05-30T07:27:51.1468025+03:00</VerificationCreateDate> </DutyDTO> </ArrayOfDutyDTO>