GET api/webshop/article/stock/page/{page}/size/{pagesize}/shopid/{shopId}
Provides web shop stock for one shop, for the given page, page size and shop id, as PAGED.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
page |
The page number. |
integer |
Required |
pagesize |
The page size. |
integer |
Required |
shopId |
Id of the shop. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A paged stock web shop model.
PublicAPI.Models.PagedDTOOfArticleStockInfoName | 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>