控制台-部门-观众列表
优质
小牛编辑
130浏览
2023-12-01
控制台-部门-观众列表
接口URL
{youke-url}/console/Index.php?c=department&a=audiences×tamp=1607677497&access_key=abc&sign=d24d040ac43a095469809fa401d535ffee607118
请求方式
POST
Content-Type
form-data
请求Query参数
参数 | 示例值 | 是否必填 | 参数描述 |
---|---|---|---|
c | department | 必填 | - |
a | audiences | 必填 | - |
timestamp | 1607677497 | 必填 | - |
access_key | abc | 必填 | - |
sign | d24d040ac43a095469809fa401d535ffee607118 | 必填 | - |
请求Body参数
参数 | 示例值 | 是否必填 | 参数描述 |
---|---|---|---|
id | 1454560 | 必填 | 部门ID |
page | - | 选填 | 页码 |
成功响应示例
{
"code": 200,
"msg": "success",
"data": {
"count": 1,
"page": 1,
"audiences": [
{
"id": 415312,
"account_id": 297,
"ding_id": null,
"ding_user_id": null,
"ding_union_id": null,
"outer_id": null,
"job_number": "007",
"name": "框架升级",
"name_py": "KuangJiaShengJi",
"name_first": "kjsj",
"position": "法师",
"avatar": null,
"mobile": "18722374958",
"tel": null,
"work_place": null,
"remark": null,
"email": "2173673@163.con",
"device": null,
"ip": null,
"extattr": null,
"created_at": "2020-11-09 15:15:18",
"updated_at": "2020-11-09 15:15:18",
"deleted_at": "-0001-11-30 00:00:00",
"departments": [
{
"id": 1454560,
"account_id": 297,
"parent_id": 1251236,
"ding_id": 0,
"ding_parent_id": 0,
"name": "部门11",
"name_py": "BuMen11",
"name_first": "bm1",
"order": null,
"created_at": "2020-11-09 15:08:30",
"updated_at": "2020-11-10 16:42:01",
"deleted_at": "-0001-11-30 00:00:00"
}
]
}
]
}
}
参数 | 示例值 | 参数描述 |
---|---|---|
code | 200 | 响应状态码 |
msg | success | 提示信息 |
data | - | json array |
data.count | 1 | 总条数 |
data.page | 1 | 当前页 |
data.audiences | - | json array |
data.audiences.*.id | 1251236 | 部门ID |
data.audiences.*.account_id | 297 | 帐户ID |
data.audiences.*.ding_id | 0 | - |
data.audiences.*.ding_user_id | 0 | - |
data.audiences.*.ding_union_id | - | ding_union_id |
data.audiences.*.outer_id | - | - |
data.audiences.*.job_number | 007 | 工号 |
data.audiences.*.name | 杭州雅顾科技有限公司 | 帐户名称 |
data.audiences.*.name_py | HangZhouYaGuKeJiYouXianGongSi | 部门拼音 |
data.audiences.*.name_first | hzygkjyxgs | 部门名首字母 |
data.audiences.*.position | 法师 | 职位 |
data.audiences.*.avatar | - | 头像 |
data.audiences.*.mobile | 18722374958 | 手机号 |
data.audiences.*.tel | - | tel |
data.audiences.*.work_place | - | - |
data.audiences.*.remark | - | - |
data.audiences.*.email | 2173673@163.con | 邮箱 |
data.audiences.*.device | - | - |
data.audiences.*.ip | - | - |
data.audiences.*.extattr | - | - |
data.audiences.*.created_at | 2020-11-09 15:15:18 | 创建时间 |
data.audiences.*.updated_at | 2020-11-09 15:15:18 | 更新时间 |
data.audiences.*.deleted_at | -0001-11-30 00:00:00 | 删除时间 |
data.audiences.*.departments | - | json array |
data.audiences..departments..id | 1454560 | 部门ID |
data.audiences..departments..account_id | 297 | 帐户ID |
data.audiences..departments..parent_id | 1251236 | 父级部门ID |
data.audiences..departments..ding_id | 0 | ding_id |
data.audiences..departments..ding_parent_id | 0 | ding_parent_id |
data.audiences..departments..name | 部门11 | 部门名 |
data.audiences..departments..name_py | BuMen11 | 部门拼音 |
data.audiences..departments..name_first | bm1 | 部门名首字母 |
data.audiences..departments..order | - | 排序值 |
data.audiences..departments..created_at | 2020-11-09 15:08:30 | 创建时间 |
data.audiences..departments..updated_at | 2020-11-10 16:42:01 | 更新时间 |
data.audiences..departments..deleted_at | -0001-11-30 00:00:00 | 删除时间 |