uuid lo genera el cliente: reenviar el mismo uuid devuelve el ingreso ya registrado. Si no se envía date, se usa la fecha actual.INVENTORY_ENTRY:CREATEcurl --location 'https://mock.apidog.com/m1/1388340-0-default/api/v1/inventory-entries' \
--header 'Content-Type: application/json' \
--data '{
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"date": "2019-08-24",
"establishmentId": 0,
"supplierId": 0,
"accountingAccountId": 0,
"observation": "string",
"details": [
{
"productId": 0,
"measureUnitId": 0,
"quantity": 0,
"unitCost": 0,
"lotNumber": "string",
"lotExpirationDate": "2019-08-24",
"lotManufactureDate": "2019-08-24"
}
]
}'{
"id": 0,
"number": 0,
"date": "2019-08-24",
"status": "REGISTERED",
"wholesale": true,
"establishmentId": 0,
"establishmentName": "string",
"supplierId": 0,
"supplierName": "string",
"supplierIdentification": "string",
"accountingAccount": {
"id": 0,
"code": "string",
"name": "string"
},
"totalCost": 0,
"observation": "string",
"createdBy": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedBy": "string",
"updatedAt": "2019-08-24",
"details": [
{
"id": 0,
"productId": 0,
"productReference": "string",
"productName": "string",
"measureUnitId": 0,
"measureUnitName": "string",
"quantity": 0,
"unitCost": 0,
"total": 0,
"lotNumber": "string",
"lotExpirationDate": "2019-08-24",
"lotManufactureDate": "2019-08-24"
}
]
}