PUT api/Menu/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Menu
NameDescriptionTypeAdditional information
Id

integer

None.

MenuText

string

String length: inclusive between 0 and 100

MenuTargetURL

string

None.

ParentMenuId

integer

None.

IsActive

boolean

None.

CreatedDate

date

None.

UpdatedDate

date

None.

ChildMenuId

integer

None.

HostApplication

string

String length: inclusive between 0 and 100

URLTarget

string

String length: inclusive between 0 and 10

SortOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "menuText": "sample string 2",
  "menuTargetURL": "sample string 3",
  "parentMenuId": 1,
  "isActive": true,
  "createdDate": "2024-09-19T11:48:06.6615359+00:00",
  "updatedDate": "2024-09-19T11:48:06.6615359+00:00",
  "childMenuId": 1,
  "hostApplication": "sample string 4",
  "urlTarget": "sample string 5",
  "sortOrder": 1
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Menu'.

Response Information

Resource Description

None.