GET sns/v3/Sns/GetGroups?gid={gid}

获取用户在指定群组的通讯录群组(场景:用户通过验证码加入群组后,需要立即获取当前群组的通讯录)

Request

URI Params

字段名字段说明字段类型附加信息
gid

要获取的群组

integer

Required

Body Params

None.

Response

APITResultOfIEnumerableOfGroupApiModelForContact
字段名字段说明字段类型附加信息
Data

Collection of GroupApiModelForContact

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

application/json, text/json

Sample:
{
  "Data": [
    {
      "GID": 1,
      "CardNo": "sample string 2",
      "CTypeName": "sample string 3",
      "CTypeSNO": 4,
      "GTypeID": 5,
      "GTypeName": "sample string 6",
      "GTypeSNO": 7,
      "Level": 8,
      "PGID": 9,
      "Pic": "sample string 10",
      "Name": "sample string 11",
      "PY": "sample string 12",
      "SNO": 13,
      "AllowSendInfo": true,
      "ShowContact": true,
      "IsCust": true,
      "IsCode": true,
      "Phase": "sample string 18",
      "Grade": 19,
      "ClassNO": 20,
      "HasSD": true,
      "SendStudentInfo": true,
      "Date": "2025-05-22T13:42:15.36Z",
      "ShowHead": true
    },
    {
      "GID": 1,
      "CardNo": "sample string 2",
      "CTypeName": "sample string 3",
      "CTypeSNO": 4,
      "GTypeID": 5,
      "GTypeName": "sample string 6",
      "GTypeSNO": 7,
      "Level": 8,
      "PGID": 9,
      "Pic": "sample string 10",
      "Name": "sample string 11",
      "PY": "sample string 12",
      "SNO": 13,
      "AllowSendInfo": true,
      "ShowContact": true,
      "IsCust": true,
      "IsCode": true,
      "Phase": "sample string 18",
      "Grade": 19,
      "ClassNO": 20,
      "HasSD": true,
      "SendStudentInfo": true,
      "Date": "2025-05-22T13:42:15.36Z",
      "ShowHead": true
    }
  ],
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}