获取租户详情
企业可通过此接口租户详情。
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/tenant/info?access_token=x
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"super_admin_user_id": "admin",
"create_time": 1609507068,
"tenant_id": "ww8923d8e5cd61963a",
"corp_name": "无锡晓程旭信息",
"company": "无锡晓程旭信息技术有限公司",
"corp_scale": "51-100人",
"corp_industry": "IT服务",
"corp_sub_industry": "互联网和相关服务",
"location": "江苏省无锡市",
"suite_id": "ww182dd89b81b520dc",
"enabled": true
}
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码 |
msg | string | 对返回码的文本描述内容 |
data | object[] | 返回数据 |
super_admin_user_id | string | 超管用户id |
create_time | long | 创建时间 |
tenant_id | string | 租户id |
corp_name | string | 企业简称 |
company | string | 企业全称 |
corp_scale | string | 规模 |
corp_industry | string | 行业 |
corp_sub_industry | string | 子行业 |
location | string | 所在地区 |
suite_id | string | 安装版本id |
enabled | bool | 是否可用 |