c_agri_trade_code/docs/api/bruno/processing/post-order.bru

45 lines
916 B
Plaintext

meta {
name: Create Godown Processing Order
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/processing/orders
body: json
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
X-Tenant-ID: {{tenantId}}
Content-Type: application/json
Accept: application/json
}
body:json {
{
"order_id": "ORD-PROC-2026-001",
"operation_type": "SUKHAI",
"commodity_id": "COMM-WHEAT-01",
"godown_id": "WH-01",
"lot_id": "LOT-2026-101",
"input_weight_mt": 10.0,
"input_moisture_pct": 14.5,
"output_primary_weight_mt": 9.7,
"output_byproduct_weight_mt": 0.0,
"waste_dust_weight_mt": 0.3,
"cost_per_mt": 120.0
}
}
docs {
# Create Godown Processing Order (FR-PROCESSING-001, FR-PROCESSING-002, FR-PROCESSING-003)
Creates a godown processing work order (drying Sukhai or grading Chhanai) enforcing mass conservation balance within 0.001 MT tolerance.
}