PUT api/services/{menuId}
used for to edit or change the menu name, url address and position
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| menuId |
The menu identifier. |
integer |
Required |
Body Parameters
The NLNK.
ExternalResourcesViewModel| Name | Description | Type | Additional 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:
Response Information
Resource Description
ExternalResourcesViewModel| Name | Description | Type | Additional 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}