有奖:语音产品征文挑战赛火热进行中> HOT

接口描述

用于获取组织架构类型列表,对于组织架构的 type 字段。

请求方法

POST(application/json)

请求地址

https://open.wecard.qq.com/cgi-bin/org/types?access_token=access_token

输入参数

参数名称
参数描述
参数类型
是否必填
备注
access_token
应用有效凭证
String
通过获取应用有效凭证接口获取

输出参数

参数名称
参数描述
参数类型
是否必填
备注
errcode
响应状态码
Integer
例如:0为成功,非0为错误
errmsg
响应状态信息
String
例如:success
types
组织架构类型列表
List
-
types.id
组织架构类型 ID
Integer
例如:1
types.updated_at
组织架构类型更新时间
Datetime
例如:2019-08-29 18:15:07

示例

输出示例

{
"errcode":0,
"errmsg":"ok",
"types":[
{
"id":1,
"name":"幼儿园",
"updated_at":"2019-08-29 18:15:07"
},
{
"id":2,
"name":"中小学",
"updated_at":"2019-08-29 18:15:07"
}
]
}
?


http://www.vxiaotou.com