Import a Data Model

{ importModel }

Imports a materialized data model from a PIE file and deploys it

Method

/API2/dataSources/importModel
  • API Section: /API2/dataSources
  • API Version: 2.0
  • From Release: 2018.5
  • Can be used by Enterprise Admin users only
  • REST API only via POST actions.
  • Input Parameters

    Name

    modelApiObject

    Object Type

    Description

    The object representing the details for where to import a model PIE file.

    Output Response

    Successful Result Code

    200

    Response Type

    string

    Description of Response Type

    successful operation

    Notes

    This functions does not import the model definition file - it imports a live, active materialized model. Use 'importContent' method to import model definition files to the content manager. The response from the method - connection string - shows the final connection string of the deployed model.It is recommended that this API would not get executed in parallel.

    Examples