叁玖-saas


推送-获取承运商列表

[TOC]

简要描述
  • 推送-获取承运商列表
请求URL
  • /web/get_driver_list
请求方式
  • POST
参数
参数名 必选 类型 说明
company_id int 物流id
start_lnt string 装货经度
start_lat string 装货维度
name 承运商姓名
phone_num 承运商手机号
relation_type 承运商类型
返回示例
{
    "code": 200,
    "msg": "",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 23,
                "type": 2,
                "is_ticket": 0,
                "relation_type": "承运",
                "carrier_driver_id": 54,
                "get_correlation": {
                    "id": 54,
                    "phone_num": "15733654871",
                    "status": 0,
                    "name": "11114司机",
                    "type": 1,
                    "get_address": null,
                    "lnt": "112",
                    "lat": "40",
                    "is_operation": 1,
                    "gap": "361.1km",
                    "collaborate_status": "普通合作",
                    "three_collaborate_total": 1,
                    "one_collaborate_total": {
                        "total": 1,
                        "total_price": "0.00",
                        "total_num": 3
                    },
                    "line_name": [
                        "路线名称333"
                    ]
                }
            },
            {
                "id": 24,
                "type": 2,
                "is_ticket": 0,
                "relation_type": 114124,
                "carrier_driver_id": 55,
                "get_correlation": {
                    "id": 55,
                    "phone_num": "15733654871",
                    "status": 0,
                    "name": "11114承运商",
                    "type": 2,
                    "get_address": null,
                    "lnt": "112",
                    "lat": "40",
                    "is_operation": 1,
                    "gap": "361.1km",
                    "collaborate_status": "未合作",
                    "three_collaborate_total": 0,
                    "one_collaborate_total": {
                        "total": 0,
                        "total_price": null,
                        "total_num": null
                    },
                    "line_name": []
                }
            },
            {
                "id": 35,
                "type": 2,
                "is_ticket": 0,
                "relation_type": null,
                "carrier_driver_id": 69,
                "get_correlation": {
                    "id": 69,
                    "phone_num": "15744887894",
                    "status": 0,
                    "name": "发我反复",
                    "type": 2,
                    "get_address": null,
                    "lnt": "0",
                    "lat": "0",
                    "is_operation": 1,
                    "gap": "0km",
                    "collaborate_status": "未合作",
                    "three_collaborate_total": 0,
                    "one_collaborate_total": {
                        "total": 0,
                        "total_price": null,
                        "total_num": null
                    },
                    "line_name": []
                }
            },
            {
                "id": 37,
                "type": 2,
                "is_ticket": 0,
                "relation_type": null,
                "carrier_driver_id": 70,
                "get_correlation": {
                    "id": 70,
                    "phone_num": "15744887894",
                    "status": 0,
                    "name": "发我反复",
                    "type": 2,
                    "get_address": null,
                    "lnt": "0",
                    "lat": "0",
                    "is_operation": 1,
                    "gap": "0km",
                    "collaborate_status": "未合作",
                    "three_collaborate_total": 0,
                    "one_collaborate_total": {
                        "total": 0,
                        "total_price": null,
                        "total_num": null
                    },
                    "line_name": []
                }
            }
        ],
        "first_page_url": "http://192.168.2.58:8081/web/get_carrier_list?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://192.168.2.58:8081/web/get_carrier_list?page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://192.168.2.58:8081/web/get_carrier_list?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://192.168.2.58:8081/web/get_carrier_list",
        "per_page": 10,
        "prev_page_url": null,
        "to": 4,
        "total": 4
    }
}
返回参数说明
参数名 类型 说明
code int 除了200 其他均为报错
type int 运力类型 1 司机 2 承运商
is_ticket int 是否可开票 1是 0 否
relation_type 运力与承运商关联类型
carrie object 承运商信息
carrie.get_address int 司机位置
carrie.is_operation int 司机运营状态 1 空闲中 2 运输中
carrie.name int 运力名称
carrie.gap int 距离装货地
carrie.phone_num int 运力手机号
carrie.status int 司机状态 1 待认证(例如导入的数据)2 审核中(与OCR识别不符)3 已认证(所有的审核通过)4 认证失败(有一处审核没有通过)5 即将过期(所有的证件满足一个 就是即将过期 30天内)6 已过期
driver.three_collaborate_total int 三个月内合作次数
driver.one_collaborate_total object 一个月内合作情况
driver.one_collaborate_total.total 一个月内合作次数
driver.one_collaborate_total.total_price 一个月内合作总金额
driver.one_collaborate_total.total_num 一个月内合作总公里数
driver.line_name array 线路名称
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML