GET api/webshop/article/stock/page/{page}/size/{pagesize}
Provides web shop stock for all shops, for the given page and page size, as PAGED.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| page |
The page number. |
integer |
Required |
| pagesize |
The page size. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A paged stock web shop model.
PublicAPI.Models.PagedDTOOfArticleStockInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNumber | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalNumberOfPages | integer |
None. |
|
| TotalNumberOfRecords | integer |
None. |
|
| Results | Collection of ArticleStockInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"PageNumber": 1,
"PageSize": 2,
"TotalNumberOfPages": 3,
"TotalNumberOfRecords": 4,
"Results": [
{
"ShopId": 1,
"StyleId": 2,
"VariantId": 3,
"Quantity": 4
},
{
"ShopId": 1,
"StyleId": 2,
"VariantId": 3,
"Quantity": 4
}
]
}
application/xml, text/xml
Sample:
<PagedDTOOfArticleStockInfoDTOiTlCtTkQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
<PageNumber>1</PageNumber>
<PageSize>2</PageSize>
<Results>
<ArticleStockInfoDTO>
<Quantity>4</Quantity>
<ShopId>1</ShopId>
<StyleId>2</StyleId>
<VariantId>3</VariantId>
</ArticleStockInfoDTO>
<ArticleStockInfoDTO>
<Quantity>4</Quantity>
<ShopId>1</ShopId>
<StyleId>2</StyleId>
<VariantId>3</VariantId>
</ArticleStockInfoDTO>
</Results>
<TotalNumberOfPages>3</TotalNumberOfPages>
<TotalNumberOfRecords>4</TotalNumberOfRecords>
</PagedDTOOfArticleStockInfoDTOiTlCtTkQ>