top
关闭

开发者登录

学校信息类接口

主要使用场景:学校信息类接口

1、学校详情

基础 需要授权

该接口能获取学校的组织详情

前置条件

获取接口访问令牌:accessToken

请求说明

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

参数说明

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

1

org_id

必选

String

-

学校组织id

返回说明

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

1

code

必选

string

-

结果编码,000000:成功, 100001:失败

2

message

必选

string

-

结果描述

3

result

必选

string

-

结果数据

3.1

org_id

必选

string

-

学校id

3.3

platform_code

必选

string

-

实体平台编码

3.4

v_platform_code

必选

string

-

虚拟平台编码

3.5

org_name

必选

string

-

学校名称

3.6

org_short_name

必选

string

-

学校简称

3.7

org_type

必选

string

-

学校类型 系统字段说明

3.8

create_user_id

必选

string

-

主管理员ID

3.9

createtime

必选

string

-

创建时间

3.10

updatetime

必选

string

-

更新时间

3.11

province_code

必选

string

-

地理省份

3.12

city_code

必选

string

-

地理城市

3.13

area_code

必选

string

-

地理区域

3.14

status

必选

string

-

状态,0:组织未激活,1:正常,2:解散,3:锁定

3.15

certification

必选

string

-

认证(0:未认证,1:已认证)

3.16

flag

必选

string

-

标记(0:正常,1:演示,2:测试)

3.17

org_coding

必选

string

-

短编码

3.18

school_is_smart_campus

可选

string

-

是否智慧校园(1是 0 否)

3.19

avatar

必选

string

-

头像地址

3.20

org_category

可选

int

-

学校的类别,未设置时为空字符串

3.21

org_category_title

可选

string

-

学校的类别名称,九年一贯这种

3.22

org_level

可选

string

-

行政等级 系统字段说明

3.23

org_level_code

可选

string

-

行政区划

3.24

org_parent_id

可选

string

-

直属上级机构id,认证的组织才能有

3.25

org_address

可选

string

-

学校的联系地址

3.25

org_identification_code

可选

string

-

学校标识码

示例

**请求示例**
https://api.wuhaneduyun.cn/user/openapi/org/get-org-info?org_id=xxx
**返回示例:**
{
  "code": "000000",
  "message": "请求成功",
  "result": {
    "org_id": "xxx",
    "platform_code": "999999",
    "v_platform_code": "999999",
    "org_name": "xxx中学",
    "org_short_name": "xxx中学",
    "org_type": "2",
    "create_user_id": "xxx",
    "createtime": "1554795635",
    "updatetime": "1555126603",
    "province_code": "420000",
    "city_code": "420100",
    "area_code": "420106",
    "status": "1",
    "certification": "0",
    "flag": "0",
    "level": "0",
    "verify_mode": "0",
    "org_address": "",
    "org_identification_code": ""
  }
}