PUT api/categories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UpdateCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required String length: inclusive between 0 and 100 |
|
| ParentCategoryId | integer |
None. |
|
| Description | string |
String length: inclusive between 0 and 500 |
|
| Icon | string |
String length: inclusive between 0 and 80 |
|
| DisplayOrder | integer |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"parentCategoryId": 1,
"description": "sample string 2",
"icon": "sample string 3",
"displayOrder": 4,
"isActive": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.