MobileApp

User Roles Fetch

Changed on

Function: Fetch User Roles and Permissions

Type: API Endpoint (POST)

Purpose:
Fetches the roles and associated permissions for a user based on the provided usercode, appcode, group_code, and menu_code.

Headers:

  • App_Code (str, required): The application code.
  • User_Code (str, required): The user code.
  • Group_Code (str, required): The group code.

Response:
Returns a JSON response containing the user roles and their permissions.

Exceptions:

  • HTTPException: If any exception occurs during the process, it raises an HTTPException with a 500 status code and the exception message.
post/api/MobileApp/user_roles_permissions

Request

Headers

App-Codestring required
User-Codestring required
Group-Codestring required

Response

Successful Response

unknown required

Changes