中望帐号
  1. 用户
中望帐号
  • 服务更新记录
  • 接入说明
  • 网关和规范
  • 客户端接入\变更申请
  • 全局返回码
  • 用户一致性
  • 用户消息推送
  • 授权认证
    • 获取服务配置
      GET
    • 获取用户授权code
      GET
    • 使用授权code兑换用户令牌
      POST
    • 刷新令牌
      POST
    • 受信客户端获取令牌
      POST
    • 密码模式获取用户令牌
      POST
  • 用户
    • 获取用户基本信息(OIDC)-不建议使用
      GET
    • 获取用户基本信息
      GET
    • 修改用户基本信息
      POST
    • 修改用户头像
      POST
    • 获取用户详细信息
      GET
    • 修改用户详细信息
      POST
    • 获取用户第三方绑定信息
      GET
    • 获取用户资讯接收设置
      GET
    • 结束会话(退出登录)
      GET
    • 获取客户端配置
      GET
    • 获取用户信息修改次数
      GET
    • 修改帐号安全信息
      GET
    • 获取用户当前IP信息
      GET
    • 发送验证码
      POST
  • 受信客户端接口
    • 用户
      • 获取用户GUID列表
      • 批量查询用户GUID
      • 批量获取用户详细信息
      • 批量获取用户第三方绑定信息
      • 通过第三方登录信息查询用户
      • 创建用户
      • 查询最近的登录记录
      • 增加用户第三方绑定信息
      • 批量修改用户详细信息
    • 企业
      • 刷新企业用户部门
    • 其他
      • 推送服务消息
  • OEM受信客户端
    • OEM授权认证对接说明
    • 获取OEM用户列表
    • 注册OEM用户
    • 更新OEM用户
    • 删除OEM用户
  • 管理后台
    • 用户
      • 获取用户列表
        GET
      • 申请导出用户数据
        POST
      • 获取导出的用户数据
        GET
      • 取消用户数据导出申请
        DELETE
      • 获取数据申请记录
        GET
      • 获取数据下载记录
        GET
      • 搜索用户
        GET
      • 获取用户部门名称链
        GET
      • 修改用户详细信息
        POST
      • 修改用户安全信息
        POST
      • 解绑用户手机号\邮箱\第三方
        POST
    • 角色
      • 获取角色组列表
      • 新建角色组
      • 更新角色组
      • 设置角色组管理员
      • 添加用户至角色组
      • 从角色组移除用户
      • 为用户分配可读权限
      • 取消用户可读权限
    • 企业
      • 创建\修改企业
      • 创建\修改企业第三方关联
  • 其他
    • 企微第三方用户关联
    • 企微回调
    • 获取客户端配置
    • 获取RSA公钥
  1. 用户

获取导出的用户数据

正式环境
https://accounts.zwsoft.cn
正式环境
https://accounts.zwsoft.cn
GET
/api/v1.0/manage/users/export
最后修改时间:2023-10-20 06:10:03
需要role:ZMS.UserManager
数据状态必须为可下载
调用后更新history

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Query 参数
guid
string 
必需
导出数据的申请Guid
reason
string 
获取数据的理由
必需
Header 参数
Authorization
string 
必需

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://accounts.zwsoft.cn/api/v1.0/manage/users/export?guid&reason' \
--header 'Authorization;'

返回响应

🟢201成功
application/json
Body
status
integer 
返回码
必需
详情请查看全局返回码
message
string 
错误详细信息
必需
无错误时,返回:success
error
string  | null 
错误代号
必需
详情请查看全局返回码
data
array[object (数据导出历史) {5}] 
必需
downloadTime
string 
下载时间
必需
userDisplayName
string 
接收人名称
必需
email
string 
接收邮箱
必需
result
string 
发送结果
必需
reason
string 
理由
必需
示例
{
    "status": 0,
    "message": "success",
    "error": null,
    "totalNum": 78,
    "pageSize": 50,
    "pageNum": 1,
    "data": [
        {
            "guid": "a5f1321b-8c67-4e22-90a8-74bcbca38d46",
            "downloadNum": 5,
            "state": "downloadable",
            "reason": "吖",
            "creator": {
                "displayName": "177****1211",
                "email": "2420741283@qq.com",
                "guid": "3da33ecf-95e3-4034-820e-5f93943948e4",
                "phone": "17724251211"
            },
            "filter": {
                "hasEmail": null,
                "hasPhone": false,
                "userGuid": [],
                "client": [],
                "userName": [],
                "email": [],
                "phone": [],
                "external": [],
                "accountState": [],
                "createBefore": null,
                "createAfter": null,
                "lastLoginBefore": null,
                "lastLoginAfter": null
            },
            "createTime": "2022-11-02T02:53:45.000Z",
            "updateTime": "2022-11-02T02:54:20.000Z",
            "history": [
                {
                    "userDisplayName": "",
                    "email": "2420741283@qq.com",
                    "reason": "净化",
                    "result": null,
                    "downloadTime": "2022-11-02T04:03:09.000Z"
                },
                {
                    "userDisplayName": "177****1211",
                    "email": "2420741283@qq.com",
                    "reason": "环境",
                    "result": null,
                    "downloadTime": "2022-11-02T06:29:42.000Z"
                },
                {
                    "userDisplayName": "177****1211",
                    "email": "2420741283@qq.com",
                    "reason": "环境",
                    "result": null,
                    "downloadTime": "2022-11-02T06:28:56.000Z"
                },
                {
                    "userDisplayName": "",
                    "email": "2420741283@qq.com",
                    "reason": "净化",
                    "result": null,
                    "downloadTime": "2022-11-02T04:02:29.000Z"
                },
                {
                    "userDisplayName": "177****1211",
                    "email": "2420741283@qq.com",
                    "reason": "send",
                    "result": null,
                    "downloadTime": "2022-11-02T06:27:47.000Z"
                }
            ]
        },
        {
            "guid": "62fedc5c-eed6-4f0f-8a16-0d0914c9d945",
            "downloadNum": 0,
            "state": "downloadable",
            "reason": "吖",
            "creator": {
                "displayName": "177****1211",
                "email": "2420741283@qq.com",
                "guid": "3da33ecf-95e3-4034-820e-5f93943948e4",
                "phone": "17724251211"
            },
            "filter": {
                "hasEmail": null,
                "hasPhone": false,
                "userGuid": [],
                "client": [],
                "userName": [],
                "email": [],
                "phone": [],
                "external": [],
                "accountState": [],
                "createBefore": null,
                "createAfter": null,
                "lastLoginBefore": null,
                "lastLoginAfter": null
            },
            "createTime": "2022-11-02T02:52:45.000Z",
            "updateTime": "2022-11-02T02:53:20.000Z",
            "history": []
        },
        {
            "guid": "18c0c393-ef92-4e9c-8e1d-8a5f6f0a7d7c",
            "downloadNum": 0,
            "state": "downloadable",
            "reason": "使用",
            "creator": {
                "displayName": "177****1211",
                "email": "2420741283@qq.com",
                "guid": "3da33ecf-95e3-4034-820e-5f93943948e4",
                "phone": "17724251211"
            },
            "filter": {
                "hasEmail": null,
                "hasPhone": null,
                "userGuid": [],
                "client": [],
                "userName": [],
                "email": [],
                "phone": [],
                "external": [],
                "accountState": [],
                "createBefore": null,
                "createAfter": null,
                "lastLoginBefore": null,
                "lastLoginAfter": null
            },
            "createTime": "2022-10-31T16:23:48.000Z",
            "updateTime": "2022-11-01T10:09:55.000Z",
            "history": []
        },
        {
            "guid": "2ee6388e-4ca0-4767-8b3d-755f9e64b4d4",
            "downloadNum": 0,
            "state": "expired",
            "reason": "使用",
            "creator": {
                "displayName": "177****1211",
                "email": "2420741283@qq.com",
                "guid": "3da33ecf-95e3-4034-820e-5f93943948e4",
                "phone": "17724251211"
            },
            "fil
修改于 2023-10-20 06:10:03
上一页
申请导出用户数据
下一页
取消用户数据导出申请
Built with