POST city/v3/MenuCopWeb/MenuAddOrUpdate

编辑菜单 【n2.2】

Request

URI Params

None.

Body Params

菜单Model

MenuCopWebModel
字段名字段说明字段类型附加信息
Id

Id

integer

None.

TT

终端类型

TerminalType

None.

IsVisible

是否可见

boolean

None.

AppId

应用编号

integer

None.

AppName

应用名称

string

None.

Name

菜单名称

string

None.

LogoUrl

图标

string

None.

Path

菜单路径

string

None.

ParamId

参数编号

integer

None.

PId

上级菜单编号

integer

None.

PName

上级菜单名称

string

None.

Sort

排序

integer

None.

CTime

创建时间

date

None.

CreatorId

创建人编号

integer

None.

CreatorName

创建人名称

string

None.

LastMTime

最后修改时间

date

None.

LastMId

最后修改人编号

integer

None.

LastMName

最后修改人名称

string

None.

Childs

子菜单

Collection of MenuCopWebModel

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'UX.CityContract.MenuCopWebModel'. Path 'Childs'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'UX.CityContract.MenuCopWebModel'. Path 'Childs'.

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

Response

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

string

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": "sample string 1",
  "Ret": 2,
  "ErrCode": 3,
  "Msg": "sample string 4",
  "SeqId": 5,
  "InfoMsg": "sample string 6"
}