POST api/Backstage/EditNavigation

图片管理/图文管理 新增一/二级类目

Request Information

URI Parameters

None.

Body Parameters

EditNavigation_request
NameDescriptionTypeAdditional information
Pid

integer

None.

id

integer

None.

name

string

None.

PType

2图片管理 3图文管理

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Pid": 1,
  "id": 2,
  "name": "sample string 3",
  "PType": 4
}

application/xml, text/xml

Sample:
<EditNavigation_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.Request">
  <PType>4</PType>
  <Pid>1</Pid>
  <id>2</id>
  <name>sample string 3</name>
</EditNavigation_request>

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

Response Information

Resource Description

图片管理/图文管理 新增一/二级类目

Result
NameDescriptionTypeAdditional information
code

错误代码

integer

None.

success

是否成功

boolean

None.

data

返回数据

Object

None.

msg

返回信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "success": true,
  "data": {},
  "msg": "sample string 4"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.BaseEntity">
  <code>1</code>
  <data />
  <msg>sample string 4</msg>
  <success>true</success>
</Result>