POST call, passing a JSON body as specified below.| Field | Description | Type | Mandatory |
|---|---|---|---|
| barcode | Barcode of the article for which the stock is requested | Varchar(50) | ā |
| itemCode | Item code of the article for which the stock is requested | Varchar(250) | |
| date | If specified, the stock is calculated up to the given date (movements date <= given date) | Date (yyyy-mm-dd) |
{
"succes" : true,
"code" : 200,
"stocks" : [
{
"entityCode": "0",
"barcode": "8033772180009",
"item": "U58_G.MSM100205",
"description": "POLSINI",
"dim1": "Taglia",
"codDim1": "1",
"desDim1": "UN",
"dim2": "Colore",
"codDim2": "00000",
"desDim2": "Neutro",
"dim3": "Drop",
"codDim3": "1",
"desDim3": "_",
"dim4": null,
"codDim4": null,
"desDim4": null,
"dim5": null,
"codDim5": null,
"desDim5": null,
"quantity": 1
},
{
"entityCode": "3",
"barcode": "8033772180009",
"item": "U58_G.MSM100205",
"description": "POLSINI",
"dim1": "Taglia",
"codDim1": "1",
"desDim1": "UN",
"dim2": "Colore",
"codDim2": "00000",
"desDim2": "Neutro",
"dim3": "Drop",
"codDim3": "1",
"desDim3": "_",
"dim4": null,
"codDim4": null,
"desDim4": null,
"dim5": null,
"codDim5": null,
"desDim5": null,
"quantity": 6
}
]
}