# Get a list of Merchant We Analytics permission sets
Interface should be called on the server side, seeHattori API。
# Interface Dxplaination
# Interface name
weDataGetPermList
# Functional description
Get a list of We Analytics permission sets for the current merchant
# Calling mode
# HTTPS call
POST https://api.weixin.qq.com/wedata/wedata_get_perm_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
# 初始值
attribute | type | Required | Introductions |
---|---|---|---|
access_Token | string | yes | Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token |
# 初始值
attribute | type | Introductions | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errcode | number | Error code | |||||||||||||||||
errmsg | string | Error message | |||||||||||||||||
perm | array | List of permission sets | |||||||||||||||||
|
# Call Example
Example Dxplaination: HTTPS Call Example
# Sample Request Data
POST https://api.weixin.qq.com/wedata/wedata_get_perm_list?access_token=ACCESS_TOKEN
# Return Data Example
{
"errcode": 0,
"errmsg": "OK",
"perm": [
{
"perm_id": "10000",
"name": "full authority of the entire station."
"desc": "All permissions for all modules"
},
{
"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" "
},
{
"perm_id": "10002",
"name": "Access Analytics Permissions,"
"desc": Except for "Core Data (Transactions)," "Transaction Analysis," and "Business Analysis."
},
{
"perm_id": "10003",
"name": "Transaction Analysis Authority,"
"desc": Only "Core Data (Transactions)," "Transaction Analysis," and "Business Analysis"
},
{
"perm_id": "10004",
"name": "Data Development Permissions,"
"desc": "Only" Performance Quality "and" Data Management "permissions"
},
{
"perm_id": "500000702",
"name": "Test a new permission,"
"desc": "Description description Description Test a new permission"
}
]
}
# Error code
Error code | Error code | Solutions |
---|---|---|
-1 | system error | The system is busy, please wait for the developer to try again |