POST public/v3/TabWeb/SaveGlobalTab

保存Tab信息 包含新增、删除

Request

URI Params

None.

Body Params

Tab信息

TabWebModel
字段名字段说明字段类型附加信息
TabID

主键

integer

None.

Name

姓名

string

None.

Desc

描述

string

None.

Icon1

透明图标

string

None.

Icon2

卡通图标1

string

None.

Icon3

卡通图标2

string

None.

ActType

命令类型

TabActType

None.

Url

命令地址

string

None.

SNO

排序

integer

None.

Visible

可见性

boolean

None.

ST

状态

boolean

None.

MinAppVer

最低App版本

string

None.

Grants

Tab授权

Collection of TabGrantWebModel

None.

GrantsDesc

授权描述

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TabID": "1",
  "Name": "sample string 2",
  "Desc": "sample string 3",
  "Icon1": "sample string 4",
  "Icon2": "sample string 5",
  "Icon3": "sample string 6",
  "ActType": 0,
  "Url": "sample string 7",
  "SNO": 8,
  "Visible": true,
  "ST": true,
  "MinAppVer": "sample string 11",
  "Grants": [
    {
      "TabGrantID": "1",
      "OrgType": 0,
      "OrgID": "2",
      "TabID": "3",
      "GrantType": 0,
      "Val": [
        1,
        2
      ]
    },
    {
      "TabGrantID": "1",
      "OrgType": 0,
      "OrgID": "2",
      "TabID": "3",
      "GrantType": 0,
      "Val": [
        1,
        2
      ]
    }
  ],
  "GrantsDesc": "sample string 12"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Api Parameter Descriptions

参数描述参数说明参数源
tab

Tab信息

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