FoodGuard Mobile API
    FoodGuard Mobile API
    • Authentication
      • User Login
        POST
      • User Logout
        POST
    • Lookups
      • Branches
        • List
        • Show
      • Suppliers
        • List
        • Show
      • List Food Categories
        GET
    • Inspection
      • Lookup Batch by QR/Barcode
        GET
      • Initialize Inspection Batch
        POST
      • Upload Sample Image for AI Analysis
        POST
      • Finalize Batch Inspection
        POST
    • History
      • Get Inspection History
        GET
    • Inspector Dashboard
      • Get Home Screen Stats
        GET
    • Food Safety
      • Submit Truck Inspection Data
        POST
      • Upload Sample Label Photo
        POST
      • Analyze Label Image (OCR)
        POST
    • Settings
      • Get Quality Thresholds
    • Schemas
      • User
      • Branch
      • Supplier
      • BatchInitResponse
      • AISampleResult
      • ErrorResponse
      • ValidationErrorResponse
      • TruckInspectionRequest
      • TruckInspectionResponse
      • Category
      • ThresholdSettings

    TruckInspectionResponse

    {
        "batch_id": "BTH-2025-0012",
        "truck_inspection": {
            "vehicle_id": "VH-1234",
            "truck_temp": 4.5,
            "truck_cleanliness": true,
            "temp_status": "passed",
            "threshold": 10,
            "warning_threshold": 8,
            "recorded_at": "2025-12-24T10:30:00Z"
        },
        "batch_status": {
            "value": "passed",
            "label": "Pending"
        }
    }
    Built with