MDM NEW
Check Or Create Database
Function: check_or_create_database Type: API Endpoint (GET)
Purpose:
Checks if a database exists and creates it if it doesn't, along with creating the dependency tables.
URL:
GET /api/new_mdm/check_or_create_database
Request Headers:
- Customer-Key (str, required): A base64-encoded string identifying the customer and database.
- App-Code (str, required): A base64-encoded string identifying the application.
Request Body: None
Response: A JSON object containing a status message and details of the database creation/check.
Status Codes:
- 200: Success
- 404: Database not found
- 500: Failed to create/check database
get/api/new_mdm/check_or_create_database
Request
- Base URLhttps://api.leapsurgebi.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Customer-Keystring required
App-Codestring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 3 revisions of this API.