PUT api/services/{menuId}

used for to edit or change the menu name, url address and position

Request Information

URI Parameters

NameDescriptionTypeAdditional information
menuId

The menu identifier.

integer

Required

Body Parameters

The NLNK.

ExternalResourcesViewModel
NameDescriptionTypeAdditional information
cMSMenuID

Gets or sets the c ms menu identifier.

integer

None.

menuName

Gets or sets the name of the menu.

string

None.

urlAddress

Gets or sets the URL address.

string

None.

menuPosition

Gets or sets the menu position.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "cMSMenuID": 1,
  "menuName": "sample string 2",
  "urlAddress": "sample string 3",
  "menuPosition": 1
}

text/html

Sample:
{"cMSMenuID":1,"menuName":"sample string 2","urlAddress":"sample string 3","menuPosition":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 'ExternalResourcesViewModel'.

Response Information

Resource Description

ExternalResourcesViewModel
NameDescriptionTypeAdditional information
cMSMenuID

Gets or sets the c ms menu identifier.

integer

None.

menuName

Gets or sets the name of the menu.

string

None.

urlAddress

Gets or sets the URL address.

string

None.

menuPosition

Gets or sets the menu position.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "cMSMenuID": 1,
  "menuName": "sample string 2",
  "urlAddress": "sample string 3",
  "menuPosition": 1
}

text/html

Sample:
{"cMSMenuID":1,"menuName":"sample string 2","urlAddress":"sample string 3","menuPosition":1}