POST api/SubNavigationItem/UpdateSubNavigationItem

Request Information

URI Parameters

None.

Body Parameters

SubNavigationItems
NameDescriptionTypeAdditional information
SubNavigation_Id

integer

None.

Navigation_Id

integer

None.

Navigation

string

None.

SubNavigation

string

None.

SubNavigationPhoto

string

None.

Offer

integer

None.

Status

string

None.

Photo1

string

None.

Photo2

string

None.

Photo3

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubNavigation_Id": 1,
  "Navigation_Id": 2,
  "Navigation": "sample string 3",
  "SubNavigation": "sample string 4",
  "SubNavigationPhoto": "sample string 5",
  "Offer": 6,
  "Status": "sample string 7",
  "Photo1": "sample string 8",
  "Photo2": "sample string 9",
  "Photo3": "sample string 10"
}

application/octet-stream

Sample:
{"$id":"1","SubNavigation_Id":1,"Navigation_Id":2,"Navigation":"sample string 3","SubNavigation":"sample string 4","SubNavigationPhoto":"sample string 5","Offer":6,"Status":"sample string 7","Photo1":"sample string 8","Photo2":"sample string 9","Photo3":"sample string 10"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.