curl --location 'https://api.crol.mx/api/Inventario/EntregaMercancia' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"almacenId": 0,
"comentario": "string",
"divisionId": 0,
"entidadId": 0,
"entidadIdTransportista": 0,
"fecha": "string",
"sucursalId": 0,
"comentarioEntrega": "string",
"detalle": [
{
"almacenId": 0,
"centroCostoId": 0,
"comentario": "string",
"conceptoId": 0,
"consecutivo": 0,
"divisionId": 0,
"umId": 0,
"cantidad_ordenada": 0,
"cantidad_recibida": 0,
"costoIdentificado": {
"ListaLotesCapa": [
{
"lote": "string",
"cantidad": 0,
"capaId": 0,
"cantidadMaxima": 0,
"fechaCaducidad": "string"
}
]
},
"costoIdentificadoTipo": 0,
"movimientoId2": 0,
"transaccionId2": 0
}
],
"entregar": true,
"entregarFecha": "string",
"transaccionId2": 0
}'{
"data": {
"id": 0,
"folio": "string",
"fechaDocumento": "2019-08-24T14:15:22.123Z",
"total": 0,
"notas": "string",
"fechaRegistro": "2019-08-24T14:15:22.123Z",
"mensaje": "string",
"movimientoInventario": 0
},
"resultado": true,
"error": {
"error": null,
"errorMensaje": "string",
"errorCodigo": 0
}
}