GET Api/StockMovement/GetParentSubItemStock/{ItemId}/ItemBin/{ItemBinId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | integer |
Required |
|
| ItemBinId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ParentSubItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | integer |
None. |
|
| ItemCode | string |
None. |
|
| ItemName | string |
None. |
|
| isSubItemFlag | boolean |
None. |
|
| isParentItemFlag | boolean |
None. |
|
| StockQty | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ItemId": 1,
"ItemCode": "sample string 2",
"ItemName": "sample string 3",
"isSubItemFlag": true,
"isParentItemFlag": true,
"StockQty": 6.1
},
{
"ItemId": 1,
"ItemCode": "sample string 2",
"ItemName": "sample string 3",
"isSubItemFlag": true,
"isParentItemFlag": true,
"StockQty": 6.1
}
]
application/xml, text/xml
Sample:
<ArrayOfParentSubItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
<ParentSubItemViewModel>
<ItemCode>sample string 2</ItemCode>
<ItemId>1</ItemId>
<ItemName>sample string 3</ItemName>
<StockQty>6.1</StockQty>
<isParentItemFlag>true</isParentItemFlag>
<isSubItemFlag>true</isSubItemFlag>
</ParentSubItemViewModel>
<ParentSubItemViewModel>
<ItemCode>sample string 2</ItemCode>
<ItemId>1</ItemId>
<ItemName>sample string 3</ItemName>
<StockQty>6.1</StockQty>
<isParentItemFlag>true</isParentItemFlag>
<isSubItemFlag>true</isSubItemFlag>
</ParentSubItemViewModel>
</ArrayOfParentSubItemViewModel>