Get Indents API

API Endpoint:

Request Headers:

Name

Type

Location

Description

Example

Name

Type

Location

Description

Example

Authorization

string

headers

JWT token required to authenticate API call.

Authorization: Bearer eyJhbGciOiJIUzI1Ni

Request Parameters:

Name

Type

Location

Description

Example

 

Name

Type

Location

Description

Example

 

indent_status

string

parameters

Any one of the given examples

PENDING_LSP_ACCEPTANCE,
PENDING_VEHICLE_PLACEMENT,
PENDING_VEHICLE_REPORTING,
PARTIALLY_CLOSED,
COMPLETELY_CLOSED,
CANCELLED,
EXPIRED

 

page_size

Number

parameters

Number of record shows per page

5

 

page_number

Number

parameters

page number

1

 

publish_start_timestamp

Number

parameters

Time in milliseconds

1618490680000

 

publish_end_timestamp

Number

parameters

Time in milliseconds

1618496680000

 

sort_order

string

parameters

order by

 

 

Request Method : “GET“
Response Body:

Example value:

{ "feed_unique_id": "CNR ID for each indent request", "indent_id": "20da88", "indent_status": "COMPLETELY_CLOSED", "type": "PER_TRUCK", "consignor": { "ref_code": "ERNAKU", "branch_name": "Ernakulam Branch", "company_name": "KIEHLS INTERNATIONAL PVT LTD" }, "consignee": { "ref_code": "ROH_SATI", "name": "Rohan - Sativali" }, "created_at": 1615456669348, "published_at": 1615456668893, "updated_at": 1615524869497, "transporter_acceptance_cutoff": 1615462200000, "vehicle_placement_cutoff": 1615512600000, "vehicle_reporting_cutoff": 1615620600000, "reporting_overdue_start": 1615534200000, "min_tons_per_transporter": 1, "min_vehicle_per_transporter": 1, "custom_params": { "packaging_type": "covered", "packaging_date": 1615456669371, "packed_products": [ "product 1", "prodcut 2" ] }, "comment": "Indent publishing comment", "republish_count": 0, "payment_mode": "TO_BILL", "route": { "ref_code": "ERNAKU-SATI", "label": "Ernakulam", "loading_point": { "ref_code": "ERNAKU", "address": "Ernakulam, Kerala, India", "location": { "lat": 9.98164, "lon": 76.29988 } }, "unloading_point": { "ref_code": "SATI", "address": "Sativali Rd, Golani Naka, Vasai East, Vasai-Virar, Maharashtra 401208, India", "location": { "lat": 19.40692, "lon": 72.86594 } } }, "request_vehicle_types": [ { "quantity": 1, "min_preferred_rate": 0, "max_preferred_rate": 0, "vehicle_type": { "display_label": "32FT SXL Closed 20TON", "ref_code": "32ft-sxl-closed-20tn", "body_type": "closed", "weight": 20, "weight_unit": "TON" } } ], "request_materials": [ { "material_type": { "material_name": "ATM", "ref_code": "ATM" }, "preferred_rate_per_ton": 0, "total_weight": 50, "total_weight_unit": "TON" } ], "publishing_details": { "description": "Publish to L1 (level 1) and L2 (level 2)", "transporters": [ { "level": "L1", "transporter": [ { "label": "NAVDAS TRANSPORT CARRIERS", "ref_code": "NAVDAS" } ] }, { "level": "L2", "transporter": [ { "label": "DAS TRANSPORT CARRIERS", "ref_code": "DAS" } ] } ] }, "supply_info": [ { "level": "L1", "transporter": { "label": "NAVDAS TRANSPORT CARRIERS", "transporter_code": "asdfsd" }, "fulfillment_details": [ { "vehicle_type": { "ref_code": "32ftSXLClosed" }, "material": { "ref_code": "23412" }, "vehicle_state": "ACCEPTED", "acceptance_info": { "acceptance_timestamp": 1618972048356, "accepted_by": { "transporter": { "ref_code": "NAVDAS" } } } }, { "vehicle_type": { "ref_code": "20ftSXLClosed" }, "material": { "ref_code": "23412" }, "vehicle_state": "PLACED", "acceptance_info": { "acceptance_timestamp": 1618972048356, "accepted_by": { "transporter": { "ref_code": "DAS" } } }, "placement_info": { "vehicle_number": "KA01TY4578", "placed_at": 1618972048356, "placement_users_info": { "drivers": { "name": "Mitesh", "contact": [ "9484889788" ] }, "owners": { "name": "Raju", "contact": [ "7585875888" ] }, "brokers": { "name": "Hiten", "contact": [ "89988677878" ] }, "transporter_babus": [ { "name": "Pavan", "contact": [ "8764889788" ] } ] } } }, { "vehicle_type": { "ref_code": "32ftSXL" }, "material": { "ref_code": "23412" }, "vehicle_state": "REPORTED", "acceptance_info": { "acceptance_timestamp": 1618972048356, "accepted_by": { "transporter": { "ref_code": "DAS" } } }, "placement_info": [ { "vehicle_number": "KA01TY4578", "placed_at": 1618972048356, "placement_users_info": { "drivers": { "name": "Mitesh", "contact": [ "9484889788" ] }, "owners": { "name": "Raju", "contact": [ "7585875888" ] }, "brokers": { "name": "Hiten", "contact": [ "89988677878" ] }, "transporter_babus": [ { "name": "Pavan", "contact": [ "8764889788" ] } ] } } ], "reporting_info": { "reported_at": 1618972048356 } } ] } ] }

Responses:

Status code 200 Successful

[ { Response data } ]

Status code 400 (Bad Request)

{ "error": "Failed with reason - feed_unique_id is mandatory" }

Post your questions in the comment box to get answers from the experts who watch this page.

For engineering support: visit FT Support