文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
查询指定的运单详情
更新时间:2018-06-13 16:55:15   更新人员:叶洋   文档状态:完成 #316    测试接口
摘要
  1. 接口基本信息
    接口名称:获取一个指定的运单信息
    请求方法:GET
    接口地址:waybill/:waybill_id
    登录验证:是
  2. 路由参数
    参数名 参数 数据类型 是否必须 示例值 说明
    waybill_id 运单序号 string
  3. 请求示例
    请求例子:
     
    apirq('waybill/:waybill_id', {
        data: {
            "waybill_id": "5b20d83f01386536"
        },
        urlparams: [
            "waybill_id"
        ]
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1528880076",
        "data": {
            "waybill_id": "5b20d83f01386536",
            "waybill_no": "A10002",
            "is_preset_waybill": 0,
            "status": 1,
            "substatus": 0,
            "unsteady_status": "",
            "shipper_id": "5b20d83f01408722",
            "consignee_id": "5b20d83f01460053",
            "start_net_id": "5c941225fa6c62cd",
            "end_net_id": "dac3c3cfe9cd9b7e",
            "create_time": "2018-06-13 16:39:27",
            "create_by": {
                "uid": "0000000000000001",
                "code": "U1000000",
                "username": "administrator",
                "nickname": "超级管理员",
                "realname": "超级管理员"
            },
            "create_netid": "",
            "create_orgid": "",
            "create_merid": "c17ec996d3ffc85f",
            "update_time": "2018-06-13 16:39:27",
            "update_by": {
                "uid": "0000000000000001",
                "code": "U1000000",
                "username": "administrator",
                "nickname": "超级管理员",
                "realname": "超级管理员"
            },
            "send_time": "2018-06-13 00:00:00",
            "arrive_date": "2018-06-22 00:00:00",
            "arrive_time": "",
            "signfor_time": "",
            "receipt_time": "",
            "finish_time": "",
            "payment_method": 101,
            "delivery_method": 1,
            "time_limit": 0,
            "need_receipt_copies": 0,
            "total_weight": 12,
            "total_volume": 8,
            "total_fee": 12,
            "badge": "",
            "need_insure": 0,
            "dispatch": null,
            "signin": null,
            "lineids": ",5eaa7800bbf28a3e,",
            "netids": ",5c941225fa6c62cd,dac3c3cfe9cd9b7e,",
            "orgids": ",35bd69f599698d1f,",
            "curr_net_id": "",
            "has_outsourcing_bill": 0,
            "third_waybill_no": "",
            "has_problem": 0,
            "remark": "",
            "delete_time": 0,
            "shipper": {
                "client_id": "5b20d83f01408722",
                "province_id": 37491,
                "city_id": 37917,
                "district_id": 38250,
                "lng": 103.962137,
                "lat": 30.561935,
                "name": "李小",
                "phone": "13244184152",
                "reserve_phone": "",
                "address": "四川省成都市双流区临港路一段成都双流国际机场"
            },
            "consignee": {
                "client_id": "5b20d83f01460053",
                "province_id": 37491,
                "city_id": 41017,
                "district_id": 41254,
                "lng": 106.083561,
                "lat": 30.793719,
                "name": "呢你以",
                "phone": "13722565147",
                "reserve_phone": "",
                "address": "四川省南充市顺庆区中城街道花市街40号"
            },
            "fee": {
                "waybill_id": "5b20d83f01386536",
                "service_fee": 0,
                "surfacebill_fee": 0,
                "carriage_fee": 12,
                "carriage_fee_inp": 12,
                "carriage_fee_diff": 0,
                "carriage_fee_show": 12,
                "pickup_fee": 0,
                "cfs_fee": 0,
                "forklift_fee": 0,
                "deliver_fee": 0,
                "intro_fee": 0,
                "coupon_fee": 0,
                "insure_fee": 0,
                "insure_fee_inp": 0,
                "insure_fee_diff": 0,
                "agencyfund_fee": 0,
                "agencyfund_fee_handling": 0,
                "agencyfund_fee_reback": 0,
                "agencyfund_fee_diff": 0,
                "waybill_fee": 0,
                "print_show_fee": 0,
                "cargos_total_fee": 0,
                "client_first_payment_fee": 12,
                "client_middle_payment_fee": 0,
                "client_last_payment_fee": 0,
                "client_total_payment_fee": 12,
                "system_income_fee": 0,
                "beused_divide_fee": 0,
                "nets_divide_data": {
                    "5c941225fa6c62cd": {
                        "sort": 0,
                        "net_id": "5c941225fa6c62cd",
                        "divide_price": 6
                    },
                    "dac3c3cfe9cd9b7e": {
                        "sort": 1,
                        "net_id": "dac3c3cfe9cd9b7e",
                        "divide_price": 6
                    }
                }
            },
            "start_net": {
                "net_id": "5c941225fa6c62cd",
                "code": "N25927",
                "com_id": "35bd69f599698d1f",
                "province_id": 37491,
                "city_id": 37917,
                "district_id": 38250,
                "lng": 104.020414,
                "lat": 30.565228,
                "name": "壹川白家点",
                "english_name": "One Sichuan White House",
                "address": "四川省成都市双流区成都农产品中心批发市场成都农产品中心批发市场-冻品交易区",
                "contacts": "大白",
                "mobile": "15877889966"
            },
            "end_net": {
                "net_id": "dac3c3cfe9cd9b7e",
                "code": "N23384",
                "com_id": "35bd69f599698d1f",
                "province_id": 37491,
                "city_id": 41017,
                "district_id": 41254,
                "lng": 106.082229,
                "lat": 30.778386,
                "name": "壹川南充点",
                "english_name": "Nanchong point of one Sichuan Province",
                "address": "四川省南充市顺庆区东南街道南充文庙金果园(桑园路)",
                "contacts": "南方可",
                "mobile": "15844665148"
            },
            "curr_net": null,
            "cargos": [
                {
                    "cargo_id": "5b20d83f01433807",
                    "waybill_id": "5b20d83f01386536",
                    "name": "五人",
                    "num": 1,
                    "packing": 2,
                    "weight": 12,
                    "volume": 8,
                    "cost": 0,
                    "rates": 0.001,
                    "premium": 0
                }
            ],
            "process": [
                {
                    "process_id": "5b20d83f01171509",
                    "waybill_id": "5b20d83f01386536",
                    "sort": 0,
                    "type": 301,
                    "status": 0,
                    "abnor_status": 0,
                    "setout_time_estimated": 0,
                    "arrival_time_estimated": 0,
                    "setout_time": 0,
                    "setout_by": null,
                    "arrival_time": 0,
                    "arrival_by": null,
                    "container_id": "",
                    "from_net_id": "5c941225fa6c62cd",
                    "to_net_id": "dac3c3cfe9cd9b7e",
                    "line_id": "5eaa7800bbf28a3e",
                    "remark": "",
                    "data_packet": null
                }
            ],
            "nets": [
                {
                    "net_id": "dac3c3cfe9cd9b7e",
                    "code": "N23384",
                    "com_id": "35bd69f599698d1f",
                    "join_type": 1,
                    "status": 1,
                    "unloading": 1,
                    "create_time": "2018-05-31 14:14:55",
                    "create_by": {
                        "uid": "0cd95b0fbea2e90d",
                        "code": "U1424621",
                        "username": "ecadmin",
                        "nickname": "川管理",
                        "realname": "壹川"
                    },
                    "update_time": "2018-05-31 14:14:55",
                    "update_by": {
                        "uid": "0cd95b0fbea2e90d",
                        "code": "U1424621",
                        "username": "ecadmin",
                        "nickname": "川管理",
                        "realname": "壹川"
                    },
                    "delete_time": 0,
                    "runin_time": "2018-05-31 14:14:55",
                    "runout_time": "2019-05-31 14:14:55",
                    "country_id": 1,
                    "province_id": 37491,
                    "city_id": 41017,
                    "district_id": 41254,
                    "street_id": 0,
                    "lng": 106.082229,
                    "lat": 30.778386,
                    "joining_fee": 0,
                    "name": "壹川南充点",
                    "initials": "ycncd",
                    "english_name": "Nanchong point of one Sichuan Province",
                    "address": "四川省南充市顺庆区东南街道南充文庙金果园(桑园路)",
                    "contacts": "南方可",
                    "mobile": "15844665148",
                    "tel": "",
                    "fax": "",
                    "email": "",
                    "cover": "",
                    "picture_list": "",
                    "img_business_license": "",
                    "img_transport_license": "",
                    "img_corporation_idcard": "",
                    "description": "",
                    "remark": "",
                    "cominfo": {
                        "com_id": "35bd69f599698d1f",
                        "code": "C37391",
                        "name": "壹川供应链",
                        "address": "四川省成都市武侯区桂溪街道益州大道中段1800号移动互联创业大厦",
                        "contacts": "壹川",
                        "mobile": "15855886644"
                    }
                },
                {
                    "net_id": "5c941225fa6c62cd",
                    "code": "N25927",
                    "com_id": "35bd69f599698d1f",
                    "join_type": 1,
                    "status": 1,
                    "unloading": 1,
                    "create_time": "2018-05-31 14:12:49",
                    "create_by": {
                        "uid": "0cd95b0fbea2e90d",
                        "code": "U1424621",
                        "username": "ecadmin",
                        "nickname": "川管理",
                        "realname": "壹川"
                    },
                    "update_time": "2018-05-31 14:12:49",
                    "update_by": {
                        "uid": "0cd95b0fbea2e90d",
                        "code": "U1424621",
                        "username": "ecadmin",
                        "nickname": "川管理",
                        "realname": "壹川"
                    },
                    "delete_time": 0,
                    "runin_time": "2018-05-31 14:12:49",
                    "runout_time": "2019-05-31 14:12:49",
                    "country_id": 1,
                    "province_id": 37491,
                    "city_id": 37917,
                    "district_id": 38250,
                    "street_id": 0,
                    "lng": 104.020414,
                    "lat": 30.565228,
                    "joining_fee": 0,
                    "name": "壹川白家点",
                    "initials": "ycbjd",
                    "english_name": "One Sichuan White House",
                    "address": "四川省成都市双流区成都农产品中心批发市场成都农产品中心批发市场-冻品交易区",
                    "contacts": "大白",
                    "mobile": "15877889966",
                    "tel": "",
                    "fax": "",
                    "email": "",
                    "cover": "",
                    "picture_list": "",
                    "img_business_license": "",
                    "img_transport_license": "",
                    "img_corporation_idcard": "",
                    "description": "",
                    "remark": "",
                    "cominfo": {
                        "com_id": "35bd69f599698d1f",
                        "code": "C37391",
                        "name": "壹川供应链",
                        "address": "四川省成都市武侯区桂溪街道益州大道中段1800号移动互联创业大厦",
                        "contacts": "壹川",
                        "mobile": "15855886644"
                    }
                }
            ]
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员