“;print_r($tracking_ids);echo ““;
foreach($tracking_ids as $key=>$value){
?>
Shipments Detail
Your shipment detail. for all Status Detail click on Forwarding No.
“;print_r($_REQUEST[‘tracking_id’]);echo ““;
$url = “http://api.zedexsoftware.in/api/RbsExpress/GetShipmentStatus”;
//$fields = array(‘AWBNO’=> ‘124062’,);
$tracking_id = strval($value);
$fields = array(‘AWBNO’=> $tracking_id,);
$post_string = json_encode($fields);
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_POST, TRUE);
curl_setopt($ch,CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch,CURLOPT_POSTFIELDS, $post_string);
curl_setopt($ch,CURLOPT_HTTPHEADER, array(“Content-Type: application/json”));
$result = curl_exec($ch);
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$result = json_decode($result, TRUE);
curl_close($ch);
//echo “
";print_r($result)."
“;
?>
| Awb No. | Booking Date | ORIGIN |
Destination | CONSIGNEE | FWD. No |
Status | Date | Time |
|
|
|
|
|
|
|
|
|
|
Shipments History
“;print_r($_REQUEST);echo ““;
$url = “http://api.zedexsoftware.in/api/RbsExpress/GetShipmentHistory”;
//$fields = array(‘AWBNO’=> ‘110077’,);
$tracking_id = strval($value);
$fields = array(‘AWBNO’=> $tracking_id,);
$post_string = json_encode($fields);
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_POST, TRUE);
curl_setopt($ch,CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch,CURLOPT_POSTFIELDS, $post_string);
curl_setopt($ch,CURLOPT_HTTPHEADER, array(“Content-Type: application/json”));
$result = curl_exec($ch);
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$result = json_decode($result, TRUE);
curl_close($ch);
//echo “
";print_r($result)."
“;
?>
| Shipment Travel History for AWB No.: |
| Shipment No. |
Ship Date |
Ship Time |
Status |
Remarks |
|
|
|
|
|
|