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": "a1402fe1-08e1-4944-857a-6ced733dfe23",
"CreatedTime": "2025-12-24T20:27:25.3253765+07:00",
"UpdatedTime": "2025-12-24T20:27:25.3253765+07:00",
"CreatedId": "b364ef8c-719b-45c8-b553-111fcf36d629",
"UpdatedId": "1d2cac8c-8809-4850-99af-134f0c211c19",
"IsDeleted": true,
"DeletedTime": "2025-12-24T20:27:25.3253765+07:00",
"DeletedId": "6fedd1ac-ea0a-4a1a-9e4c-6d31ca036c89",
"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>a1402fe1-08e1-4944-857a-6ced733dfe23</AnhBiaId> <CreatedId>b364ef8c-719b-45c8-b553-111fcf36d629</CreatedId> <CreatedTime>2025-12-24T20:27:25.3253765+07:00</CreatedTime> <DeletedId>6fedd1ac-ea0a-4a1a-9e4c-6d31ca036c89</DeletedId> <DeletedTime>2025-12-24T20:27:25.3253765+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>1d2cac8c-8809-4850-99af-134f0c211c19</UpdatedId> <UpdatedTime>2025-12-24T20:27:25.3253765+07:00</UpdatedTime> </CategoryDto>