Appearance
Query List of Users with Bound Devices
API Address:/v2/binding/enterpriseapi/getUserListByBind
Request Method:GET
Request Data Type:application/x-www-form-urlencoded
Response Data Type:*/*
API Description:Query list of users with bound devices
Request Parameters:
| Parameter Name | Parameter Description | Request Type | Required | Data Type | Schema |
|---|---|---|---|---|---|
| page | Current page, default is page 1 | query | false | integer(int32) | |
| pageSize | Page size, default is 10 items | query | false | integer(int32) | |
| pk | Product Key | query | false | string | |
| uid | User ID | query | false | string | |
| userDomain | User domain | query | false | string |
Response Status:
| Status Code | Description | Schema |
|---|---|---|
| 200 | Enterprise successfully unbound device from user | Return registration code response data«PageInfo«User with bound device»» |
| 5032 | Token verification failed | |
| 5106 | Please enter token | |
| 5327 | No permission for this product | |
| 5370 | No such user in the enterprise |
Response Parameters:
| Parameter Name | Parameter Description | Type | Schema |
|---|---|---|---|
| code | Response status code | integer(int32) | integer(int32) |
| data | Response data | PageInfo«User with bound device» | PageInfo«User with bound device» |
| endRow | integer(int64) | ||
| hasNextPage | boolean | ||
| hasPreviousPage | boolean | ||
| isFirstPage | boolean | ||
| isLastPage | boolean | ||
| list | array | User with bound device | |
| address | Address | string | |
| alipayUserId | Alipay user ID | string | |
| string | |||
| facebookUserId | Facebook user ID | string | |
| headimg | Profile picture | string | |
| lastLoginTime | Last login time | string | |
| lastLoginTimeTs | integer | ||
| nikeName | Nickname | string | |
| phone | Phone number | string | |
| qqUserId | QQ user ID | string | |
| sex | Gender | string | |
| twitterUserId | Twitter user ID | string | |
| uid | User ID | string | |
| userDomain | User domain | string | |
| wechatMiniprogramUserId | WeChat Mini Program user ID | string | |
| wechatOffiaccountUserId | WeChat Official Account user ID | string | |
| wechatUnionId | WeChat universal user ID | string | |
| navigateFirstPage | integer(int32) | ||
| navigateLastPage | integer(int32) | ||
| navigatePages | integer(int32) | ||
| navigatepageNums | array | integer | |
| nextPage | integer(int32) | ||
| pageNum | integer(int32) | ||
| pageSize | integer(int32) | ||
| pages | integer(int32) | ||
| prePage | integer(int32) | ||
| size | integer(int32) | ||
| startRow | integer(int64) | ||
| total | integer(int64) | ||
| extMsg | Extended message | string | |
| msg | Response message | string |
Response Example:
javascript
{
"code": 0,
"data": {
"endRow": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"isFirstPage": true,
"isLastPage": true,
"list": [
{
"address": "",
"alipayUserId": "",
"email": "",
"facebookUserId": "",
"headimg": "",
"lastLoginTime": "",
"lastLoginTimeTs": 0,
"nikeName": "",
"phone": "",
"qqUserId": "",
"sex": "",
"twitterUserId": "",
"uid": "",
"userDomain": "",
"wechatMiniprogramUserId": "",
"wechatOffiaccountUserId": "",
"wechatUnionId": ""
}
],
"navigateFirstPage": 0,
"navigateLastPage": 0,
"navigatePages": 0,
"navigatepageNums": [],
"nextPage": 0,
"pageNum": 0,
"pageSize": 0,
"pages": 0,
"prePage": 0,
"size": 0,
"startRow": 0,
"total": 0
},
"extMsg": "",
"msg": ""
}