curl --location --request POST 'https://api.crol.mx//api/Inventario/RecepcionMercancia' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"almacenId": 0,
"comentario": "string",
"divisionId": 0,
"entidadId": 0,
"entidadIdTransportista": 0,
"fecha": "string",
"sucursalId": 0,
"detalle": [
{
"almacenId": 0,
"centroCostoId": 0,
"comentario": "string",
"conceptoId": 0,
"consecutivo": 0,
"divisionId": 0,
"umId": 0,
"cantidad": 0,
"cantidad_averiada": 0,
"costoIdentificado": {
"ListaLotes": [
{
"Lote": "string",
"Cantidad": 0,
"Fecha": "string"
}
]
},
"costoIdentificadoTipo": 0,
"disponible": 0,
"movimientoId2": 0,
"transaccionId2": 0
}
],
"entidadIdRecibe": 0,
"transaccionId2": 0
}'{
"data": {
"id": 0,
"folio": "string",
"fechaDocumento": "string",
"total": 0,
"notas": "string",
"fechaRegistro": "string",
"mensaje": "string",
"movimientoInventario": 0
},
"resultado": true,
"error": {
"error": null,
"errorMensaje": "string",
"errorCodigo": 0
}
}