GET api/ExpenseCategory/GetCategoryDetail/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ExpenseCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CategoryCode | string |
None. |
|
| CategoryName | string |
None. |
|
| ParentId | integer |
None. |
|
| Description | string |
None. |
|
| IconName | string |
None. |
|
| ColorCode | string |
None. |
|
| DisplayOrder | integer |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedAt | date |
None. |
|
| UpdatedAt | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| CategoryType | string |
None. |
|
| ParentCategoryName | string |
None. |
|
| ChildCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"CategoryCode": "sample string 2",
"CategoryName": "sample string 3",
"ParentId": 1,
"Description": "sample string 4",
"IconName": "sample string 5",
"ColorCode": "sample string 6",
"DisplayOrder": 7,
"IsActive": true,
"CreatedBy": "8f59024d-5e27-4bb6-a3a7-58f93e74525b",
"CreatedAt": "2026-04-14T21:53:48.3553191+07:00",
"UpdatedAt": "2026-04-14T21:53:48.3553191+07:00",
"IsDeleted": true,
"CategoryType": "sample string 11",
"ParentCategoryName": "sample string 12",
"ChildCount": 1
}
application/xml, text/xml
Sample:
<ExpenseCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Dto.Expense"> <CategoryCode>sample string 2</CategoryCode> <CategoryName>sample string 3</CategoryName> <CategoryType>sample string 11</CategoryType> <ChildCount>1</ChildCount> <ColorCode>sample string 6</ColorCode> <CreatedAt>2026-04-14T21:53:48.3553191+07:00</CreatedAt> <CreatedBy>8f59024d-5e27-4bb6-a3a7-58f93e74525b</CreatedBy> <Description>sample string 4</Description> <DisplayOrder>7</DisplayOrder> <IconName>sample string 5</IconName> <Id>1</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ParentCategoryName>sample string 12</ParentCategoryName> <ParentId>1</ParentId> <UpdatedAt>2026-04-14T21:53:48.3553191+07:00</UpdatedAt> </ExpenseCategoryDto>