POST api/Menu/Add
Request Information
URI Parameters
None.
Body Parameters
MenuAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| IsActive | boolean |
None. |
|
| IsMain | boolean |
None. |
|
| WebSiteID | globally unique identifier |
None. |
|
| LanguageID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"isActive": true,
"isMain": true,
"webSiteID": "d1c881b3-a923-4cf5-b449-7a0c052f1076",
"languageID": "b5ccbb6b-0d92-448c-bf64-6e4d07f332dc"
}
application/xml, text/xml
Sample:
<MenuAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <IsActive>true</IsActive> <IsMain>true</IsMain> <LanguageID>b5ccbb6b-0d92-448c-bf64-6e4d07f332dc</LanguageID> <Name>sample string 1</Name> <WebSiteID>d1c881b3-a923-4cf5-b449-7a0c052f1076</WebSiteID> </MenuAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Name":"sample string 1","IsActive":true,"IsMain":true,"WebSiteID":"d1c881b3-a923-4cf5-b449-7a0c052f1076","LanguageID":"b5ccbb6b-0d92-448c-bf64-6e4d07f332dc"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.