POST categories/search
Request Information
URI Parameters
None.
Body Parameters
CategorySearchDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required String length: inclusive between 2 and 50 |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1"
}
Response Information
Resource Description
Collection of CategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required |
|
| IsParent | boolean |
None. |
|
| ChildrenCategories | Collection of CategoryDto |
None. |
|
| ParentCategoryId | integer |
None. |
|
| ParentCategory | CategoryDto |
None. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"IsParent": true,
"ChildrenCategories": [],
"ParentCategoryId": 1
},
{
"Id": 1,
"Name": "sample string 2",
"IsParent": true,
"ChildrenCategories": [],
"ParentCategoryId": 1
}
]