通过corpid获取企业信息
POST
/webtenant/qyWeChat/getCorpInfoByCorpId请求参数
Query 参数
corpId
string
企业微信id
示例代码
返回响应
OK(200)
Created(201)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer <int32>
可选
data
object (WeChatCorpInfoVo)
可选
access_token
string
可选
auth_corp_info
object (AuthCorpInfo)
可选
auth_info
object (AuthInfo)
可选
auth_user_info
object (AuthUserInfo)
可选
dealer_corp_info
object (DealerCorpInfo)
可选
errcode
integer <int32>
可选
errmsg
string
可选
expires_in
integer <int64>
可选
permanent_code
string
可选
register_code_info
object (RegisterCodeInfo)
可选
state
string
可选
msg
string
可选
traceId
string
可选
示例
{
"code": 0,
"data": {
"access_token": "string",
"auth_corp_info": {
"corp_full_name": "string",
"corp_industry": "string",
"corp_name": "string",
"corp_scale": "string",
"corp_square_logo_url": "string",
"corp_sub_industry": "string",
"corp_type": "string",
"corp_user_max": 0,
"corp_wxqrcode": "string",
"corpid": "string",
"subject_type": 0,
"verified_end_time": 0
},
"auth_info": {
"agent": [
{
"agentid": 0,
"appid": 0,
"auth_from_thirdapp": true,
"auth_mode": 0,
"is_customized_app": true,
"name": "string",
"privilege": {
"allow_party": [
0
],
"allow_tag": [
0
],
"allow_user": [
"string"
],
"extra_party": [
0
],
"extra_tag": [
0
],
"extra_user": [
"string"
],
"level": 0
},
"round_logo_url": "string",
"shared_from": {
"corpid": "string",
"share_type": 0
},
"square_logo_url": "string"
}
]
},
"auth_user_info": {
"avatar": "string",
"name": "string",
"open_userid": "string",
"userid": "string"
},
"dealer_corp_info": {
"corp_name": "string",
"corpid": "string"
},
"errcode": 0,
"errmsg": "string",
"expires_in": 0,
"permanent_code": "string",
"register_code_info": {
"register_code": "string",
"state": "string",
"template_id": "string"
},
"state": "string"
},
"msg": "string",
"traceId": "string"
}
最后修改时间: 7 小时前