POST api/Product/UpdateProduct

Request Information

URI Parameters

None.

Body Parameters

Product
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

Parent_CategoryId

integer

None.

Parent_Category

string

None.

Child_CategoryId

integer

None.

Child_Category

string

None.

Navigation_Id

integer

None.

Navigation

string

None.

Brand

string

None.

Photo

string

None.

Photo1

string

None.

Photo2

string

None.

Photo3

string

None.

Rate

string

None.

Nutritional_Facts

string

None.

HealthBenefits

string

None.

Status

string

None.

Qty

integer

None.

SizeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Parent_CategoryId": 4,
  "Parent_Category": "sample string 5",
  "Child_CategoryId": 6,
  "Child_Category": "sample string 7",
  "Navigation_Id": 8,
  "Navigation": "sample string 9",
  "Brand": "sample string 10",
  "Photo": "sample string 11",
  "Photo1": "sample string 12",
  "Photo2": "sample string 13",
  "Photo3": "sample string 14",
  "Rate": "sample string 15",
  "Nutritional_Facts": "sample string 16",
  "HealthBenefits": "sample string 17",
  "Status": "sample string 18",
  "Qty": 19,
  "SizeId": 20
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Name":"sample string 2","Description":"sample string 3","Parent_CategoryId":4,"Parent_Category":"sample string 5","Child_CategoryId":6,"Child_Category":"sample string 7","Navigation_Id":8,"Navigation":"sample string 9","Brand":"sample string 10","Photo":"sample string 11","Photo1":"sample string 12","Photo2":"sample string 13","Photo3":"sample string 14","Rate":"sample string 15","Nutritional_Facts":"sample string 16","HealthBenefits":"sample string 17","Status":"sample string 18","Qty":19,"SizeId":20}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.