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": "3ff04a24-32fc-4ce4-86a3-01d892e09f64",
"CreatedTime": "2026-11-17T15:50:47.5929429+07:00",
"UpdatedTime": "2026-11-17T15:50:47.5929429+07:00",
"CreatedId": "d76c9414-76c1-48be-908b-025f92ecb253",
"UpdatedId": "4010ebbf-1fad-4217-981b-aa882c56c500",
"IsDeleted": true,
"DeletedTime": "2026-11-17T15:50:47.5929429+07:00",
"DeletedId": "91d2bc41-c01e-4636-aad7-eb784eed4fad",
"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>3ff04a24-32fc-4ce4-86a3-01d892e09f64</AnhBiaId> <CreatedId>d76c9414-76c1-48be-908b-025f92ecb253</CreatedId> <CreatedTime>2026-11-17T15:50:47.5929429+07:00</CreatedTime> <DeletedId>91d2bc41-c01e-4636-aad7-eb784eed4fad</DeletedId> <DeletedTime>2026-11-17T15:50:47.5929429+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>4010ebbf-1fad-4217-981b-aa882c56c500</UpdatedId> <UpdatedTime>2026-11-17T15:50:47.5929429+07:00</UpdatedTime> </CategoryDto>