Member Category: list

Overview

Return a collection of member category that match the API request parameters.

 

API URL

/api/personclassify/query

 

HTTP Method

GET

 

URL Parameters

Name Type Required Description
access_token or user_access_token String Requires Specify the API access_token of the account or the user_access_token obtained after the user logged in.

 

Response

An HTTP code of 200 is responded for each successful data requests. The message body contains a JSON object listing all member category.

 

Examples

{

    "code": 0,

    "msg": "Successful operation",

    "msg_en": "Successful operation",

    "data": [
        {
            "id": 16,
            "name": "Police",
            "color": "#45b035",
            "avatar": "110",
            "classify": 1,
            "create_time": "2018-12-04T01:39:24Z",
            "update_time": "2022-03-08T01:00:02Z",
            "status": 0,
            "pic_name": "1543900773.png"
       },

       ......

   ],
   "exe_time": "0.002053"

}