POST api/orders/GetAllOrdersWithFilter
Request Information
URI Parameters
None.
Body Parameters
FilterRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Filters | Dictionary of string [key] and Object [value] |
None. |
|
| PageNumber | integer |
None. |
|
| PageSize | integer |
None. |
|
| SortField | string |
None. |
|
| SortDirection | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Filters": {
"sample string 1": {},
"sample string 3": {}
},
"PageNumber": 1,
"PageSize": 2,
"SortField": "sample string 3",
"SortDirection": "sample string 4"
}
application/xml, text/xml
Sample:
<FilterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cbox.Models">
<PageNumber>1</PageNumber>
<PageSize>2</PageSize>
<SortDirection>sample string 4</SortDirection>
<SortField>sample string 3</SortField>
<Filters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Filters>
</FilterRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfListOfOrdersDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of OrdersDTO |
None. |
|
| success | boolean |
None. |
|
| statusCode | integer |
None. |
|
| message | string |
None. |
|
| errorMessage | string |
None. |
|
| metadata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"id": 1,
"userid": 2,
"kioskid": 1,
"addressid": 1,
"ordernumber": "sample string 3",
"orderdate": "2025-12-17T10:14:14.4320441+03:00",
"totalamount": 1.0,
"statusid": 4,
"status": "sample string 5",
"paymentstatusid": 1,
"paymentmethodid": 1,
"shippingmethodid": 1,
"shippingdate": "2025-12-17T10:14:14.4320441+03:00",
"deliverydate": "2025-12-17T10:14:14.4320441+03:00",
"notes": "sample string 6",
"createdat": "2025-12-17T10:14:14.4320441+03:00",
"updatedat": "2025-12-17T10:14:14.4320441+03:00"
},
{
"id": 1,
"userid": 2,
"kioskid": 1,
"addressid": 1,
"ordernumber": "sample string 3",
"orderdate": "2025-12-17T10:14:14.4320441+03:00",
"totalamount": 1.0,
"statusid": 4,
"status": "sample string 5",
"paymentstatusid": 1,
"paymentmethodid": 1,
"shippingmethodid": 1,
"shippingdate": "2025-12-17T10:14:14.4320441+03:00",
"deliverydate": "2025-12-17T10:14:14.4320441+03:00",
"notes": "sample string 6",
"createdat": "2025-12-17T10:14:14.4320441+03:00",
"updatedat": "2025-12-17T10:14:14.4320441+03:00"
}
],
"success": true,
"statusCode": 2,
"message": "sample string 3",
"errorMessage": "sample string 4",
"metadata": {}
}
application/xml, text/xml
Sample:
<ResponseModelOfArrayOfOrdersDTOqOm1f5oC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cbox.Models.Response">
<ErrorMessage>sample string 4</ErrorMessage>
<Message>sample string 3</Message>
<Metadata />
<StatusCode>2</StatusCode>
<Success>true</Success>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/cbox.Models.DTOs">
<d2p1:OrdersDTO>
<d2p1:AddressID>1</d2p1:AddressID>
<d2p1:CreatedAt>2025-12-17T10:14:14.4320441+03:00</d2p1:CreatedAt>
<d2p1:DeliveryDate>2025-12-17T10:14:14.4320441+03:00</d2p1:DeliveryDate>
<d2p1:ID>1</d2p1:ID>
<d2p1:KioskID>1</d2p1:KioskID>
<d2p1:Notes>sample string 6</d2p1:Notes>
<d2p1:OrderDate>2025-12-17T10:14:14.4320441+03:00</d2p1:OrderDate>
<d2p1:OrderNumber>sample string 3</d2p1:OrderNumber>
<d2p1:PaymentMethodID>1</d2p1:PaymentMethodID>
<d2p1:PaymentStatusID>1</d2p1:PaymentStatusID>
<d2p1:ShippingDate>2025-12-17T10:14:14.4320441+03:00</d2p1:ShippingDate>
<d2p1:ShippingMethodID>1</d2p1:ShippingMethodID>
<d2p1:Status>sample string 5</d2p1:Status>
<d2p1:StatusID>4</d2p1:StatusID>
<d2p1:TotalAmount>1</d2p1:TotalAmount>
<d2p1:UpdatedAt>2025-12-17T10:14:14.4320441+03:00</d2p1:UpdatedAt>
<d2p1:UserID>2</d2p1:UserID>
</d2p1:OrdersDTO>
<d2p1:OrdersDTO>
<d2p1:AddressID>1</d2p1:AddressID>
<d2p1:CreatedAt>2025-12-17T10:14:14.4320441+03:00</d2p1:CreatedAt>
<d2p1:DeliveryDate>2025-12-17T10:14:14.4320441+03:00</d2p1:DeliveryDate>
<d2p1:ID>1</d2p1:ID>
<d2p1:KioskID>1</d2p1:KioskID>
<d2p1:Notes>sample string 6</d2p1:Notes>
<d2p1:OrderDate>2025-12-17T10:14:14.4320441+03:00</d2p1:OrderDate>
<d2p1:OrderNumber>sample string 3</d2p1:OrderNumber>
<d2p1:PaymentMethodID>1</d2p1:PaymentMethodID>
<d2p1:PaymentStatusID>1</d2p1:PaymentStatusID>
<d2p1:ShippingDate>2025-12-17T10:14:14.4320441+03:00</d2p1:ShippingDate>
<d2p1:ShippingMethodID>1</d2p1:ShippingMethodID>
<d2p1:Status>sample string 5</d2p1:Status>
<d2p1:StatusID>4</d2p1:StatusID>
<d2p1:TotalAmount>1</d2p1:TotalAmount>
<d2p1:UpdatedAt>2025-12-17T10:14:14.4320441+03:00</d2p1:UpdatedAt>
<d2p1:UserID>2</d2p1:UserID>
</d2p1:OrdersDTO>
</Data>
</ResponseModelOfArrayOfOrdersDTOqOm1f5oC>