<接口地址>:/userapi/accounts/info
<请求方式>:GET
<请求类型>:URL参数
<响应类型>:JSON
<请求参数>:
参数名称 | 是否必须 | 类型 | 默认值 | 描述 |
无 |
<请求示例>
curl -H "token:a3af84f7c1d0d935024ba58b5da78aaa" https://v6-api.jiankongbao.com /userapi/accounts/info
<响应数据>:
参数名称 | 数据类型 | 描述 |
account_id | int | 账号id |
account_type | Int | 账号类型(1:个人账号 2:企业账号 3:代理商账号) |
proxy_id | Int | 代理商id |
sms_quota | Int | 短信配额剩余数 |
voice_quota | Int | 语音配额剩余数 |
status | Int | 账号状态(0:暂停 1:正常) |
company_name | String | 公司名称 |
company_address | String | 公司地址 |
company_url | String | 公司网址 |
company_style | int | 公司所属行业 |
company_style_desc | String | 公司所属行业描述信息 |
company_linkman | String | 公司联系人 |
company_phone | string | 公司联系电话 |
company_flag | Int | 账号性质 (0: 还未标注 1:标注为付费账号 2:标注为测试账号) |
logo_url | String | 账号logo地址 |
individuation_name | String | 账号个性化名称 |
external_contact | string | 账号联系方式 |
expire_date | Int | 账号过期时间(当为0时,代表永不过期) |
account_language | int | 1:简体中文 2:英文版3:繁体中文 |
ent_wechat_corpid | string | 企业微信告警设置企业id |
ent_wechat_agentid | string | 企业微信告警设置AgentId |
ent_wechat_secret | string | 企业微信告警设置Secret |
default_map_setting | array | 地图默认显示 |
type | int | 1:世界或中国 2:指定地区 |
location_code | string | 地区代码 当type为2时 |
location_name | array | Key=》value |
intranet_map_show | int | 内网任务是否显示地图 1:是 0:否 |
<响应示例>:
{
"account_id": 391,
"account_type": 2,
"proxy_id": 2,
"voice_quota": 1000,
"status": 1,
"expire_date": 1637463642,
"sms_quota": 9999,
"company_name": "dengsingle",
"company_address": "",
"company_url": "",
"company_style": 1,
"company_style_desc": "互联网门户及社区",
"company_linkman": "麦得基",
"company_phone": 111,
"company_flag": 1,
"account_language": 2,
"logo_url": "https://www.gds-services.com/uploadfiles/jupload/2019-08-17/20190817105121079.png",
"individuation_name": "",
"external_contact": "",
"ent_wechat_corpid": "",
"ent_wechat_agentid": "",
"ent_wechat_secret": "",
"default_map_setting": {
"type": 2,
"location_code": "10013",
"location_name": {
"ch": "河北",
"tw": "河北",
"en": "Hebei"
}
},
"intranet_map_show": 0
}
