c_agri_trade/project_code/docs/api/bruno/quality/post-inspection.bru

41 lines
790 B
Plaintext

meta {
name: Record Quality Lab Assay
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/quality/inspections
body: json
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
Content-Type: application/json
X-Tenant-ID: {{tenantId}}
Accept: application/json
}
body:json {
{
"lot_id": "c1000000-0000-0000-0000-000000000001",
"sample_code": "SMP-2026-9042",
"moisture_pct": 11.5,
"foreign_matter_pct": 2.1,
"damaged_grain_pct": 1.8,
"oil_content_pct": 18.4,
"remarks": "Produce within acceptable commercial moisture tolerance"
}
}
docs {
# Record Quality Lab Assay (FR-QUALITYANDLOTCONTROL-001, FR-QUALITYANDLOTCONTROL-002)
Captures laboratory analytical parameters and calculates commercial quality deductions/rebates.
}