统一身份认证
  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/image/detail

请求参数

Authorization
在 header 添加参数
token
示例:
token: ********************
Query 参数
schoolid
string 
学工号
可选
示例值:
123456

示例代码

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/image/detail?schoolid=123456' \
--header 'token;'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
data
array [object {7}] 
必需
name
string 
姓名
必需
schoolid
string 
学工号
必需
department
array[string]
所属单位
必需
type
string 
人员类别
必需
image_path
string 
图片路径
必需
image_status
integer 
照片状态
必需
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": [
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        },
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        },
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        },
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        },
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        },
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        },
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        },
        {
            "dynamic_tag": [
                "100033",
                "100035",
                "100036"
            ],
            "image_path": "202411/6979b7d0-553a-4047-bd28-51b5177e3aa2",
            "schoolid": "mazhitao",
            "name": "{SM4}NPqbOVHUETooRYOYR9lGiA==",
            "static_tag": [],
            "last_modified_date": "2024-11-19 16:17:37",
            "image_status": 1,
            "department": [
                "010000"
            ],
            "type": "L0101"
        }
    ],
    "description": "OK"
}
修改于 2024-11-27 02:35:33
上一页
批量获取人员照片
下一页
基本代码
Built with