Moody’s strongly recommends that Risk Modeler and UnderwriteIQ tenants use the Platform APIs instead of the Risk Modeler APIs for all future projects. See Migrate to Plaform APIs.

Administer EDM

Administers an EDM data source.

The service supports three administrative operations:

  • The CREATE operation creates a new EDM datasource on the specified server.
  • The DOWNLOAD_EDM operation downloads the specified EDM as a database artifact in the specified format.
  • The EDM_DATA_UPGRADE operation upgrades the specified EDM to the latest version.

The datasourcename and operation query parameters are required. The datasourcename identifies the name of the EDM to create, download, or upgrade. The operation specifies the administrative operation: CREATE, DOWNLOAD_EDM, or EDM_DATA_UPGRADE.

Create EDM operation

If the CREATE option is specified, the datasourcename specifies the name of the EDM created and the servername parameter specifies the server on which the new EDM is created.

Download EDM operation

If the DOWNLOAD_EDM option is specified, the datasourcename identifes the EDM to download and the filename specifies the name of the database artifact.

The service supports several different formats for the database artifact. One of BAK, CSV, MDF or PARQUET.

Upgrade EDM operation

If the EDM_DATA_UPGRADE option is specified, the datasourcename specifies the name of the EDM to upgrade using the latest database schema.

Query Params
string
required
length between 1 and 80

Unique name of EDM data source. Valid characters: 0-9, A-Z, a-z, _ (underscore), - (hyphen), and ' ' (space). Maximum length is 80 characters.

string

Name of the file for download. Valid characters: 0-9, A-Z, a-z, _ (underscore), - (hyphen), and '' '' (space).

string
enum
required

Database operation to perform. One of CREATE, DOWNLOAD_EDM, or EDM_DATA_UPGRADE.

Allowed:
string

Name of server instance hosting the EDM.

string
enum
Defaults to BAK

File format downloaded database artifact.

Allowed:
string
enum
Defaults to 2016

SQL server version of exported BAK or MDF.

Allowed:
boolean
enum
Defaults to false

If true, the database is taken offline for the duration of the export job and not backed up. If false or undefined, the database is backed up before it is detached.

Allowed:
Responses

CREATE_EDM, DOWNLOAD_EDM, or EDM_DATA_UPGRADE job was added to the workflow engine queue for processing. Returns a URL in the Location header that enables you to track the status of the job, e.g. /{host}/v1/workflows/100000. Send periodic HTTP GET requests to the URL for the job status. See Workflow Engine Jobs.'

Language
Credentials
URL
Response
Choose an example:
*/*
application/json