Skip to main content

ApiResponseDTOCategoryDTO

Standard API response wrapper for all endpoints.

successboolean

Indicates whether the operation was successful

Example: true
data object

DTO representing a budget or transaction category assigned to a user.

idinteger<int64>

Unique identifier of the category

Example: 1
userIDstringrequired

ID of the user who owns this category

Example: USR123
codestringrequired

Code identifying the category (e.g., internal or functional code)

Example: FOOD
namestringrequired

Display name of the category

Example: Food & Dining
messagestring

Human-readable message describing the result

Example: Operation completed successfully
ApiResponseDTOCategoryDTO
{
"success": true,
"data": {
"id": 1,
"userID": "USR123",
"code": "FOOD",
"name": "Food & Dining"
},
"message": "Operation completed successfully"
}