GET api/Category/GetCategoryByKeySearch?keySearch={keySearch}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| keySearch | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ParentId | integer |
None. |
|
| LoaiHinh | string |
None. |
|
| MoTa | string |
None. |
|
| AnhBiaId | globally unique identifier |
None. |
|
| CreatedTime | date |
None. |
|
| UpdatedTime | date |
None. |
|
| CreatedId | globally unique identifier |
None. |
|
| UpdatedId | globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
|
| DeletedTime | date |
None. |
|
| DeletedId | globally unique identifier |
None. |
|
| Ten | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"ParentId": 2,
"LoaiHinh": "sample string 3",
"MoTa": "sample string 4",
"AnhBiaId": "fab784a1-cbe7-44c8-8b63-1a81de8bab8a",
"CreatedTime": "2025-10-26T13:05:18.0302851+07:00",
"UpdatedTime": "2025-10-26T13:05:18.0302851+07:00",
"CreatedId": "5bef5a5f-0c92-4831-ac1e-e67d2d6f8cad",
"UpdatedId": "75f5bc00-d547-4336-9a5a-f4abb08e4f16",
"IsDeleted": true,
"DeletedTime": "2025-10-26T13:05:18.0302851+07:00",
"DeletedId": "a540ca48-0c40-4abf-b7a8-8d3dcbdbf2d7",
"Ten": "sample string 6"
},
{
"Id": 1,
"ParentId": 2,
"LoaiHinh": "sample string 3",
"MoTa": "sample string 4",
"AnhBiaId": "fab784a1-cbe7-44c8-8b63-1a81de8bab8a",
"CreatedTime": "2025-10-26T13:05:18.0302851+07:00",
"UpdatedTime": "2025-10-26T13:05:18.0302851+07:00",
"CreatedId": "5bef5a5f-0c92-4831-ac1e-e67d2d6f8cad",
"UpdatedId": "75f5bc00-d547-4336-9a5a-f4abb08e4f16",
"IsDeleted": true,
"DeletedTime": "2025-10-26T13:05:18.0302851+07:00",
"DeletedId": "a540ca48-0c40-4abf-b7a8-8d3dcbdbf2d7",
"Ten": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Dto">
<CategoryDto>
<AnhBiaId>fab784a1-cbe7-44c8-8b63-1a81de8bab8a</AnhBiaId>
<CreatedId>5bef5a5f-0c92-4831-ac1e-e67d2d6f8cad</CreatedId>
<CreatedTime>2025-10-26T13:05:18.0302851+07:00</CreatedTime>
<DeletedId>a540ca48-0c40-4abf-b7a8-8d3dcbdbf2d7</DeletedId>
<DeletedTime>2025-10-26T13:05:18.0302851+07:00</DeletedTime>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<LoaiHinh>sample string 3</LoaiHinh>
<MoTa>sample string 4</MoTa>
<ParentId>2</ParentId>
<Ten>sample string 6</Ten>
<UpdatedId>75f5bc00-d547-4336-9a5a-f4abb08e4f16</UpdatedId>
<UpdatedTime>2025-10-26T13:05:18.0302851+07:00</UpdatedTime>
</CategoryDto>
<CategoryDto>
<AnhBiaId>fab784a1-cbe7-44c8-8b63-1a81de8bab8a</AnhBiaId>
<CreatedId>5bef5a5f-0c92-4831-ac1e-e67d2d6f8cad</CreatedId>
<CreatedTime>2025-10-26T13:05:18.0302851+07:00</CreatedTime>
<DeletedId>a540ca48-0c40-4abf-b7a8-8d3dcbdbf2d7</DeletedId>
<DeletedTime>2025-10-26T13:05:18.0302851+07:00</DeletedTime>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<LoaiHinh>sample string 3</LoaiHinh>
<MoTa>sample string 4</MoTa>
<ParentId>2</ParentId>
<Ten>sample string 6</Ten>
<UpdatedId>75f5bc00-d547-4336-9a5a-f4abb08e4f16</UpdatedId>
<UpdatedTime>2025-10-26T13:05:18.0302851+07:00</UpdatedTime>
</CategoryDto>
</ArrayOfCategoryDto>