PUT api/Categories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Category
NameDescriptionTypeAdditional information
CategoryId

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "Name": "sample string 2"
}

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

Response Information

Resource Description

None.