...
Method: “POST“
Request Headers:
Name | Type | Location | Description | Example |
---|---|---|---|---|
Authorization | string | headers | JWT token required to authenticate API call. | Authorization: Bearer eyJhbGciOiJIUzI1Ni |
Request Body
Request methods for the deferent way to create indent given below
...
Example value
Code Block | ||
---|---|---|
| ||
{ "type": "PER_TRUCK", "feed_unique_id": "FEED160620212", "route_ref_code": "INDR001", "vehicle_types": [ { "ref_code": "VHT-0002", "quantity": 1, "min_preferred_rate": 0, "max_preferred_rate": 0 } ], "loading_point": {}, "unloading_point": {}, "payment_mode": "TO_BILL", "comments": "testing integration add indent", "drop_points": [ { "consignee": { "fteid": "COM-afb2fa0b-d388-4f52-b3cc-d7f6359ea718" }, "drop_location": { "label": "Andheri West, Mumbai, Maharashtra, India", "place"place_id": "PLC-e4a43efb-33b0-4667-aeb4-794a6420f4e6" }, "so_dos": [ { "so": "SO1", "do": [ { "id": "DO1", "qty": "1" } ] } ] } ], "custom_param": { "SO": "SO-1334", "DO": "DO-87676" }, "publishing_rule": { : { "single": {}, "l1": { "transporter_ref_code": [ "Indent Transporter 2 Company" ] "acceptance_deadline": 1626860809609 }, "l2": {}, "l3": {}, "non_contracted": { "transporter_ref_code": [ "Indent Transporter 5 Company" ] "acceptance_deadline": 1626860809609 }, "multiple": {} }, "assignment_deadline": 1626860809609, "reporting_deadline": 1626860809609, "reporting_overdue": 1626860809609, "bid_acceptance_deadline": 1626860809609, "branch_ref_code": "BRH1234" } |
...