ApiResponseDTOUserDTO
Standard API response wrapper for all endpoints.
successboolean
Indicates whether the operation was successful
Example:
truedata 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:
+212612345678messagestring
Human-readable message describing the result
Example:
Operation completed successfullyApiResponseDTOUserDTO
{
"success": true,
"data": {
"id": "USR12345",
"username": "john_doe",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"gsm": "+212612345678"
},
"message": "Operation completed successfully"
}