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": "13817f8f-78ed-4e84-a465-37252c980271",
"createdAt": "2026-11-27T01:43:46.9158951+07:00",
"updatedAt": "2026-11-27T01:43:46.9158951+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-11-27T01:43:46.9158951+07:00</CreatedAt> <CreatedBy>13817f8f-78ed-4e84-a465-37252c980271</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-11-27T01:43:46.9158951+07:00</UpdatedAt> </ExpenseCategoryDto>