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": "1f9eeedc-6823-4609-8309-a8368aed54c8",
"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>1f9eeedc-6823-4609-8309-a8368aed54c8</OrderCustomerId> <PageIndex>1</PageIndex> <PageSize>1</PageSize> </OrderItemRequestSearchModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |
|
| 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,
"Items": [
{
"Id": 1,
"ProductId": "3500f06c-1f86-4d68-8c54-67d821df5e7b",
"UnitPrice": 3.0,
"AdjustedPrice": 4.0,
"UnitPriceFromProduct": 5.0,
"Quantity": 6,
"Price": 7.0,
"OrderId": "dfefd8b6-efb0-4b2e-a44d-1601f7fd1b77",
"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": "5164ae86-8399-413c-b778-b27c79861902",
"Quantity": 5,
"QuantityOrigin": 5,
"Date": "2025-10-26T13:05:16.9240225+07:00",
"SupplierId": 7,
"PurchaseOrderId": "7e5e6be7-d24b-416e-99cc-53ceb776ecd2"
},
{
"Price": 1.0,
"Id": 2,
"Type": 3,
"ProductId": "5164ae86-8399-413c-b778-b27c79861902",
"Quantity": 5,
"QuantityOrigin": 5,
"Date": "2025-10-26T13:05:16.9240225+07:00",
"SupplierId": 7,
"PurchaseOrderId": "7e5e6be7-d24b-416e-99cc-53ceb776ecd2"
}
],
"IsInventoryAvailble": true,
"InventoryAvaibleCount": 16
},
{
"Id": 1,
"ProductId": "3500f06c-1f86-4d68-8c54-67d821df5e7b",
"UnitPrice": 3.0,
"AdjustedPrice": 4.0,
"UnitPriceFromProduct": 5.0,
"Quantity": 6,
"Price": 7.0,
"OrderId": "dfefd8b6-efb0-4b2e-a44d-1601f7fd1b77",
"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": "5164ae86-8399-413c-b778-b27c79861902",
"Quantity": 5,
"QuantityOrigin": 5,
"Date": "2025-10-26T13:05:16.9240225+07:00",
"SupplierId": 7,
"PurchaseOrderId": "7e5e6be7-d24b-416e-99cc-53ceb776ecd2"
},
{
"Price": 1.0,
"Id": 2,
"Type": 3,
"ProductId": "5164ae86-8399-413c-b778-b27c79861902",
"Quantity": 5,
"QuantityOrigin": 5,
"Date": "2025-10-26T13:05:16.9240225+07:00",
"SupplierId": 7,
"PurchaseOrderId": "7e5e6be7-d24b-416e-99cc-53ceb776ecd2"
}
],
"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>2025-10-26T13:05:16.9240225+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5164ae86-8399-413c-b778-b27c79861902</d4p1:ProductId>
<d4p1:PurchaseOrderId>7e5e6be7-d24b-416e-99cc-53ceb776ecd2</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:SupplierId>7</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMappingResponse>
<d4p1:ProductPriceMappingResponse>
<d4p1:Date>2025-10-26T13:05:16.9240225+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5164ae86-8399-413c-b778-b27c79861902</d4p1:ProductId>
<d4p1:PurchaseOrderId>7e5e6be7-d24b-416e-99cc-53ceb776ecd2</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>dfefd8b6-efb0-4b2e-a44d-1601f7fd1b77</d2p1:OrderId>
<d2p1:Price>7</d2p1:Price>
<d2p1:PriceCost>14</d2p1:PriceCost>
<d2p1:ProductCode>sample string 11</d2p1:ProductCode>
<d2p1:ProductId>3500f06c-1f86-4d68-8c54-67d821df5e7b</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>2025-10-26T13:05:16.9240225+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5164ae86-8399-413c-b778-b27c79861902</d4p1:ProductId>
<d4p1:PurchaseOrderId>7e5e6be7-d24b-416e-99cc-53ceb776ecd2</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:SupplierId>7</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMappingResponse>
<d4p1:ProductPriceMappingResponse>
<d4p1:Date>2025-10-26T13:05:16.9240225+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>5164ae86-8399-413c-b778-b27c79861902</d4p1:ProductId>
<d4p1:PurchaseOrderId>7e5e6be7-d24b-416e-99cc-53ceb776ecd2</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>dfefd8b6-efb0-4b2e-a44d-1601f7fd1b77</d2p1:OrderId>
<d2p1:Price>7</d2p1:Price>
<d2p1:PriceCost>14</d2p1:PriceCost>
<d2p1:ProductCode>sample string 11</d2p1:ProductCode>
<d2p1:ProductId>3500f06c-1f86-4d68-8c54-67d821df5e7b</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>
<PayingAmount>3</PayingAmount>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfListOrderItemResponseModelWE_PCX38R>