POST GDTV/v3/MemberAgentWeb/SaveMemberAgentScope

保存成员代理范围

Request

URI Params

None.

Body Params

MemberAgentScopeWithInviteEditWebModel
字段名字段说明字段类型附加信息
Scope

成员代理范围

MemberAgentScopeEditWebModel

None.

InviteUMID

被邀请的学校管理员

integer

None.

InviteCode

邀请码

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Scope": {
    "GID": "1",
    "AgentUMID": "2",
    "AllProduct": true,
    "ProductIDs": [
      1,
      2
    ]
  },
  "InviteUMID": 1,
  "InviteCode": "sample string 2"
}

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 'MemberAgentScopeWithInviteEditWebModel'.

Response

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

MemberAgentScopeWebModel

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": {
    "AgentGID": "1",
    "AgentGName": "sample string 2",
    "AgentUMID": "3",
    "AgentName": "sample string 4",
    "GID": "5",
    "GName": "sample string 6",
    "GTypeID": 7,
    "ExpType": 0,
    "ExpTypeDesc": "sample string 8",
    "AllProduct": true,
    "Products": [
      {
        "ProductID": 1,
        "Name": "sample string 2",
        "Desc": "sample string 3"
      },
      {
        "ProductID": 1,
        "Name": "sample string 2",
        "Desc": "sample string 3"
      }
    ],
    "Date": "sample string 10"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}