PUT api/Categories/EditCategory

Request Information

URI Parameters

None.

Body Parameters

CategoryViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

Value

string

None.

Image

HttpPostedFile

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 1",
  "value": "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.