c_agri_trade/docs/api/bruno/receiving/create-weighment.bru

40 lines
741 B
Plaintext

meta {
name: Record Weighbridge Slip & Bag Tare
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/receiving/weighments
body: json
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
Content-Type: application/json
X-Tenant-ID: {{tenantId}}
Accept: application/json
}
body:json {
{
"gate_pass_id": "e0000000-0000-0000-0000-000000000001",
"gross_weight_mt": 38.45,
"tare_weight_mt": 13.2,
"bag_packaging_type": "JUTE_GUNNY_NEW",
"bag_tare_rate_kg": 0.65,
"actual_bag_count": 500
}
}
docs {
# Record Weighbridge Slip & Bag Tare (FR-INWARDRECEIVING-002, FR-INWARDRECEIVING-003)
Captures gross weight, empty truck tare weight, and calculates packaging tare (Bardana Katai).
}