c_agri_trade_code/docs/api/bruno/compliance/post-mandi-permit.bru

44 lines
855 B
Plaintext

meta {
name: Issue Mandi Transit Permit
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/compliance/mandi/permits
body: json
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
X-Tenant-ID: {{tenantId}}
Content-Type: application/json
Accept: application/json
}
body:json {
{
"permit_number": "ANUGYA-2026-001",
"mandi_samiti_code": "MANDI-NEEMUCH-01",
"dispatch_id": "disp-001",
"vehicle_reg_no": "MP-44-CA-5678",
"commodity_id": "SOYBEAN",
"quantity_mt": 25.0,
"bag_count": 500,
"destination_city": "Kota",
"issued_at": "2026-10-17T10:00:00Z",
"valid_until": "2026-10-18T22:00:00Z"
}
}
docs {
# Issue Mandi Transit Permit (FR-MANDI-001, FR-MANDI-002)
Generates an official Anugya Patra transit permit and deducts volume from the single-point tax-paid volume ledger.
}