POST api/Stock/Post
Request Information
URI Parameters
None.
Body Parameters
Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ArticleId | integer |
None. |
|
| StocktakingId | integer |
None. |
|
| WarehouseId | integer |
None. |
|
| StockShould | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ArticleId": 2,
"StocktakingId": 3,
"WarehouseId": 4,
"StockShould": 5.1
}
application/xml, text/xml
Sample:
<Stock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WTSInventur.Data.Models"> <ArticleId>2</ArticleId> <Id>1</Id> <StockShould>5.1</StockShould> <StocktakingId>3</StocktakingId> <WarehouseId>4</WarehouseId> </Stock>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |