POST api/OrderCustomer/ListOrderItemCustomer
Request Information
URI Parameters
None.
Body Parameters
OrderItemRequestSearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderCustomerId | globally unique identifier |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| KeySearch | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"orderCustomerId": "cf916dc5-dd9a-4eaa-b0a4-5b4deb3582e9",
"pageSize": 1,
"pageIndex": 1,
"keySearch": "sample string 2"
}
application/xml, text/xml
Sample:
<OrderItemRequestSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.OrderCustomer"> <KeySearch>sample string 2</KeySearch> <OrderCustomerId>cf916dc5-dd9a-4eaa-b0a4-5b4deb3582e9</OrderCustomerId> <PageIndex>1</PageIndex> <PageSize>1</PageSize> </OrderItemRequestSearchModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaginatorResponseOfListOrderItemResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| TotalMoney | decimal number |
None. |
|
| PayingAmount | decimal number |
None. |
|
| TotalIncome | decimal number |
None. |
|
| TotalSpend | decimal number |
None. |
|
| TotalDebt | decimal number |
None. |
|
| TotalOrderAmount | decimal number |
None. |
|
| TotalPaid | decimal number |
None. |
|
| NhapHang_SoTienDaDua | decimal number |
None. |
|
| NhapHang_SoLuongSanPham | decimal number |
None. |
|
| NhapHang_TongTienSanPham | decimal number |
None. |
|
| NhapHang_HoanTien | decimal number |
None. |
|
| NhapHang_GhiChuTien | decimal number |
None. |
|
| SumTotalRevenue | decimal number |
None. |
|
| SumTotalExpense | decimal number |
None. |
|
| SumTotalRefund | decimal number |
None. |
|
| SumBudgetVariance | decimal number |
None. |
|
| Items | Collection of ListOrderItemResponseModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"count": 1,
"totalMoney": 2.0,
"payingAmount": 3.0,
"totalIncome": 4.0,
"totalSpend": 5.0,
"totalDebt": 6.0,
"totalOrderAmount": 7.0,
"totalPaid": 8.0,
"nhapHang_SoTienDaDua": 9.0,
"nhapHang_SoLuongSanPham": 10.0,
"nhapHang_TongTienSanPham": 11.0,
"nhapHang_HoanTien": 12.0,
"nhapHang_GhiChuTien": 13.0,
"sumTotalRevenue": 14.0,
"sumTotalExpense": 15.0,
"sumTotalRefund": 16.0,
"sumBudgetVariance": 17.0,
"items": [
{
"id": 1,
"productId": "c18c13df-c434-4d25-84b5-ab249e959e41",
"unitPrice": 3.0,
"adjustedPrice": 4.0,
"unitPriceFromProduct": 5.0,
"quantity": 6,
"price": 7.0,
"orderId": "55c83264-fb30-4513-bec8-e12412c8d0b6",
"note": "sample string 9",
"productUnitName": "sample string 10",
"productCode": "sample string 11",
"productName": "sample string 12",
"discount": 13.0,
"priceCost": 14.0,
"lstPrice": [
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "5686e1aa-cefa-4dbc-82e9-0644c0583698",
"quantity": 5,
"quantityOrigin": 5,
"date": "2026-11-27T01:55:37.9192143+07:00",
"supplierId": 7,
"purchaseOrderId": "f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334"
},
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "5686e1aa-cefa-4dbc-82e9-0644c0583698",
"quantity": 5,
"quantityOrigin": 5,
"date": "2026-11-27T01:55:37.9192143+07:00",
"supplierId": 7,
"purchaseOrderId": "f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334"
}
],
"isInventoryAvailble": true,
"inventoryAvaibleCount": 16
},
{
"id": 1,
"productId": "c18c13df-c434-4d25-84b5-ab249e959e41",
"unitPrice": 3.0,
"adjustedPrice": 4.0,
"unitPriceFromProduct": 5.0,
"quantity": 6,
"price": 7.0,
"orderId": "55c83264-fb30-4513-bec8-e12412c8d0b6",
"note": "sample string 9",
"productUnitName": "sample string 10",
"productCode": "sample string 11",
"productName": "sample string 12",
"discount": 13.0,
"priceCost": 14.0,
"lstPrice": [
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "5686e1aa-cefa-4dbc-82e9-0644c0583698",
"quantity": 5,
"quantityOrigin": 5,
"date": "2026-11-27T01:55:37.9192143+07:00",
"supplierId": 7,
"purchaseOrderId": "f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334"
},
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "5686e1aa-cefa-4dbc-82e9-0644c0583698",
"quantity": 5,
"quantityOrigin": 5,
"date": "2026-11-27T01:55:37.9192143+07:00",
"supplierId": 7,
"purchaseOrderId": "f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334"
}
],
"isInventoryAvailble": true,
"inventoryAvaibleCount": 16
}
]
}
application/xml, text/xml
Sample:
<PaginatorResponseOfListOrderItemResponseModelWE_PCX38R xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Generics">
<Count>1</Count>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Common.Model.Response.OrderCustomer">
<d2p1:ListOrderItemResponseModel>
<d2p1:AdjustedPrice>4</d2p1:AdjustedPrice>
<d2p1:Discount>13</d2p1:Discount>
<d2p1:Id>1</d2p1:Id>
<d2p1:InventoryAvaibleCount>16</d2p1:InventoryAvaibleCount>
<d2p1:IsInventoryAvailble>true</d2p1:IsInventoryAvailble>
<d2p1:LstPrice xmlns:d4p1="http://schemas.datacontract.org/2004/07/Common.Model.Response.Product">
<d4p1:ProductPriceMappingResponse>
<d4p1:Date>2026-11-27T01:55:37.9192143+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5686e1aa-cefa-4dbc-82e9-0644c0583698</d4p1:ProductId>
<d4p1:PurchaseOrderId>f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:SupplierId>7</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMappingResponse>
<d4p1:ProductPriceMappingResponse>
<d4p1:Date>2026-11-27T01:55:37.9192143+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5686e1aa-cefa-4dbc-82e9-0644c0583698</d4p1:ProductId>
<d4p1:PurchaseOrderId>f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:SupplierId>7</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMappingResponse>
</d2p1:LstPrice>
<d2p1:Note>sample string 9</d2p1:Note>
<d2p1:OrderId>55c83264-fb30-4513-bec8-e12412c8d0b6</d2p1:OrderId>
<d2p1:Price>7</d2p1:Price>
<d2p1:PriceCost>14</d2p1:PriceCost>
<d2p1:ProductCode>sample string 11</d2p1:ProductCode>
<d2p1:ProductId>c18c13df-c434-4d25-84b5-ab249e959e41</d2p1:ProductId>
<d2p1:ProductName>sample string 12</d2p1:ProductName>
<d2p1:ProductUnitName>sample string 10</d2p1:ProductUnitName>
<d2p1:Quantity>6</d2p1:Quantity>
<d2p1:UnitPrice>3</d2p1:UnitPrice>
<d2p1:UnitPriceFromProduct>5</d2p1:UnitPriceFromProduct>
</d2p1:ListOrderItemResponseModel>
<d2p1:ListOrderItemResponseModel>
<d2p1:AdjustedPrice>4</d2p1:AdjustedPrice>
<d2p1:Discount>13</d2p1:Discount>
<d2p1:Id>1</d2p1:Id>
<d2p1:InventoryAvaibleCount>16</d2p1:InventoryAvaibleCount>
<d2p1:IsInventoryAvailble>true</d2p1:IsInventoryAvailble>
<d2p1:LstPrice xmlns:d4p1="http://schemas.datacontract.org/2004/07/Common.Model.Response.Product">
<d4p1:ProductPriceMappingResponse>
<d4p1:Date>2026-11-27T01:55:37.9192143+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5686e1aa-cefa-4dbc-82e9-0644c0583698</d4p1:ProductId>
<d4p1:PurchaseOrderId>f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:SupplierId>7</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMappingResponse>
<d4p1:ProductPriceMappingResponse>
<d4p1:Date>2026-11-27T01:55:37.9192143+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5686e1aa-cefa-4dbc-82e9-0644c0583698</d4p1:ProductId>
<d4p1:PurchaseOrderId>f06e6a31-d5ed-4b1e-85df-5c9cdeb5d334</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:SupplierId>7</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMappingResponse>
</d2p1:LstPrice>
<d2p1:Note>sample string 9</d2p1:Note>
<d2p1:OrderId>55c83264-fb30-4513-bec8-e12412c8d0b6</d2p1:OrderId>
<d2p1:Price>7</d2p1:Price>
<d2p1:PriceCost>14</d2p1:PriceCost>
<d2p1:ProductCode>sample string 11</d2p1:ProductCode>
<d2p1:ProductId>c18c13df-c434-4d25-84b5-ab249e959e41</d2p1:ProductId>
<d2p1:ProductName>sample string 12</d2p1:ProductName>
<d2p1:ProductUnitName>sample string 10</d2p1:ProductUnitName>
<d2p1:Quantity>6</d2p1:Quantity>
<d2p1:UnitPrice>3</d2p1:UnitPrice>
<d2p1:UnitPriceFromProduct>5</d2p1:UnitPriceFromProduct>
</d2p1:ListOrderItemResponseModel>
</Items>
<NhapHang_GhiChuTien>13</NhapHang_GhiChuTien>
<NhapHang_HoanTien>12</NhapHang_HoanTien>
<NhapHang_SoLuongSanPham>10</NhapHang_SoLuongSanPham>
<NhapHang_SoTienDaDua>9</NhapHang_SoTienDaDua>
<NhapHang_TongTienSanPham>11</NhapHang_TongTienSanPham>
<PayingAmount>3</PayingAmount>
<SumBudgetVariance>17</SumBudgetVariance>
<SumTotalExpense>15</SumTotalExpense>
<SumTotalRefund>16</SumTotalRefund>
<SumTotalRevenue>14</SumTotalRevenue>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfListOrderItemResponseModelWE_PCX38R>