POST categories/search

Request Information

URI Parameters

None.

Body Parameters

CategorySearchDto
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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
  }
]