Member Group: list

Overview

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

 

API URL

/api/persongroup/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 group.

 

Examples

{

    "code": 0,

    "msg": "Successful operation",

    "msg_en": "Successful operation",

    "data": [
        {
            "id": 1,
            "name": "Member Group 1",
            "objects": "3,4,5,6,7,8",
            "type": "1,4,5,6,3,10,14",
            "create_time": "2022-02-10T02:38:07Z",
            "update_time": "2022-02-10T03:18:49Z",
            "status": 0,
            "classify": 1
       },

       ......

   ],
   "exe_time": "0.002053"

}