POST api/externalResource

used for post the menu name,url address whose isCms = 1 or true

Request Information

URI Parameters

None.

Body Parameters

The LNK.

ExternalResourcesLinkViewModel
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 'ExternalResourcesLinkViewModel'.

Response Information

Resource Description

ExternalResourcesLinkViewModel
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}