MobileApp
Menu Access Fetch
Function: Menu Access Fetch
Type: API Endpoint (POST)
Purpose:
This function fetches the menu list for a given user based on the application code and user code provided in the headers.
Headers:
- App_Code (str, required): The application code to filter the menu items.
- User_Code (str, required): The user code to filter the menu items.
Response:
Returns a JSON response containing the menu list for the given user.
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/menu_access
Headers
App-Codestring required
User-Codestring required
Response
Successful Response
{"stackTrail":"paths:/api/MobileApp/menu_access:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}