POST api/Stock
Devuele el listado de stock por producto
Request Information
URI Parameters
None.
Body Parameters
Collection of stringRequest Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| CodProducto |
Código de producto |
string |
None. |
| Delegacion |
Código de delegación |
string |
None. |
| StockUds |
Stock en unidades de medidda base (Bolsa, Tarro, Estuche, Unidad) |
integer |
None. |
| StockCajas |
Stock en unidad de medida de venta (Caja) |
decimal number |
None. |
| StockPalets |
Stock en palets |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CodProducto": "sample string 1",
"Delegacion": "sample string 2",
"StockUds": 3,
"StockCajas": 4.1,
"StockPalets": 5.1
},
{
"CodProducto": "sample string 1",
"Delegacion": "sample string 2",
"StockUds": 3,
"StockCajas": 4.1,
"StockPalets": 5.1
}
]
application/xml, text/xml
Sample:
<ArrayOfStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fini.Comercial.Models">
<Stock>
<CodProducto>sample string 1</CodProducto>
<Delegacion>sample string 2</Delegacion>
<StockCajas>4.1</StockCajas>
<StockPalets>5.1</StockPalets>
<StockUds>3</StockUds>
</Stock>
<Stock>
<CodProducto>sample string 1</CodProducto>
<Delegacion>sample string 2</Delegacion>
<StockCajas>4.1</StockCajas>
<StockPalets>5.1</StockPalets>
<StockUds>3</StockUds>
</Stock>
</ArrayOfStock>