GET api/Stock/GetByTakingId?takingId={takingId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| takingId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ArticleId | integer |
None. |
|
| StocktakingId | integer |
None. |
|
| WarehouseId | integer |
None. |
|
| StockShould | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"ArticleId": 2,
"StocktakingId": 3,
"WarehouseId": 4,
"StockShould": 5.1
},
{
"Id": 1,
"ArticleId": 2,
"StocktakingId": 3,
"WarehouseId": 4,
"StockShould": 5.1
}
]
application/xml, text/xml
Sample:
<ArrayOfStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WTSInventur.Data.Models">
<Stock>
<ArticleId>2</ArticleId>
<Id>1</Id>
<StockShould>5.1</StockShould>
<StocktakingId>3</StocktakingId>
<WarehouseId>4</WarehouseId>
</Stock>
<Stock>
<ArticleId>2</ArticleId>
<Id>1</Id>
<StockShould>5.1</StockShould>
<StocktakingId>3</StocktakingId>
<WarehouseId>4</WarehouseId>
</Stock>
</ArrayOfStock>