ApiResponseDTOCategoryDTO
Standard API response wrapper for all endpoints.
successboolean
Indicates whether the operation was successful
Example:
truedata object
DTO representing a budget or transaction category assigned to a user.
idinteger<int64>
Unique identifier of the category
Example:
1userIDstringrequired
ID of the user who owns this category
Example:
USR123codestringrequired
Code identifying the category (e.g., internal or functional code)
Example:
FOODnamestringrequired
Display name of the category
Example:
Food & Diningmessagestring
Human-readable message describing the result
Example:
Operation completed successfullyApiResponseDTOCategoryDTO
{
"success": true,
"data": {
"id": 1,
"userID": "USR123",
"code": "FOOD",
"name": "Food & Dining"
},
"message": "Operation completed successfully"
}