承载协议 | HTTPS+POST+JSON |
|---|---|
接口方向 | EMM厂商服务端->行业解决方案服务端 |
接口URL | POST https://hemapi-drcn.cloud.huawei.com/hds/v1/customer/emm/profile/list |
数据格式 | 请求消息:Content-Type: application/json 响应消息:Content-Type: application/json |
参数名称 | 类型 | 必须 | 长度 | 描述信息 |
|---|---|---|---|---|
name | String | O | 32 | 部署策略ID |
pageNum | Integer | O | 11 | 页码,取值范围:pageNum >0 , 默认值0 |
pageSize | Integer | O | 11 | 单页数量,取值范围0<pageSize<=100,默认值100 |
sortBy | String | O | 64 | 枚举:[assignedNumber|deployedNumber|successNumber|failNumber|cancelNumber], 默认值:updateTime |
productType | String[] | O | 设备类型,枚举值: MOBILE:手机&平板设备 WATCH:智能表设备 SMART_SCREEN:智慧屏设备 | |
sortOrder | String | O | 32 | 枚举:[desc、asc] 默认:desc |
Response Body
参数名称 | 类型 | 必须 | 长度 | 描述信息 |
|---|---|---|---|---|
rtnCode | Integer | M | 11 | 响应码 |
rtnMsg | String | M | 32 | 响应描述 |
rtnDesc | String | O | 255 | 失败描述 |
result | M | 策略列表 | ||
pageNum | Integer | M | 11 | 当前页码 |
pageSize | Integer | M | 11 | 单页条目数量 |
totalPages | Integer | M | 11 | 页码总数 |
totalCount | Integer | M | 11 | 条目总数 |
返回值 | 备注 |
|---|---|
0 | 成功 |
85300001 | 参数不合法 |
85300004 | 未授权 |
85320001 | 组织用户不存在 |
85320002 | 组织用户未认证 |
85320003 | 组织用户状态异常 |
85320011 | 部署策略不存在 |
项目 | 示例 |
|---|---|
请求地址 | https://hemapi-drcn.cloud.huawei.com/hds/v1/customer/emm/profile/list |
请求报文 |
响应报文 | { "rtnCode": 0, "rtnMsg": "Success", "result": [ { "id": "1754166021015192416", "name": "test12345" }, { "id": "1754166047040859115", "name": "test12345" }, { "id": "1754166020998587633", "name": "test1234" }, { "id": "1754173121423105565", "name": "22222" }, { "id": "1754165058408065052", "name": "1111122222" } ], "pageNum": 1, "pageSize": 10, "totalPages": 1, "totalCount": 5 } |
|---|