c_agri_trade/project_code/docs/api/bruno/receiving/post-grn.bru

37 lines
714 B
Plaintext

meta {
name: Post Goods Receipt Note and Mint Lot
type: http
seq: 3
}
post {
url: {{baseUrl}}/api/v1/receiving/grn
body: json
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
Content-Type: application/json
X-Tenant-ID: {{tenantId}}
Accept: application/json
}
body:json {
{
"weighment_slip_id": "f0000000-0000-0000-0000-000000000001",
"godown_id": "d0000000-0000-0000-0000-000000000001",
"godown_stack_id": "d1000000-0000-0000-0000-000000000001"
}
}
docs {
# Post Goods Receipt Note and Mint Lot (FR-INWARDRECEIVING-005, FR-INWARDRECEIVING-006)
Atomically generates GRN, assigns physical godown stack, and mints traceable lot identity in QUALITY_HOLD.
}