STOCK_WRITE_OFF:READcurl --location 'https://mock.apidog.com/m1/1388340-0-default/api/v1/stock-write-offs?establishmentId=undefined&status=undefined&startDate=undefined&endDate=undefined&search=undefined&page=undefined&size=undefined'{
"data": [
{
"id": 0,
"number": 0,
"establishmentId": 0,
"establishmentName": "string",
"date": "2019-08-24",
"reason": "string",
"status": "ENTERED",
"accountingAccountId": 0,
"total": 0,
"createdBy": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedBy": "string",
"updatedAt": "2019-08-24T14:15:22.123Z",
"details": [
{
"id": 0,
"productId": 0,
"productReference": "string",
"productName": "string",
"quantity": 0,
"cost": 0,
"previousCost": 0,
"total": 0,
"lotNumber": "string",
"detail": "string"
}
]
}
],
"pagination": {
"page": 0,
"size": 0,
"totalElements": 0,
"totalPages": 0
}
}