Import a Physical Data Model as XML
Published 27 August 2025
The API allows you to import the model as an XML file, either as a completely new document or to an existing document. In the latter case, you can overwrite existing data (using the overwrite option) or add new objects to those already existing in the document (using the add option).
These API functions are equivalent to user interface functions: "My Data Modeler -> Create new document" and "Import -> Import from XML". Import can apply to both physical and logical models.
All the API methods described below require:
- An authorization header with a username equal to
$TOKENand an empty password in the formatAuthorization: basic (base64($TOKEN:)) - An accept header with a JSON mime type:
Accept: application/json - A content type header with a JSON mime type:
Accept: text/xml