Skip to content

getByIdStockRegularization

Request

Path
idinteger, (int32)required
GET
/api/v1/stock-regularization/{id}
curl -i -X GET \
  'https://api.prana.software/api/v1/stock-regularization/{id}'

Responses

OK

Bodyapplication/json
idinteger, (int32)required

Unique identifier of the object

Default:""
numberintegerrequired
documentDatestring, (date)required
quantityTotalnumber
observationsstring
linesArray of objects(ApiStockRegularizationLineReadDto)
stockRegularizatedDatestring, (date)
stockRegularizatedboolean
warehouseobject(ApiWarehouseListReadDto)
valuationTypestring(ApiValuationTypeEnum)
Enum:"AVERAGE_COST_PRICE""GROSS_PRICE_CURRENT_COST""NET_PRICE_CURRENT_COST"
Response
{ "id": "", "number": 0, "documentDate": "2019-08-24", "quantityTotal": 0, "observations": "string", "lines": [ { … } ], "stockRegularizatedDate": "2019-08-24", "stockRegularizated": true, "warehouse": { "id": "", "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "valuationType": "AVERAGE_COST_PRICE" }