GET v2/cases/{caseId}/stocklevel/{partNumber}
Stocklevel for a specific part for a service case
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
caseId |
internal id of service case |
integer |
Required |
partNumber |
internal id of service case |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Enumeration of stored parts and the storage locations
Collection of InitPro.Ida.Web.Api.Dto.StockLevelName | Description | Type | Additional 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>