MDM

Datalist

Function: DataList Type: API Endpoint (GET)

Purpose: Retrieves a paginated list of data from the specified table in the customer database. Supports searching and caching for optimized performance.

URL: GET /api/mdm/data_list/

Request Headers:

  • Customer-Key (str, required): A base64-encoded string identifying the customer and database.
  • Table-Name (str, required): The name of the table to retrieve data from.

Request Parameters:

  • page (int, optional): The page number for pagination (default is 1).
  • limit (int, optional): The number of rows to fetch per page (default is 25).
  • search (str, optional): A JSON string representing search parameters.

Response: Returns a JSON object containing the requested data. Supports cached responses for quick retrieval.

Exceptions:

  • Raises a 400 HTTPException for invalid customer key or search format.
  • Raises a 500 HTTPException for server-side errors.
get/api/mdm/data_list/

Query parameters

pageinteger
limitinteger
searchstring

Headers

Customer-Keystring required
Table-Namestring required

Response

Successful Response

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

Changes