API to fetch the details of waybill using its reference number or carrier waybill number.
These are form parameters:
Parameter | Data Type | Required/Optional | Description |
---|---|---|---|
SecureKey | int | Required | It is a Unique key for accessing the API. For secure key email to support team. |
referenceNumber | String | Required | Reference number of Waybill Number. |
carrierWaybill | String | Optional | Carrier Waybill Number of Waybill Number. |
ON SUCCESS
{
"message":"tracking_details",
"messageType": "Success",
"waybillJson":
"{
\"wayBillNumberTrackDetailList\":
[
{
\"actualDeliveryDate\":\"2019-02-16\",
\"bookingDate\":\"2019-02-16\",
\"bookingLocation\":\"Howrah\",
\"bookingOu\":\"Kolkata\",
\"carrierWaybill\":\"123412\",
\"consignee\":\"ANIL AUTOMOBILE\",
\"consignor\":\"FALKEN TYRE INDIA PVT LTD\",
\"creationDate\":\"2019-02-16\",
\"creationTime\":\"12:22:06 PM\",
\"currentOu\":\"Kolkata\",
\"currentStatus\":\"Delivered\",
\"deliveryDate\":\"2019-02-16\",
\"deliveryLocation\":\"Roing\",
\"deliveryOu\":\"Kolkata\",
\"deliveryRunSheet\":
[
{
\"Status\":\"\",
\"Time\":\"2019-02-16T17:55:00.000+05:30\",
\"deliveryStatus\":\"DELIVERED\",
\"deliveryComments\":\"\"}],
\"description\":\"TYRE\",
\"epod\":\"\",
\"fromLocation\":\"\",
\"invoiceAmount\":100000.0,
\"invoiceNumber\":\"\",
\"numberOfPackages\":\"5\",
\"packageType\":\"Box\",
\"paymentMode\":\"TBB\",
\"paymentType\":\"Prepaid\",
\"reason\":\"\",
\"referenceNumber\":\"RIVIGO\",
\"service\":\"LTL\",
\"toLocation\":\"\",
\"wayBillDeliveryAttemptDetail\":[],
\"wayBillEnrouteDetail\":[],
\"wayBillTrackingDetail\":
[
{
\"actionLabel\":\"Delivered\",
\"date\":\"2019-02-16T00:00:00\",
\"time\":\"1970-01-01T12:25:00\",
\"updateBy\":\"kolkata\",
\"updatedOU\":\"Kolkata\",
\"waybillStatus\":\"Delivered\"
},
{
\"actionLabel\":\"Out For Delivery\",
"date\":\"2019-02-16T00:00:00\",
\"time\":\"1970-01-01T12:25:50\",
\"updateBy\":\"kolkata\",
\"updatedOU\":\"Kolkata\",
\"waybillStatus\":\"Out For Delivery\"
},
{
\"actionLabel\":\"At Origin\",
\"date\":\"2019-02-16T00:00:00\",
\"time\":\"1970-01-01T12:22:06\",
\"updateBy\":\"Ankur\",
\"updatedOU\":\"Kolkata\",
\"waybillStatus\":\"At Origin\"
}
],
\"waybillNumber\":\"110211028\"
}
]
}"
}
ON ERROR
{
"message": "Error_Message",
"messageType" : "Error"
}
Error Messages | Description |
---|---|
import java.net.URL;
public class GetTrackingByReferenceOrCarrierWaybillNumber {
private static final String ACCESS_URL = API_URL+SECURE_KEY+"&referenceNumber="+REFERENCENUMBER+"&carrierWaybill="+CARRIERWAYBILL;
StringBuffer response = new StringBuffer();
in.close();
}
}
}}
headers={'AccessKey':'logixerp'}