{
"success": true,
"data": {
"id": 0,
"code": "string",
"branch": {},
"supplier": {},
"shipment_type": {
"value": "chilled",
"label": "Chilled"
},
"food_name": "string",
"food_category": "string",
"status": {},
"inspector": {},
"notes": "string",
"truck_temp": 0,
"truck_cleanliness": true,
"truck_cleanliness_photo": "http://example.com",
"weight": 0,
"temp": 0,
"vehicle_id": "string",
"truck_inspected_at": "2019-08-24T14:15:22.123Z",
"is_auto_finalized": true,
"escalation_photo": "http://example.com",
"ocr_data": {
"expiry_date": "2019-08-24",
"production_date": "2019-08-24",
"supplier_batch_number": "string",
"ocr_confidence": 0,
"label_photo": "http://example.com"
},
"is_partial_completion": true,
"samples_count": 0,
"passed_samples_count": 0,
"rejected_samples_count": 0,
"review_samples_count": 0,
"ai_recommendation": {
"recommendation": "pass",
"confidence": 0,
"factors": [
"string"
]
},
"samples": [
{
"sequence": 0,
"id": 0,
"code": "string",
"batch_id": 0,
"name": "string",
"temperature": 0,
"status": {
"value": "passed",
"label": "string",
"color": "string"
},
"notes": "string",
"label_photo": "http://example.com",
"has_label_photo": true,
"ai_insights": "string",
"ai_confidence": 0,
"ai_flags": [
"string"
],
"quality_score": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
],
"critical_samples": [
{
"sequence": 0,
"id": 0,
"code": "string",
"name": "string",
"reason": "string",
"flags": [
"string"
],
"quality_score": 0
}
],
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
}