接口描述
接口请求域名:http://sp.{工业环境域名}
接口请求URL:http://sp.{工业环境域名}/iam/subaccounts
接口类型:非OpenAPI
接口请求方式:GET
接口Cookie:sp_access_token=xxx
访问时需要在cookie中携带sp_access_token。
本接口用于获取运营端用户的子账号列表。
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Limit | 是 | Integer | 返回条数限制 |
| Offset | 是 | Integer | 返回页数限制 |
| SearchKey | 是 | String | 根据昵称/联系邮箱/手机号查询用户信息 |
| Role | 是 | Integer | 用户角色,10代表SP用户 |
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| Code | Integer | 错误码 |
| Msg | String | 错误信息 |
| Accounts | Account | 账号信息 |
| Total | Integer | 总数 |
Account
| 参数名称 | 类型 | 描述 |
|---|---|---|
| AccountId | String | 账号ID |
| AccountName | String | 账号名 |
| RegisterType | Integer | 注册类型 |
| Type | Integer | 账号类型 |
| Role | Integer | 角色 |
| NickName | String | 昵称 |
| MasterId | String | 主账号ID |
| Status | Integer | 状态 |
| ContactMail | String | 联系邮箱 |
| ContactMobile | String | 联系手机 |
示例
示例1 请求例子
输入示例
输出示例
错误码
以下仅列出了接口业务逻辑相关的错误码
| 错误码 | 描述 |
|---|---|