POST api/e/ys/AddNavigation?memberID={memberID}&enterpriseID={enterpriseID}
新建网站导航
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberID |
会员编号 |
globally unique identifier |
Required |
enterpriseID |
系统编号 |
globally unique identifier |
Required |
Body Parameters
导航实体
NavigationModelName | Description | Type | Additional information |
---|---|---|---|
ID |
编号 |
globally unique identifier |
None. |
ParentID |
父类编号 默认为空 |
globally unique identifier |
None. |
WWWID |
网站编号 |
globally unique identifier |
None. |
SName |
名称 必填 |
string |
None. |
Description |
描述 选填 |
string |
None. |
PageUrl |
跳转页面 跳转到的网址 |
string |
None. |
Image |
图片 |
string |
None. |
Thumbnail |
缩略图 选填 |
string |
None. |
Icon |
图标 选填 |
string |
None. |
Level |
等级 选填 |
integer |
None. |
State |
状态 选填 |
boolean |
None. |
OrderIndex |
排序值 选填 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "45ed52ce-8c9c-4d3f-9eb0-4ce4c048807b", "ParentID": "65576555-b20a-4ef2-805d-85ca9f18c4bb", "WWWID": "d1ed073d-8804-4598-b474-fcc0ae48960a", "SName": "sample string 4", "Description": "sample string 5", "PageUrl": "sample string 6", "Image": "sample string 7", "Thumbnail": "sample string 8", "Icon": "sample string 9", "Level": 10, "State": true, "OrderIndex": 12 }
application/xml, text/xml
Sample:
<NavigationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.E"> <Description>sample string 5</Description> <ID>45ed52ce-8c9c-4d3f-9eb0-4ce4c048807b</ID> <Icon>sample string 9</Icon> <Image>sample string 7</Image> <Level>10</Level> <OrderIndex>12</OrderIndex> <PageUrl>sample string 6</PageUrl> <ParentID>65576555-b20a-4ef2-805d-85ca9f18c4bb</ParentID> <SName>sample string 4</SName> <State>true</State> <Thumbnail>sample string 8</Thumbnail> <WWWID>d1ed073d-8804-4598-b474-fcc0ae48960a</WWWID> </NavigationModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.