目录
请求方式:GET(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/export/get_result?access_token=ACCESS_TOKEN&jobid=jobid_xxxxxxxxxxxxxxx
参数说明:
参数 | 必须 | 说明 |
---|---|---|
access_token | 是 | 调用接口凭证 |
jobid | 是 | 导出任务接口成功后返回 |
权限说明:
获取任务结果的调用身份需要与提交任务的一致
返回结果:
{
"errcode": 0,
"errmsg": "ok",
"status": 2,
"data_list": [
{
"url": "https://xxxxx",
"size": xxx,
"md5": "xxxxxxxxx"
},
{
"url": "https://xxxxx",
"size": xxx,
"md5": "xxxxxxxx"
}
]
}
参数说明:
参数 | 说明 |
---|---|
errcode | 返回码 |
errmsg | 对返回码的文本描述内容 |
status | 任务状态:0-未处理,1-处理中,2-完成,3-异常失败 |
data_list | 数据文件列表 |
data_list.url | 数据下载链接,支持指定Range头部分段下载。有效期2个小时 |
data_list.size | 密文数据大小 |
data_list.md5 | 密文数据md5 |
userlist内容与获取部门成员接口一致
{
"userlist": [
{
"userid": "zhangsan",
"name": "张三",
"department": [1, 2],
"open_userid": "xxxxxx"
},
{
"userid": "lisi",
"name": "李四",
"department": [1, 2],
"open_userid": "xxxxxx"
}
]
}
userlist内容与获取部门成员详情接口一致
{
"userlist": [{
"userid": "zhangsan",
"name": "李四",
"department": [1, 2],
"order": [1, 2],
"position": "后台工程师",
"mobile": "13800000000",
"gender": "1",
"email": "zhangsan@gzdev.com",
.....其他字段省略.....
}]
}
department内容与获取部门列表接口一致
{
"department": [
{
"id": 2,
"name": "广州研发中心",
"name_en": "RDGZ",
"parentid": 1,
"order": 10
},
{
"id": 3,
"name": "邮箱产品部",
"name_en": "mail",
"parentid": 2,
"order": 40
}
]
}
userlist和partylist内容与获取标签成员接口一致
{
"tagname": "乒乓球协会",
"userlist": [
{
"userid": "zhangsan",
"name": "李四"
}
],
"partylist": [2]
}