查看工单详情

请求URL:

POST/vcs_api/openapi/workOrderDetails.php

参数:

参数名 是否必须 类型 说明
access string 公司账号
token string 分配的唯一调用秘钥
uid int 用户id

请求示例:

Accept: application/json
Content-Type: application/josn;charset=utf-8
{
    "access":"wfys",
    "token":"xwBkiTugI3FVWa7j2bfOrq6l9YhA1pE5",
    "uid":"200"
}

返回示例:

{
    "info": "ok",
    "data": {
        "work_order": {
            "wo_id": "733",
            "add_user": "201",
            "wot_id": "41",
            "add_time": "17:58:11",
            "curuser": "201",
            "content": "网络掉线44343453532",
            "file": false,
            "state": "1",
            "source": "web",
            "openId": "",
            "linkman": "",
            "address": "广东",
            "phone": "13800138000",
            "add_user_name": "周小婷",
            "curuser_name": "周小婷",
            "file_name": "",
            "file_type": "",
            "file_path": "",
            "add_day": "2022年04月01日"
        },
        "work_order_record": [
            {
                "id": "343",
                "order_id": "733",
                "originate": "李洪辉",
                "curuser": "周小婷",
                "remove_time": "2022-04-02 17:45:51",
                "remarks": "已完成",
                "type": "0",
                "file_path": "",
                "file_name": "",
                "file_type": "",
                "add_day": "2022年04月02日",
                "add_time": "17:45:51"
            },
            {
                "id": "342",
                "order_id": "733",
                "originate": "李洪辉",
                "curuser": "李洪辉",
                "remove_time": "2022-04-02 17:14:34",
                "remarks": "好的",
                "type": "0",
                "file_path": "",
                "file_name": "",
                "file_type": "",
                "add_day": "2022年04月02日",
                "add_time": "17:14:34"
            }
        ],
        "work_list": {
            "id": "7",
            "add_user": "201",
            "wo_id": "733",
            "add_time": "2022-04-01 17:58:11",
            "woxingbie": "男"
        }
    },
    "code": 0
}

返回参数说明:

参数名 类型 说明
code string 返回码,0为正常,非0为请求失败
info string 接口请求中文说明
data array 返回的数据集
∟ work_order array 工单数据
∟ - wo_id int 工单id
∟ - add_user int 创建人id
∟ - wot_id int 工单类型id
∟ - add_time string 创建时间
∟ - curuser string 当前工单处理人id
∟ - content string 工单内容
∟ - state int 工单处理情况 1 跟进中 3 处理完成 4 已销毁
∟ - address string 地址
∟ - phone string 号码
∟ - add_user_name string 创建人名称
∟ - curuser_name string 当前处理人名称
∟ work_order_record array 工单处理记录
∟ - curuser string 处理人名称
∟ - remove_time string 处理人时间
∟ - remarks string 处理内容

备注:

  • 更多返回错误代码请看首页的错误代码描述