PUT api/SubCategories/EditSubCategory

Request Information

URI Parameters

None.

Body Parameters

SubCategoryViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryId

integer

Required

Name

string

Required

Image

HttpPostedFile

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "categoryId": 1,
  "name": "sample string 2",
  "image": null
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

multipart/form-data

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.