Last Updated on : 2023-06-15 06:06:42
Query the members on pages. You can filter the members by member status.
GET: /v1.0/iot-02/community/members
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
block_id | String | query | true | The ID of the community. |
page_no | Integer | query | true | The current page number. |
page_size | Integer | query | true | The number of items returned on each page. |
mobile_or_name | String | query | false | The member's mobile phone number or name. A mobile phone number must be four or more digits in length. |
status | Integer | query | false | The account status. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | HighwayMemberListResponse |
Description of result
Parameter name | Type | Description |
---|---|---|
total_record | Long | The total number of results. |
data | List | Member List |
Description of data
Parameter name | Type | Description |
---|---|---|
member_id | String | The list of member IDs, separated with commas (,). |
admin_name | String | The name. |
role_infos | List | The list of roles. |
mobile | String | The mobile phone number. |
blocks | List | The list of organizations. |
account_status | Integer | The account status. Valid values:
|
structure_id | String | The ID of a specified organization. |
structure_name | String | The name of a specified organization. |
sex | Integer | Gender. Valid values:
|
myself | Integer | Indicates whether it is the current operator. Valid values:
|
admin | Integer | Indicates whether it is an administrator. Valid values:
|
Description of role_infos
Parameter name | Type | Description |
---|---|---|
role_id | String | The ID of a specified role. |
role_name | String | The name of a specified role. |
Description of blocks
Parameter name | Type | Description |
---|---|---|
block_id | String | The ID of a specified community. |
block_name | String | The name of a specified community. |
related_structure_name | String | The name of a specified management organization. |
GET: /v1.0/iot-02/community/member?block_id=136767399153950xxxx&page_no=1&page_size=20
[
{
"member_id": "136767399153950xxxx",
"birthday": 0,
"education": "Primary School",
"blocks": "136767399153950xxxx",
"sex": 1,
"myself": 2,
"mobile": "1300000****",
"admin": 0,
"structure_id": "136767399153950xxxx",
"account_status": 1,
"card_type": 1,
"role_infos": [
],
"country_code": "86",
"structure_infos": [
],
"card_no": "31162119920918xxxx",
"structure_name": "test",
"structure_path_name": "test",
"admin_name": "Utilities Operation and Maintenance",
"position": "Plumber"
}
]
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback