GET api/webshop/article/stock/page/{page}/size/{pagesize}/shopid/{shopId}/transactionNumber/{transactionNumber}

Provides web shop stock for one shop, given page, page size, shop id and transaction number, as PAGED. NOTE: Stock is on items that have changed, since transaction number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

The page number.

integer

Required

pagesize

The page size.

integer

Required

shopId

Id of the shop.

integer

Required

transactionNumber

The transaction number.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A paged stock web shop model.

PublicAPI.Models.PagedDTOOfArticleStockInfo
NameDescriptionTypeAdditional 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>