POST public/v3/OpenAppSubApp/SaveSubAppEditGrantForCloud?cloudID={cloudID}

保存区域云L2配置应用

Request

URI Params

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

区域云ID

integer

Required

Body Params

应用授权配置规则

SubAppGrantEditWebModel
字段名字段说明字段类型附加信息
SubAppGrantID

配置规则 ID

integer

None.

SubAppID

应用ID(int)

integer

None.

SubAppName

应用名称(不必填,用于编辑界面显示)

string

None.

ScopeType

规则范围类型

ScopeType

None.

ScopeID

规则范围ID

integer

None.

ScopeName

规则范围名称(非必填,仅用于显示)

string

None.

OpenType

开启方式(1-开启 0-暂不配置 -1-禁止)

SubAppOpenType

None.

GTypeIsPub

机构类型是否作为赛选条件

boolean

None.

GTypeList

机构类型(IEnumerable int)

Collection of integer

None.

RTypeIsPub

角色列表是否作为赛选条件

boolean

None.

RTypeList

角色列表(IEnumerable int)

Collection of integer

None.

PhaseIsPub

教育阶段是否作为赛选条件

boolean

None.

PhaseList

教育阶段(IEnumerable int)

Collection of integer

None.

GrdTypeIsPub

年级段是否作为赛选条件

boolean

None.

GrdTypeList

年级段列表(IEnumerable int)

Collection of integer

None.

UICtrl

界面逻辑控制器(仅用于编辑界面逻辑控制)

GrantUIController

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Api Parameter Descriptions

参数描述参数说明参数源
model

应用授权配置规则

FromBody
cloudID

区域云ID

FromUri

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"
}