POST api/services

used for add new cms menu

Request Information

URI Parameters

None.

Body Parameters

The LNK.

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}