FoodGuard Mobile API
    • Authentication
      • Resolve Company
        GET
      • User Login
        POST
      • User Logout
        POST
    • Lookups
      • List Branches
        GET
      • Get Branch Details
        GET
      • List Suppliers
        GET
      • Get Supplier Details
        GET
      • List Food Categories
        GET
      • List Shipment Types
        GET
    • Batch Management
      • List Batches
        GET
      • Create Batch
        POST
      • Get Batch Details
        GET
    • Phase 1: Truck Inspection
      • Submit Truck Inspection
        POST
      • Upload Escalation Photo
        POST
    • Phase 2: Label Analysis
      • Analyze Label (OCR)
        POST
      • Update Batch OCR Data
        PATCH
    • Phase 3: Sample Evaluation
      • List Batch Samples
        GET
      • Add Sample to Batch
        POST
      • Replace Sample Photo
        PATCH
      • Delete Sample
        DELETE
    • Phase 4: Finalize
      • Finalize Batch Inspection
        POST
    • Dashboard & History
      • Get Dashboard Stats
      • Get Inspection History
    • Settings
      • Get Temperature Thresholds
    • Schemas
      • Sample
      • ShipmentTypeObject

    Sample

    {
        "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"
    }
    Built with