PUT api/MenuItem/Update
Request Information
URI Parameters
None.
Body Parameters
MenuItemUpdateDto| 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. |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"url": "sample string 2",
"external": true,
"hasChildren": true,
"order": 5,
"menuID": "f46832f8-4bdf-4b58-aaeb-90ca6d03703a",
"pageType": "sample string 6",
"itemID": "4c74d4ec-a641-4800-81ea-2147aeced1c6",
"id": "9871c56c-b48d-430e-a53c-f19ac1303e71"
}
application/xml, text/xml
Sample:
<MenuItemUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <ID>9871c56c-b48d-430e-a53c-f19ac1303e71</ID> <External>true</External> <HasChildren>true</HasChildren> <ItemID>4c74d4ec-a641-4800-81ea-2147aeced1c6</ItemID> <MenuID>f46832f8-4bdf-4b58-aaeb-90ca6d03703a</MenuID> <Order>5</Order> <PageType>sample string 6</PageType> <Title>sample string 1</Title> <Url>sample string 2</Url> </MenuItemUpdateDto>
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":"f46832f8-4bdf-4b58-aaeb-90ca6d03703a","PageType":"sample string 6","ItemID":"4c74d4ec-a641-4800-81ea-2147aeced1c6","ID":"9871c56c-b48d-430e-a53c-f19ac1303e71"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.