GET api/Category/GetDetail/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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": "f4630210-3191-41bd-a7af-b864fb759a79",
"createdTime": "2026-11-27T01:55:47.0261173+07:00",
"updatedTime": "2026-11-27T01:55:47.0261173+07:00",
"createdId": "a624b4df-dfcb-4e16-92a3-e12a43a041e3",
"updatedId": "20b3dcb5-ac15-4dc5-ae03-1534ff294083",
"isDeleted": true,
"deletedTime": "2026-11-27T01:55:47.0261173+07:00",
"deletedId": "2b1caa96-5369-4107-a015-87a5aedbfe14",
"ten": "sample string 6"
}
application/xml, text/xml
Sample:
<CategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Dto"> <AnhBiaId>f4630210-3191-41bd-a7af-b864fb759a79</AnhBiaId> <CreatedId>a624b4df-dfcb-4e16-92a3-e12a43a041e3</CreatedId> <CreatedTime>2026-11-27T01:55:47.0261173+07:00</CreatedTime> <DeletedId>2b1caa96-5369-4107-a015-87a5aedbfe14</DeletedId> <DeletedTime>2026-11-27T01:55:47.0261173+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>20b3dcb5-ac15-4dc5-ae03-1534ff294083</UpdatedId> <UpdatedTime>2026-11-27T01:55:47.0261173+07:00</UpdatedTime> </CategoryDto>