POST public/v3/SubAppWeb/SaveOrgSubApp
保存组织应用
Request
URI Params
None.
Body Params
OrgSubAppWebModel字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
ID | integer |
None. |
|
OrgType |
组织类型 |
OrgType |
None. |
OrgID |
组织ID |
integer |
None. |
EntrType |
入口类型 |
EntranceType |
None. |
SubAppID |
应用ID |
integer |
None. |
Name |
名称 |
string |
None. |
Icon |
图标 |
string |
None. |
Visible |
可见性 |
boolean |
None. |
ST |
状态 |
boolean |
None. |
CatgName |
分组名称 |
string |
None. |
CatgSNO |
分组排序 |
integer |
None. |
SNO |
排序 |
integer |
None. |
Grants |
授权 |
Collection of OrgSubAppGrantWebModel |
None. |
GrantsDesc |
授权描述 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "1", "OrgType": 0, "OrgID": "2", "EntrType": 1, "SubAppID": 3, "Name": "sample string 4", "Icon": "sample string 5", "Visible": true, "ST": true, "CatgName": "sample string 8", "CatgSNO": 9, "SNO": 10, "Grants": [ { "ID": "1", "OrgType": 0, "OrgID": "2", "EntrType": 1, "SubAppID": 3, "GrantType": 0, "Val": [ 1, 2 ] }, { "ID": "1", "OrgType": 0, "OrgID": "2", "EntrType": 1, "SubAppID": 3, "GrantType": 0, "Val": [ 1, 2 ] } ], "GrantsDesc": "sample string 11" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Api Parameter Descriptions
参数描述 | 参数说明 | 参数源 |
---|---|---|
model | FromBody |
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" }