FoodGuard Mobile API
  1. Phase 1: Truck Inspection
FoodGuard Mobile API
  • Authentication
    • User Login
      POST
    • User Logout
      POST
  • Lookups
    • Branches
      • List
      • Show
    • Suppliers
      • List
      • Show
    • List Food Categories
      GET
  • Batch Management
    • List Batches
      GET
    • Create Batch
      POST
    • Get Batch Details
      GET
  • Phase 1: Truck Inspection
    • Submit Truck Inspection
      POST
  • Phase 2: Label Analysis
    • Analyze Label (OCR)
      POST
  • Phase 3: Sample Evaluation
    • List Batch Samples
      GET
    • Add Sample to Batch
      POST
  • Phase 4: Finalize
    • Finalize Batch Inspection
      POST
  • Dashboard & History
    • Get Dashboard Stats
      GET
    • Get Inspection History
      GET
  • Settings
    • Get Quality Thresholds
      GET
  1. Phase 1: Truck Inspection

Submit Truck Inspection

POST
/batches/{batch_id}/truck-inspection
Records truck inspection data. Required before adding samples.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Body Params multipart/form-dataRequired

Responses

🟢200
application/json
Truck inspection recorded
Body

Example
{
    "success": true,
    "message": "string",
    "data": {}
}
🟠422
Modified at 2025-12-31 17:04:53
Previous
Get Batch Details
Next
Analyze Label (OCR)
Built with