获取我的工单
请求URL:
POST/vcs_api/openapi/getMyWorkOrder.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": "",
"code": 0,
"data": {
"list": [
{
"wo_id": "729",
"add_user": "198",
"add_time": "2022-04-01 16:33:20",
"wot_id": "41",
"wo_no": "ID2022040100729",
"curuser": "201",
"content": "网络掉线",
"file": "/cloud-app/temp/workorder/号码模板1648802000.csv",
"phone": "13800138000",
"state": "1",
"source": "web",
"reminder": "0",
"level": "A",
"update_time": "2022-04-02 14:13:49"
},
{
"wo_id": "733",
"add_user": "201",
"add_time": "2022-04-01 17:58:11",
"wot_id": "41",
"wo_no": "ID2022040100733",
"curuser": "200",
"content": "网络掉线44343453532",
"file": "/cloud-app/temp/workorder/号码模板1648807091.csv",
"phone": "13800138000",
"state": "1",
"source": "web",
"reminder": "0",
"level": "A",
"update_time": "2022-04-01 17:58:11"
}
],
"page": {
"count": "2",
"page": "0",
"page_size": 20
}
}
}
返回参数说明:
参数名 |
类型 |
说明 |
code |
string |
返回码,0为正常,非0为请求失败 |
info |
string |
接口请求中文说明 |
data |
array |
返回的数据集 |
∟ list |
array |
工单列表数据 |
∟ - wo_id |
int |
工单id |
∟ - add_user |
int |
创建人 |
∟ - add_time |
string |
创建时间 |
∟ - wot_id |
int |
工单类型id |
∟ - wo_no |
int |
工单编号 |
∟ - curuser |
int |
当前处理工单的用户id |
∟ - content |
string |
工单内容 |
∟ - file |
string |
附件 |
∟ - level |
string |
工单等级 A 一般 B紧急 |
∟ - state |
int |
工单处理情况 1 跟进中 3 已完成 4已销毁 |
∟ page |
array |
页面数据 |
∟ - count |
int |
总记录数 |
∟ - page |
int |
当前页数 |
∟ - page_size |
int |
每页面数量 |
备注: