TrackingMore API

Trackings 

Manage your trackings

URI Method Description
POST /trackings/post POST 創建壹個跟蹤項目
GET /trackings/{carrier_code}/{tracking_number} GET 獲取跟蹤單個跟蹤結果。
PUT /trackings/{carrier_code}/{tracking_number} PUT 更新跟蹤專案
DELETE /trackings/{carrier_code}/{tracking_number} DELETE 刪除跟蹤專案
POST /trackings/batch POST 創建多個跟蹤。
GET /trackings/get GET 列出所有的跟蹤
POST /trackings/updatemore POST 更新更多的跟蹤專案
POST /trackings/delete POST 刪除多個跟蹤專案
POST /trackings/realtime POST 獲取單次跟蹤的實時跟蹤結果
POST /trackings/update POST 修改運輸商簡碼
GET /trackings/getuserinfo GET 查詢用戶剩餘額度
GET /trackings/getstatusnumber GET 獲取狀態數量
POST /trackings/notupdate POST 批量不更新跟蹤項目
POST /trackings/remote POST 檢查裝運是否發送到遠端區域。
POST /trackings/costtime POST 獲取快遞時效結果
POST /trackings/aircargo POST 獲取航空運單編號的跟蹤結果

獲取航空運單編號的跟蹤結果

https://api.trackingmore.com/v2/trackings/aircargo

Headers

  • Content-Type: application/json
    Trackingmore-Api-Key: YOUR_API_KEY
  • Tips

    t

Parameters

Param描述
track_number 航空運單編號組
lang查詢語言

Request Body

  • {"track_number":["172-28891936","172-28891936"],"lang":"en"}
                                                                    

Response Attributes

  • Attributes描述
    track_number 航空運單編號組
    weight 總重量
    piece 總數
    origin 起點
    destination 目標點
    status_number 目前狀態代碼
    track_info 跟蹤資訊
    track_info -- plan_date 預期事件時間
    track_info -- actual_date 實際事件時間
    track_info -- event 當前事件
    track_info -- station 當前航班航站樓
    track_info -- flight_number 航班號
    track_info -- status 現狀
    track_info -- piece 當前編號
    track_info -- weight 當前重量
    flight_info 航空公司資訊
    flight_info -- plan_depart_time 預計出發時間
    flight_info -- depart_time 出發時間
    flight_info -- depart_station 出發站
    flight_info -- plan_arrival_time 預計到達時間
    flight_info -- arrival_time 到達時間
    flight_info -- arrival_station 到達站
    flight_info -- flight_way_station 飛行路線
    flight_info -- last_event 訂單的最新更新
    airline_info 空運公司的資訊
    airline_info -- name 公司名稱
    airline_info -- url 公司網站
    airline_info -- track_url 用於跟蹤的 URL
  • Response Body 200

    {
        "meta": {
            "code": 200,
            "type": "Success",
            "message": "Request Success"
        },
        "data": {
            "172-28891936": {
                "track_number": "172-28891936",
                "return_data": {
                    "weight": "1981K",
                    "piece": 9,
                    "origin": "XMN",
                    "destination": "MXP",
                    "track_info": [
                        {
                            "plan_date": "2018-04-18 20:29:00",
                            "actual_date": "2018-04-17 09:38:00",
                            "event": "Delivery",
                            "station": "MXP",
                            "flight_number": "C80066",
                            "status": "DLV",
                            "piece": "10",
                            "weight": ""
                        },
                        {
                            "plan_date": "2018-04-12 01:20:00",
                            "actual_date": "2018-04-11 17:41:00",
                            "event": "9 piece(s) accepted",
                            "station": "XMN",
                            "flight_number": "CV7493",
                            "status": "RCS",
                            "piece": "9",
                            "weight": ""
                        },
                        {
                            "plan_date": "2018-04-12 16:27:00",
                            "actual_date": "2018-04-11 15:56:00",
                            "event": "9 piece(s) arrived on CV7493",
                            "station": "LUX",
                            "flight_number": "CV7493",
                            "status": "ARR",
                            "piece": "9",
                            "weight": ""
                        }
                    ],
                    "status_number": 4,
                    "flight_info": {
                        "CV7493": {
                            "plan_depart_time": "2018-04-12 08:20:00",
                            "depart_time": "2018-04-12 08:46:00",
                            "depart_station": "XMN",
                            "plan_arrival_time": "2018-04-12 16:27:00",
                            "arrival_time": "2018-04-11 15:56:00",
                            "arrival_station": "LUX"
                        },
                        "C80066": {
                            "plan_arrival_time": "2018-04-14 20:29:00",
                            "arrival_time": "2018-04-13 20:21:00",
                            "arrival_station": "MXP",
                            "plan_depart_time": "2018-04-16 20:15:00",
                            "depart_time": "2018-04-14 19:31:00",
                            "depart_station": "LUX"
                        }
                    },
                    "flight_way_station": [
                        "XMN",
                        "LUX",
                        "MXP"
                    ],
                    "last_event": "2018-04-17 09:38:00, Delivery, MXP, C80066"
                },
                "airline_info": {
                    "name": "Cargolux Airlines",
                    "url": "https://www.cargolux.com/",
                    "track_url": "https://cvtnt.champ.aero/trackntrace?awbnumber=172-28891936"
                }
            }
        }
    }