/
REST/MVC Users Controller

REST/MVC Users Controller

REST/MVC Path for User definition
HTTP MethodPathDescriptionController Method
/rest/users/resetPasswordReset password for an existing userresetPassword(resetPassword: ResetPasswordDTO)
Parameters:
  • resetPassword: Reset password form json (Body)
/rest/users/{userId}/unblockUnblock existing userunblockUser(userId: String)
Parameters:
  • userId: User identifier  (Path parameter)

/rest/users/Adds a new user

addUser(user: UserDTO)

Parameters:
  • user: User json (Body)
/rest/users/{userId}Updates an existent userupdateUser(user: UserDTO, userId: String)
Parameters:
  • user: User json (Body)
  • userId: User identifier (Path parameter)
/rest/customers/{userId}Removes an existent userremoveUser(userId: String)
Parameters:
  • userId: User identifier  (Path parameter)
/rest/users/Search users by criteria

findUsersByCriteria(criteria: UserCriteria)

Parameters:
  • criteria: Criteria filter json (Body parameter)

Related content

Avvale 2024