GET api/importdata/ProductStockSync?pageSize={pageSize}&pageNumber={pageNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageSize | integer |
Default value is 2147483647 |
|
| pageNumber | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
ProductStockList| Name | Description | Type | Additional information |
|---|---|---|---|
| StockDetails | Collection of ProductStockDetails |
None. |
Response Formats
application/json, text/json
Sample:
{
"StockDetails": [
{
"prodID": 1,
"total_qty": 2,
"TransitOne": 3,
"TransitTwo": 4,
"OnHandQty": 5
},
{
"prodID": 1,
"total_qty": 2,
"TransitOne": 3,
"TransitTwo": 4,
"OnHandQty": 5
}
]
}
text/html
Sample:
{"StockDetails":[{"prodID":1,"total_qty":2,"TransitOne":3,"TransitTwo":4,"OnHandQty":5},{"prodID":1,"total_qty":2,"TransitOne":3,"TransitTwo":4,"OnHandQty":5}]}
application/xml, text/xml
Sample:
<ProductStockList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCBFromIntellimedia.ViewModels">
<StockDetails>
<ProductStockDetails>
<OnHandQty>5</OnHandQty>
<TransitOne>3</TransitOne>
<TransitTwo>4</TransitTwo>
<prodID>1</prodID>
<total_qty>2</total_qty>
</ProductStockDetails>
<ProductStockDetails>
<OnHandQty>5</OnHandQty>
<TransitOne>3</TransitOne>
<TransitTwo>4</TransitTwo>
<prodID>1</prodID>
<total_qty>2</total_qty>
</ProductStockDetails>
</StockDetails>
</ProductStockList>