PUT api/Menu/Update
Request Information
URI Parameters
None.
Body Parameters
MenuUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| IsActive | boolean |
None. |
|
| IsMain | boolean |
None. |
|
| LanguageID | globally unique identifier |
Required |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"isActive": true,
"isMain": true,
"languageID": "599a04b7-f757-49f5-8178-18b0f115ab09",
"id": "5e2a56e8-6fa8-4691-90c5-4d3a2ec0d085"
}
application/xml, text/xml
Sample:
<MenuUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <ID>5e2a56e8-6fa8-4691-90c5-4d3a2ec0d085</ID> <IsActive>true</IsActive> <IsMain>true</IsMain> <LanguageID>599a04b7-f757-49f5-8178-18b0f115ab09</LanguageID> <Name>sample string 1</Name> </MenuUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Name":"sample string 1","IsActive":true,"IsMain":true,"LanguageID":"599a04b7-f757-49f5-8178-18b0f115ab09","ID":"5e2a56e8-6fa8-4691-90c5-4d3a2ec0d085"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.