GET Warehouse/StockLevel?article={article}&partNumber={partNumber}&productArticleNumber={productArticleNumber}&stockId={stockId}&stockLocationId={stockLocationId}&stockGroundId={stockGroundId}

Shows all pastock of parts and their specific storage locations

Request Information

URI Parameters

NameDescriptionTypeAdditional information
article

limits result to specific article (full text search in article number, ean, name) - optional

string

None.

partNumber

limits result to specific article (exact part number) - optional

string

None.

productArticleNumber

limits result to specific article (exact productarticlenumber) - optional

string

None.

stockId

limits result to specific stock - optional

integer

None.

stockLocationId

limits result to specific stockground - optional

integer

None.

stockGroundId

limits result to specific stockground - optional

integer

None.

Body Parameters

None.

Response Information

Resource Description

Enumeration of stored parts and the storage locations

Collection of InitPro.Ida.Web.Api.Dto.StockLevel
NameDescriptionTypeAdditional information
ArticleId

Part- or ProductId

integer

None.

Number

PartNumber or ProductArticleNumber

string

None.

Name

Part- or Productname

string

None.

EanCode

EAN

string

None.

Stock

Used storegrounds for this article

Collection of InitPro.Ida.Web.Api.Dto.StockLevelItem

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ArticleId": 1,
    "Number": "sample string 2",
    "Name": "sample string 3",
    "EanCode": "sample string 4",
    "Stock": [
      {
        "StockId": 1,
        "StockNumber": "sample string 2",
        "StockLocationId": 3,
        "StockLocation": "sample string 4",
        "StockGroundId": 5,
        "StockGround": "sample string 6",
        "Total": 7,
        "Reservation": 8,
        "Available": 9
      },
      {
        "StockId": 1,
        "StockNumber": "sample string 2",
        "StockLocationId": 3,
        "StockLocation": "sample string 4",
        "StockGroundId": 5,
        "StockGround": "sample string 6",
        "Total": 7,
        "Reservation": 8,
        "Available": 9
      }
    ]
  },
  {
    "ArticleId": 1,
    "Number": "sample string 2",
    "Name": "sample string 3",
    "EanCode": "sample string 4",
    "Stock": [
      {
        "StockId": 1,
        "StockNumber": "sample string 2",
        "StockLocationId": 3,
        "StockLocation": "sample string 4",
        "StockGroundId": 5,
        "StockGround": "sample string 6",
        "Total": 7,
        "Reservation": 8,
        "Available": 9
      },
      {
        "StockId": 1,
        "StockNumber": "sample string 2",
        "StockLocationId": 3,
        "StockLocation": "sample string 4",
        "StockGroundId": 5,
        "StockGround": "sample string 6",
        "Total": 7,
        "Reservation": 8,
        "Available": 9
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfStockLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InitPro.Ida.Web.Api.Dto">
  <StockLevel>
    <ArticleId>1</ArticleId>
    <EanCode>sample string 4</EanCode>
    <Name>sample string 3</Name>
    <Number>sample string 2</Number>
    <Stock>
      <StockLevelItem>
        <Available>9</Available>
        <Reservation>8</Reservation>
        <StockGround>sample string 6</StockGround>
        <StockGroundId>5</StockGroundId>
        <StockId>1</StockId>
        <StockLocation>sample string 4</StockLocation>
        <StockLocationId>3</StockLocationId>
        <StockNumber>sample string 2</StockNumber>
        <Total>7</Total>
      </StockLevelItem>
      <StockLevelItem>
        <Available>9</Available>
        <Reservation>8</Reservation>
        <StockGround>sample string 6</StockGround>
        <StockGroundId>5</StockGroundId>
        <StockId>1</StockId>
        <StockLocation>sample string 4</StockLocation>
        <StockLocationId>3</StockLocationId>
        <StockNumber>sample string 2</StockNumber>
        <Total>7</Total>
      </StockLevelItem>
    </Stock>
  </StockLevel>
  <StockLevel>
    <ArticleId>1</ArticleId>
    <EanCode>sample string 4</EanCode>
    <Name>sample string 3</Name>
    <Number>sample string 2</Number>
    <Stock>
      <StockLevelItem>
        <Available>9</Available>
        <Reservation>8</Reservation>
        <StockGround>sample string 6</StockGround>
        <StockGroundId>5</StockGroundId>
        <StockId>1</StockId>
        <StockLocation>sample string 4</StockLocation>
        <StockLocationId>3</StockLocationId>
        <StockNumber>sample string 2</StockNumber>
        <Total>7</Total>
      </StockLevelItem>
      <StockLevelItem>
        <Available>9</Available>
        <Reservation>8</Reservation>
        <StockGround>sample string 6</StockGround>
        <StockGroundId>5</StockGroundId>
        <StockId>1</StockId>
        <StockLocation>sample string 4</StockLocation>
        <StockLocationId>3</StockLocationId>
        <StockNumber>sample string 2</StockNumber>
        <Total>7</Total>
      </StockLevelItem>
    </Stock>
  </StockLevel>
</ArrayOfStockLevel>