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": "fa0ef7b9-881c-4162-af34-88f6881a72fc",
"CreatedTime": "2026-04-14T21:55:35.1560776+07:00",
"UpdatedTime": "2026-04-14T21:55:35.1560776+07:00",
"CreatedId": "47be4745-9682-4185-af75-45ab0cc5d0aa",
"UpdatedId": "0b9ba90d-cda3-49d0-9487-cc30103923a8",
"IsDeleted": true,
"DeletedTime": "2026-04-14T21:55:35.1560776+07:00",
"DeletedId": "daed282a-b346-4cc2-9e96-d7d7951e89f3",
"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>fa0ef7b9-881c-4162-af34-88f6881a72fc</AnhBiaId> <CreatedId>47be4745-9682-4185-af75-45ab0cc5d0aa</CreatedId> <CreatedTime>2026-04-14T21:55:35.1560776+07:00</CreatedTime> <DeletedId>daed282a-b346-4cc2-9e96-d7d7951e89f3</DeletedId> <DeletedTime>2026-04-14T21:55:35.1560776+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>0b9ba90d-cda3-49d0-9487-cc30103923a8</UpdatedId> <UpdatedTime>2026-04-14T21:55:35.1560776+07:00</UpdatedTime> </CategoryDto>