UserCategoryDTO
DTO that groups a user with their list of categorized budget entries.
userDTO object
DTO representing a user in the system.
idstring
Unique identifier of the user
Example:
USR12345usernamestring
Username used for login
Example:
john_doefirstNamestring
User's first name
Example:
JohnlastNamestring
User's last name
Example:
Doeemailstring
User's email address
Example:
john.doe@example.comgsmstring
User's mobile phone number
Example:
+212612345678categoryHolderDTOS object[]
List of categories associated with the user
Array [
categoryDTO 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 & Diningmaximumnumber
Maximum allowed amount for this category
Example:
1000isNotifyboolean
Whether the user should be notified when approaching the limit
Example:
true]
UserCategoryDTO
{
"userDTO": {
"id": "USR12345",
"username": "john_doe",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"gsm": "+212612345678"
},
"categoryHolderDTOS": [
{
"categoryDTO": {
"id": 1,
"userID": "USR123",
"code": "FOOD",
"name": "Food & Dining"
},
"maximum": 1000,
"isNotify": true
}
]
}