Professional Documents
Culture Documents
1. Booking API
REST API URL (SAMPLE): https://<API_URL>/create-docket.php?auth_key=h9r9n7MGx7
Header:
Request Body:
{
"PickUpDetails": [
{
"DocketNo" : "5031503",
"DocketDate": "2020-01-11",
"RefNo": "111111",
"ContactPersonName": "Dhanush Agarwal",
"MobileNo": "9153660987",
"TelephoneNo": "03323565671",
"ConsignorName": "ABCD Pvt.Ltd",
"ConsignorAddress": "No 31/3, Adakimaranahalli, Makali Post, Da
sanapuraHobli, Bengaluru -562162 ",
"ConsignorCity": "Bengaluru",
"ConsignorPin": "562162",
"ConsigneeName": "XYZ Pvt.Ltd",
"ConsigneeAddress": "5/A Gulab Estate, Safed Pool, Sakinaka, T2
Link Road, Andheri Kurla Road, Mumbai, Maharashtra, 400072",
"ConsigneeCity": "Mumbai",
"ConsigneePin": "400072",
"DocRefNo": "CAB258645",
"ShipmentWeight": "430",
"NoOfCartons": "20",
"ProductDescription":"Automobile",
"ProductValue": "1270000",
"InvoiceDetails": [
{
"EwayBill": "1234",
"EwayBillDate": "2020-03-02",
"EwayExpDate": "2020-03-10",
"InvoiceNo": "4564345345",
"InvoiceValue": "42333.33"
},
{
"EwayBill": "788633",
"EwayBillDate": "2020-03-02",
"EwayExpDate": "2020-03-10",
"InvoiceNo":"34572245234",
"InvoiceValue": "42333.33"
},
{
"EwayBill": "29876",
"EwayBillDate": "2020-03-02",
"EwayExpDate": "2020-03-10",
"InvoiceNo": "4564345345",
"InvoiceValue": "42333.33"
}],
"BoxDetails":[
{
"Length": "1",
"Breadth": "2",
"Height": "3",
"Pkgs":"7"
},
{
"Length": "1",
"Breadth": "2",
"Height": "3",
"Pkgs":"7"
},
{
"Length": "1",
"Breadth": "2",
"Height": "3",
"Pkgs":"6"
}]
},
{
"DocketNo" : "5031504",
"DocketDate": "2020-01-11",
"RefNo": "111111",
"ContactPersonName": "Dhanush Agarwal",
"MobileNo": "9153660987",
"TelephoneNo": "03323565671",
"ConsignorName": "ABCD Pvt.Ltd",
"ConsignorAddress": "No 31/3, Adakimaranahalli, Makali Post, Da
sanapuraHobli, Bengaluru -562162 ",
"ConsignorCity": "Bengaluru",
"ConsignorPin": "562162",
"ConsigneeName": "XYZ Pvt.Ltd",
"ConsigneeAddress": "5/A Gulab Estate, Safed Pool, Sakinaka, T2
Link Road, Andheri Kurla Road, Mumbai, Maharashtra, 400072",
"ConsigneeCity": "Mumbai",
"ConsigneePin": "400072",
"DocRefNo": "CAB258645",
"ShipmentWeight": "430",
"NoOfCartons": "20",
"ProductDescription":"Automobile",
"ProductValue": "1270000",
"InvoiceDetails": [
{
"EwayBill": "1234",
"EwayBillDate": "2020-03-02",
"EwayExpDate": "2020-03-10",
"InvoiceNo": "4564345345",
"InvoiceValue": "42333.33"
},
{
"EwayBill": "788633",
"EwayBillDate": "2020-03-02",
"EwayExpDate": "2020-03-10",
"InvoiceNo":"34572245234",
"InvoiceValue": "42333.33"
},
{
"EwayBill": "29876",
"EwayBillDate": "2020-03-02",
"EwayExpDate": "2020-03-10",
"InvoiceNo": "4564345345",
"InvoiceValue": "42333.33"
}],
"BoxDetails":[
{
"Length": "1",
"Breadth": "2",
"Height": "3",
"Pkgs":"7"
},
{
"Length": "1",
"Breadth": "2",
"Height": "3",
"Pkgs":"7"
},
{
"Length": "1",
"Breadth": "2",
"Height": "3",
"Pkgs":"6"
}]
}
]
}
Dataload
Element Data Type Data Value
Length
ContactPersonName Alphabetic 50
MobileNo Numeric 10
TelephoneNo Numeric 11
DocRefNo Alphanumeric 12
EwayBillDate Date(YYYY-MM-
DD) Array data
EwayExpDate Date(YYYY-MM-
DD) Array data
Response:
1>Success
{
"DocketNo":”02031504“,
“StatusCode”: 200,
},
"RefNo": 111113,
“DocketNo”: 02031505,
“StatusCode”: 400,
}]
2>Failure
9>“Status": "Shipment Weight should be Numeric or Decimal(Two Decimal places) and mandatory”
2. Tracking API
REST API URL(SAMPLE): https://<API_URL>/docket-tracking.php? auth_key=h9r9n7MGx7
Request Type:POST
Header :
APIKEY(auth_key:h9r9n7MGx7
Request Body:
{
"cn_no":[215881,20739681]
}
Response Body:
1>Success
{
"statustracking": [
{
"Shipment": {
"DocketNumber": "00215881",
"OrderNumber": "",
"InvoiceNumber": "1822288252",
"NumberOfBoxes": "2",
"NetValue": "18367.00",
"Origin": "BANGALORE",
"OriginPostalCode": "",
"Destination": "BHIWANDI",
"DestinationPostalCode": "",
"PickUpDate": null,
"pickUpTime": "",
"Weight": "9.00",
"ShipmentMode": "S",
"expectedDeliveryDate": "01-02-2022",
"Scans": {
"ScanDetail": [
{
"ScanCode": "INT",
"Scan": "SHIPMENT IN-TRANSIT",
"ScanDate": "30-01-2022",
"ScanTime": "1703",
"ScannedLocationCode": "SBC",
"ScannedLocation": "BANGALORE",
"ScannedLocationStateCode": "",
"Status TimeZone": "IST",
"Comments": "",
“UnDelReason”:””,
"StatusLatitude": "",
"StatusLongitude": ""
}
],
"DeliveryDetails": "",
"POD": ""
}
}
}
]
}
2>Success
{
"statustracking": [
{
"Shipment": {
"DocketNumber": "00215881",
"OrderNumber": "",
"InvoiceNumber": "1822288252",
"NumberOfBoxes": "2",
"NetValue": "18367.00",
"Origin": "BANGALORE",
"OriginPostalCode": "",
"Destination": "BHIWANDI",
"DestinationPostalCode": "",
"PickUpDate": null,
"pickUpTime": "",
"Weight": "9.00",
"ShipmentMode": "S",
"expectedDeliveryDate": "01-02-2022",
"Scans": {
"ScanDetail": [
{
"ScanCode": "DEL",
"Scan": "SHIPMENT DELIVERED",
"ScanDate": "18-05-2021",
"ScanTime": "1458",
"ScannedLocationCode": "DHL",
"ScannedLocation": "DHULAGARH",
"ScannedLocationStateCode": "",
"Status TimeZone": "IST",
"Comments": "",
“UnDelReason”:””,
"StatusLatitude": "",
"StatusLongitude": ""
}
],
"DeliveryDetails": {
"ReceivedBy": "",
"Relation": "",
"IDType": "",
"IDNumber": "",
"IDImage": "",
"Signature": ""
},
"POD": "http://<DOMAIN_URL>/item_images/00215881.jpg"
}
}
}
]
}
Scan Codes with Descriptions: