top
关闭

开发者登录

用户信息接口

主要使用场景:用户信息接口7.0

1、获取学校或者班级的家长信息

基础 需要授权

根据组织编号获取组织的家长信息

前置条件

获取接口访问令牌:accessToken

请求说明

urlhttps://api.wuhaneduyun.cn/user/openapi/user/get-org-parents-list?accessToken={{accessToken}}
请求方式post
是否需要鉴权
请求数限制
接口方向第三方应用->开放平台

参数说明

序号 字段名 约束 类型 长度 说明

1

top_org_id

必选

string

学校id

2

org_id

可选

array

班级id

3

page

必选

int

页码

4

page_size

必选

int

每页条数,最大100条

返回说明

序号 字段名 约束 类型 长度 说明

1

code

必选

string

结果编码

2

message

必选

string

结果描述

3

result

必选

json

结果对象

3.1

page

必选

int

页码

3.2

page_size

必选

int

每页条数

3.3

count

必选

int

数量

3.4.1

user_id

必选

string

用户id

3.4.2

platform_code

必选

string

平台编码

3.4.3

user_type

必选

int

用户类型:家长2

3.4.4

name

必选

string

用户名字

3.4.7

avatar

必选

json数组

图像

示例

请求示例
https://api.wuhaneduyun.cn/user/openapi/user/get-org-parents-list?accessToken={{accessToken}}
{
    "top_org_id": "4b50aac88c4211e9a6de0200f723bcf3",
    "org_id":["78e7af928c4511e9a0120200f759ba3a"],
    "page_size":2
}

返回参数

{
    "code": "000000",
    "message": "成功",
    "result": {
        "count": 26,
        "page": 1,
        "page_size": 2,
        "member_list": [
            {
                "user_id": "7b19f05e963111e9b0f50200f7bb5994",
                "platform_code": "888888",
                "user_type": 2,
                "name": "胡小超",
                "phone": "",
                "email": "",
                "avatar": {
                    "1": "",
                    "2": "",
                    "3": ""
                }
            },
            {
                "user_id": "0e547768965a11e9b3710200f7f1a0a0",
                "platform_code": "888888",
                "user_type": 2,
                "name": "紫薇",
                "phone": "",
                "email": "",
                "avatar": {
                    "1": "",
                    "2": "",
                    "3": ""
                }
            }
        ]
    }