统一身份认证
  1. 1.人员管理
统一身份认证
3.0
  • 3.0
  • 公开接口
    • 3.0接口说明
    • OpenAPI
      • 概述
        THRIFT
      • 1.人员管理
        • 批量获取人员数据
          GET
        • 获取单个人员数据
          GET
        • 添加单个人员数据
          POST
        • 修改单个人员数据
          PUT
        • 删除单个人员数据
          DELETE
        • 批量获取人员照片
          GET
        • 获取单个人员照片
          GET
        • 基本代码
          GET
        • 人员类型代码
          GET
        • 组织机构代码
          GET
      • 2.服务管理
        • 获取服务列表数据
        • 批量删除服务数据
        • 获取单个服务数据
        • 添加单个服务数据
        • 修改单个服务数据
        • 删除单个服务数据
        • 获取服务列表数据(LDAP)
        • 批量删除服务数据(LDAP)
        • 获取单个服务数据(LDAP)
        • 添加单个服务数据(LDAP)
        • 修改单个服务数据(LDAP)
        • 删除单个服务数据(LDAP)
        • 返回属性代码
        • 黑白名单标签代码
      • 3.资源管理
        • 图像资源
      • 获取TOKEN
        GET
      • DEMO
        GET
    • 登录过程接口
      • CAS协议-登录接口
      • CAS协议-票据验证接口
      • 登出接口
      • 用户身份切换
      • SAML1.1协议-登录接口
      • SAML1.1协议-票据验证接口
      • 单点登出接口
    • RestfulApi
      • 第一步 获取tickets
      • 第二步 获取ST
      • 第三部获取用户信息
  1. 1.人员管理

批量获取人员数据

GET
/openapi/v3/users/query

请求参数

Authorization
在 header 添加参数
token
示例:
token: ********************
Query 参数
last_modified_date_start
string 
可选
最后修改时间起,格式:yyyy-MM-dd HH:mm:ss
last_modified_date_end
string 
可选
最后修改时间止,格式:yyyy-MM-dd HH:mm:ss
name
string 
姓名
可选
schoolid
string 
学工号
可选
ic_type
string 
证件类型代码
可选
ic_number
string 
证件号码
可选
department
string 
组织机构代码
可选
type
string 
人员类别代码
可选
status
string 
在校状态代码
可选
candidate_number
string 
考生号
可选
admission_number
string 
录取通知书号
可选
username
string 
账号
可选
email
string 
邮箱
可选
phone
string 
手机号码
可选
current_page
integer 
可选
page_size
integer 
可选

示例代码

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://m1.apifoxmock.com/m1/5513456-0-default/openapi/v3/users/query?last_modified_date_start&last_modified_date_end&name&schoolid&ic_type&ic_number&department&type&status&candidate_number&admission_number&username&email&phone&current_page&page_size' \
--header 'token;'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
data
array [object {6}] 
必需
name
string 
姓名
必需
schoolid
string 
学工号
必需
department
array[string]
所属单位
必需
type
string 
人员类别
必需
status
string 
在校状态
必需
last_modified_date
string 
最后修改时间
必需
格式:yyyy-MM-dd HH:mm:ss
description
string 
可选
current_page
integer 
必需
page_size
integer 
必需
total
integer 
必需
total_page
integer 
必需
示例
{
    "code": 0,
    "data": [
        {
            "name": "string",
            "schoolid": "string",
            "department": [
                "string"
            ],
            "type": "string",
            "status": "string",
            "last_modified_date": "string"
        }
    ],
    "description": "string",
    "current_page": 0,
    "page_size": 0,
    "total": 0,
    "total_page": 0
}
修改于 2024-11-26 07:09:52
上一页
概述
下一页
获取单个人员数据
Built with