GET api/item/list?cmpid={cmpid}&locationid={locationid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cmpid | integer |
Required |
|
| locationid | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of ItemStockResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | integer |
None. |
|
| ItemCode | string |
None. |
|
| ItemName | string |
None. |
|
| ColorId | integer |
None. |
|
| Color | string |
None. |
|
| SizeId | integer |
None. |
|
| Size | string |
None. |
|
| StockQty | decimal number |
None. |
|
| SaleRate | decimal number |
None. |
|
| MRP | decimal number |
None. |
|
| ImgPath | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ItemId": 1,
"ItemCode": "sample string 2",
"ItemName": "sample string 3",
"ColorId": 4,
"Color": "sample string 5",
"SizeId": 6,
"Size": "sample string 7",
"StockQty": 8.1,
"SaleRate": 9.1,
"MRP": 10.1,
"ImgPath": "sample string 11"
},
{
"ItemId": 1,
"ItemCode": "sample string 2",
"ItemName": "sample string 3",
"ColorId": 4,
"Color": "sample string 5",
"SizeId": 6,
"Size": "sample string 7",
"StockQty": 8.1,
"SaleRate": 9.1,
"MRP": 10.1,
"ImgPath": "sample string 11"
}
]