POST api/Product/PostCategory
Request Information
URI Parameters
None.
Body Parameters
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Parant | integer |
None. |
|
| CategoryLevel | integer |
None. |
|
| Type | CategoryType |
None. |
|
| Active | boolean |
None. |
|
| Deleted | boolean |
None. |
|
| Created | date |
None. |
|
| Updated | date |
None. |
|
| ColorCode | string |
None. |
|
| TextColorCode | string |
None. |
|
| ItemColorCode | string |
None. |
|
| ApplyItemColor | boolean |
None. |
|
| SortOrder | integer |
None. |
|
| IconId | integer |
None. |
|
| ReportOrder | integer |
None. |
|
| AccountingId | integer |
None. |
|
| SortItemByName | boolean |
None. |
|
| ComissionPercent | decimal number |
None. |
|
| ShowButton | boolean |
None. |
|
| IngredientCategoryId | integer |
None. |
|
| BoostParentId | string |
Max length: 36 |
|
| BoostId | string |
Max length: 36 |
|
| Synced | boolean |
None. |
|
| SubCategories | Collection of Category |
None. |
|
| Children | Collection of Category |
None. |
|
| Photo | Collection of byte |
None. |
|
| ImageURL | string |
None. |
|
| IsPrimary | boolean |
None. |
|
| IsParent | boolean |
None. |
|
| IsSelected | boolean |
None. |
|
| ingredientCategoryUUID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Parant": 3,
"CategoryLevel": 4,
"Type": 0,
"Active": true,
"Deleted": true,
"Created": "2026-02-04T04:13:30.0577536+01:00",
"Updated": "2026-02-04T04:13:30.0577536+01:00",
"ColorCode": "sample string 8",
"TextColorCode": "sample string 9",
"ItemColorCode": "sample string 10",
"ApplyItemColor": true,
"SortOrder": 12,
"IconId": 13,
"ReportOrder": 14,
"AccountingId": 15,
"SortItemByName": true,
"ComissionPercent": 17.0,
"ShowButton": true,
"IngredientCategoryId": 19,
"BoostParentId": "sample string 20",
"BoostId": "sample string 21",
"Synced": true,
"SubCategories": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"Children": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"Photo": "QEA=",
"ImageURL": "sample string 23",
"IsPrimary": true,
"IsParent": true,
"IsSelected": true,
"ingredientCategoryUUID": "sample string 27"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.