POST GDTV/v3/HXYTVWeb/SaveSelectMemberInfo

保存选择的身份信息

Request

URI Params

None.

Body Params

UserMemberInfoTVModel
字段名字段说明字段类型附加信息
Key

用于前端唯一性判断

integer

None.

UID

用户ID

integer

None.

UPic

用户头像

string

None.

SchoolID

学校ID

integer

None.

ProvinceID

integer

None.

CityID

integer

None.

CountyID

integer

None.

SchoolName

学校名称

string

None.

SchoolLogo

学校Logo

string

None.

ClassID

班级ID

integer

None.

ClassName

班级名称

string

None.

ClassPic

班级图像

string

None.

MID

成员ID

integer

None.

MTypeID

身份类型 11 老师 13 学生

integer

None.

Name

成员姓名

string

None.

UMID

UMID

integer

None.

IsCurrent

是否是当前正在使用的身份

boolean

None.

IsVisitor

是否是游客身份

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": 1,
  "UID": "2",
  "UPic": "sample string 3",
  "SchoolID": "4",
  "ProvinceID": "5",
  "CityID": "6",
  "CountyID": "7",
  "SchoolName": "sample string 8",
  "SchoolLogo": "sample string 9",
  "ClassID": "10",
  "ClassName": "sample string 11",
  "ClassPic": "sample string 12",
  "MID": "13",
  "MTypeID": 14,
  "Name": "sample string 15",
  "UMID": "16",
  "IsCurrent": true,
  "IsVisitor": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserMemberInfoTVModel'.

Response

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

TokenTVModel

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": {
    "Token": "sample string 1",
    "Url": "sample string 2",
    "UrlBase64": "sample string 3",
    "TVType": 4,
    "TVMac": "sample string 5",
    "FormatID": "6",
    "BindType": 7,
    "UIEdition": 0,
    "Member": {
      "Key": 1,
      "UID": "2",
      "UPic": "sample string 3",
      "SchoolID": "4",
      "ProvinceID": "5",
      "CityID": "6",
      "CountyID": "7",
      "SchoolName": "sample string 8",
      "SchoolLogo": "sample string 9",
      "ClassID": "10",
      "ClassName": "sample string 11",
      "ClassPic": "sample string 12",
      "MID": "13",
      "MTypeID": 14,
      "Name": "sample string 15",
      "UMID": "16",
      "IsCurrent": true,
      "IsVisitor": true
    },
    "MemberCnt": 8,
    "IsVisitor": false,
    "CanAddMember": true,
    "AccountEntry": "sample string 10",
    "CanUnBind": true,
    "SupportVisitor": true,
    "MemberSwitchAction": "sample string 13"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}