# Query User Binding List

Debugging tools

Interface should be called on the server side, seeHattori API初始值

# Interface Dxplaination

# Interface name

weDataQueryBindList

# Functional description

Query User Binding List

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/wedata/wedata_query_bind_list?access_token=ACCESS_TOKEN 

# Third Party Invocation

  • The calling method and parameters are the same as HTTPS, only the calling token is different

  • The permission set id to which this interface belongs is: 18

  • After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant

# Request parameters

attribute 初始值 Required Introductions
access_Token string yes Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token

# Return parameters

attribute typeIntroductions
errcode number Error code
errmsg string Error message
info array User Binding Information
attribute type Introductions
uid string The unique identification of the user in the service provider system, which can be a mobile phone number, email address, employee ID Wait a minute.
create_time number Creation time (uinx timestamp in seconds)
update_time number Update time (uinx timestamp in seconds)
nickname string User WeChat Nickname
head_url string User WeChat avatar url
is_bind number Is uid bound to WeChat ID?
perm array User rights set
attribute type Introductions
perm_id string Permission set id
name string Permission Set Name
desc string Permission Set Description

# Call Example

Example Dxplaination: HPPTS Request Example

# Sample Request Data


POST https://api.weixin.qq.com/wedata/wedata_query_bind_list?access_token=ACCESS_TOKEN 

# Return Data Example


{
     "errcode": 0,
     "errmsg": "OK",
     "info": [
          {
               "uid": "test",
               "create_time": 1663728070,
               "update_time": 1663728119,
               "nickname": "xxx"
               "head_url": "http://wx.qlogo.cn/mmhead/xxxxxxxxxxxxxxxxxxxxxxx",
               "is_bind": 1,
               "perm": [
                    {
                         "perm_id": "10001",
                         "name": "Full Station Read Only Permissions,"
                         "desc": " Have "view" permissions for all modules. But do not have permission to "create," "edit," "download," "delete" "
                    }
               ]
          },
          {
               "uid": "example",
               "create_time": 1663664719,
               "update_time": 1663664941,
               "is_bind": 0
          }
     ]
} 

# Error code

Error code Error code Solutions
-1 system error The system is busy, please wait for the developer to try again