Track Order V - 1.0.0
Get the package details and the current status of the package with package tracker API.
Staging URL
Production URL
Parameter
Field | Type | Description |
---|---|---|
access_token | String | You will get this from IThink Logistics team. |
secret_key | String | You will get this from IThink Logistics team. |
awb_number_list | String | List of AWB Number which you want to track. (Max Limit 10 AWB No. in one request) |
{ "data": { "awb_number_list" : "1369010468790", #List of AWB Number which you want to track. "access_token" : "8ujik47cea32ed386b1f65c85fd9aaaf", "secret_key" : "65tghjmads9dbcd892ad4987jmn602a7" } }
{ "status_code": 200, "data": { "ShipmentData": [ { "Shipment": { "Origin": "Hyderabad_Mhdiptnm_C (Telangana)", "Status": { "Status": "Delivered", "StatusLocation": "Hyd_Gachibowli (Telangana)", "StatusDateTime": "2018-02-06T11:26:23.002000", "RecievedBy": "", "Instructions": "Delivered at Mailroom/Security", "StatusType": "DL", "StatusCode": "EOD-37" }, "PickUpDate": "2018-02-05T19:23:26", "ChargedWeight": "null", "OrderType": "Pre-paid", "Destination": "hyderabad", "Consignee": { "City": "hyderabad", "Name": "Damayanthi Korada", "Country": "India", "Address2": "[]", "Address3": "", "PinCode": "500032", "State": "Telangana", "Telephone2": "", "Telephone1": [ "94916 16230" ], "Address1": [ "vinayakanagar\\nGachibowli,\\n+91 94916 16230" ] }, "ReferenceNo": "1683", "ReturnedDate": "null", "DestRecieveDate": "2018-02-06T08:24:46.416000", "OriginRecieveDate": "2018-02-05T20:46:18.275000", "OutDestinationDate": "2018-02-05T20:48:38.905000", "CODAmount": "0", "EWBN": [], "FirstAttemptDate": "null", "ReverseInTransit": "false", "Scans": [ { "ScanDetail" : { "ScanDateTime": "2018-02- 05T17:28:59.708000", "ScanType": "UD", "Scan": "Manifested", "StatusDateTime": "2018-02- 05T17:28:59.708000", "ScannedLocation": "Mumbai_MaladWest_CP (Maharashtra)", "Instructions": "Consignment Manifested", "StatusCode": "X-UCI" } }, { "ScanDetail": { "ScanDateTime": "2018-02- 05T19:16:59.694000", "ScanType": "UD", "Scan": "In Transit", "StatusDateTime": "2018-02- 05T19:16:59.694000", "ScannedLocation": "Hyderabad_Mhdiptnm_C (Telangana)", "Instructions" : "Shipment Picked Up from Client Location", "StatusCode": "X-PPOM" } } ], "SenderName": "ITHINKLOGISTICS", "AWB": "1369010468790", "DispatchCount": "1", "InvoiceAmount": "1790" } } ] } }
Sample Beta Code
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://pre-alpha.ithinklogistics.com/api/order/track.json", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n", CURLOPT_HTTPHEADER => array( "cache-control: no-cache", "content-type: application/json" ) )); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
import requests url = "https://pre-alpha.ithinklogistics.com/api/order/track.json" payload = "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n" headers = { 'content-type': "application/json", 'cache-control': "no-cache" } response = requests.request("POST", url, data=payload, headers=headers) print(response.text)
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n"); Request request = new Request.Builder() .url("https://pre-alpha.ithinklogistics.com/api/order/track.json") .post(body) .addHeader("content-type", "application/json") .addHeader("cache-control", "no-cache") .build(); Response response = client.newCall(request).execute();
var client = new RestClient("https://pre-alpha.ithinklogistics.com/api/order/track.json"); var request = new RestRequest(Method.POST); request.AddHeader("cache-control", "no-cache"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
require 'uri' require 'net/http' url = URI("https://pre-alpha.ithinklogistics.com/api/order/track.json") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["cache-control"] = 'no-cache' request.body = "{\"data\":{\"awb_number_list\":\"1369010468790\",\"access_token\":\"8ujik47cea32ed386b1f65c85fd9aaaf\",\"secret_key\":\"65tghjmads9dbcd892ad4987jmn602a7\"}}\n" response = http.request(request) puts response.read_body