POST api/MenuItem/Add
Request Information
URI Parameters
None.
Body Parameters
MenuItemAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
Required |
|
| Url | string |
None. |
|
| External | boolean |
None. |
|
| HasChildren | boolean |
None. |
|
| Order | integer |
None. |
|
| MenuID | globally unique identifier |
None. |
|
| PageType | string |
None. |
|
| ItemID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"url": "sample string 2",
"external": true,
"hasChildren": true,
"order": 5,
"menuID": "4de76976-66da-4344-a6a0-c8d37c3451f5",
"pageType": "sample string 6",
"itemID": "9f5c3ddf-e687-457b-9ca0-6cb15439dc7b"
}
application/xml, text/xml
Sample:
<MenuItemAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <External>true</External> <HasChildren>true</HasChildren> <ItemID>9f5c3ddf-e687-457b-9ca0-6cb15439dc7b</ItemID> <MenuID>4de76976-66da-4344-a6a0-c8d37c3451f5</MenuID> <Order>5</Order> <PageType>sample string 6</PageType> <Title>sample string 1</Title> <Url>sample string 2</Url> </MenuItemAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Title":"sample string 1","Url":"sample string 2","External":true,"HasChildren":true,"Order":5,"MenuID":"4de76976-66da-4344-a6a0-c8d37c3451f5","PageType":"sample string 6","ItemID":"9f5c3ddf-e687-457b-9ca0-6cb15439dc7b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.