POST api/Menu/ChooseMain

Request Information

URI Parameters

None.

Body Parameters

MenuUpdateDto
NameDescriptionTypeAdditional 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": "5a73b10f-de8a-45f0-afc6-07afbee5d8f9",
  "id": "80bcb19a-6878-4d5b-85b3-a144e35eff50"
}

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>80bcb19a-6878-4d5b-85b3-a144e35eff50</ID>
  <IsActive>true</IsActive>
  <IsMain>true</IsMain>
  <LanguageID>5a73b10f-de8a-45f0-afc6-07afbee5d8f9</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":"5a73b10f-de8a-45f0-afc6-07afbee5d8f9","ID":"80bcb19a-6878-4d5b-85b3-a144e35eff50"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.