Query Details

Last Updated on : 2023-06-21 07:13:09download

Query the details of a specified member by member ID.

API address

GET: /v1.0/iot-02/community/member

Request parameter

Parameter nameTypeINRequiredDescription
block_idStringquerytrueThe ID of the community.
member_idStringquerytrueThe ID of a specified member.

Return parameter

Parameter nameTypeDescription
resultHighwayMemberDetailResponse

Description of result

Parameter nameTypeDescription
member_idStringThe list of member IDs, separated with commas (,).
admin_nameStringThe name.
role_infosListThe list of roles.
mobileStringThe mobile phone number.
blocksListThe list of organizations.
account_statusIntegerThe account status. Valid values:
  • 1: enabled.
  • 2: disabled.
  • 3: not activated.
structure_idStringThe ID of a specified organization.
structure_nameStringThe name of a specified organization.
sexIntegerGender. Valid values:
  • 1: male.
  • 2: female.
myselfIntegerIndicates whether it is the current operator. Valid values:
  • 1: yes.
  • 2: no.
adminIntegerIndicates whether it is an administrator. Valid values:
  • 1: yes.
  • 2: no.
country_codeStringThe country/region code.
structure_path_nameStringThe name of a specified organization (hierarchy).
structure_infosListThe list of organizations.
card_typeIntegerThe type of certificate. 1: identity card.
card_noStringThe certificate number.
birthdayLongBirthday
positionStringThe job position.
educationStringThe education background.

Description of role_infos

Parameter nameTypeDescription
role_idStringThe ID of a specified role.
role_nameStringThe name of a specified role.

Description of structure_infos

Parameter nameTypeDescription
structure_idStringThe ID of a specified organization.
structure_nameStringThe name of a specified organization.

Description of blocks

Parameter nameTypeDescription
block_idStringThe ID of a specified community.
block_nameStringThe name of a specified community.
related_structure_nameStringThe name of a specified management organization.

Request example

GET: /v1.0/iot-02/community/member?block_id=136767399153950xxxx&member_id=139215249742181xxxx

Error code

For more information, see error code.