MDM NEW

Get Table Access Details

Function: get_table_access_details Type: API Endpoint (GET)

Purpose:
Retrieves access details for a user from the database.

Parameters:

  • request: The HTTP request object.
  • customer_key (Header, required): A base64 encoded string containing lscode and firmcode for the customer.
  • user_code (Header, required): The user code for whom access details are to be retrieved.
  • current_user (str): The current user performing the operation, obtained via dependency injection.

Returns:
A JSON response containing the access details for a user.

Exceptions:

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

Headers

customer-keystring required
user-codestring required

Response

Successful Response

{"stackTrail":"paths:/api/new_mdm/get_table_access_details:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.