POST sns/v3/Sns/JoinGroupByCode?gid={gid}&code={code}

通过验证码加入群组

Request

URI Params

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

群组

integer

Required

code

验证码

string

Required

Body Params

成员

MemberApiModel
字段名字段说明字段类型附加信息
GID

成员所属群组

integer

None.

MID

成员ID

integer

None.

MTypeID

成员类型ID

integer

None.

MTypeName

成员类型

string

None.

Name

成员名称

string

None.

Title

成员称谓

string

None.

GTitle

成员自定义在群组中称谓

string

None.

PTel

监护人电话号码

string

None.

PTitle

监护人称谓

string

None.

ChildMID

子成员ID

integer

None.

UID

用户ID

integer

None.

UCode

用户代码

string

None.

UName

用户名称

string

None.

Tel

电话号码

string

None.

Pic

用户头像

string

None.

PY

拼音

string

None.

AppST

App状态 1.App 2.Sms 3.None

AppStatus

None.

AdmLevel

管理员级别

AdminLevel

None.

Banned

是否禁言

boolean

None.

AllowSendInfo

是否允许发送信息

boolean

None.

MParent

是否主监护人

boolean

None.

Props

扩展属性集合

Collection of PropertyApiModel

None.

TelDisplay

电话号码显示枚举

MemberTelDisplay

None.

Request Formats

application/json, text/json

Sample:
{
  "GID": 1,
  "MID": 2,
  "MTypeID": 3,
  "MTypeName": "sample string 4",
  "Name": "sample string 5",
  "Title": "sample string 6",
  "GTitle": "sample string 7",
  "PTel": "sample string 8",
  "PTitle": "sample string 9",
  "ChildMID": 10,
  "UID": 11,
  "UCode": "sample string 12",
  "UName": "sample string 13",
  "Tel": "sample string 14",
  "Pic": "sample string 15",
  "PY": "sample string 16",
  "AppST": 1,
  "AdmLevel": 0,
  "Banned": true,
  "AllowSendInfo": true,
  "MParent": false,
  "Props": [
    {
      "Name": "sample string 1",
      "Desc": "sample string 2",
      "Val": "sample string 3",
      "SNO": 4
    },
    {
      "Name": "sample string 1",
      "Desc": "sample string 2",
      "Val": "sample string 3",
      "SNO": 4
    }
  ],
  "TelDisplay": 0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response

APIResult
字段名字段说明字段类型附加信息
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:
{
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}