September, 2023

The September release of the Risk Modeler API introduces enhancements for managing workflow jobs.

Exports

The Export Data Module to File (POST /v2/exports) enables the client to export a data module (EDM or RDM) to file.

If LocationResultsExportInput type is specified, the resource enables you to export and download location results as CSV files. This resource now correctly exports the fl200YRInlandDepthUndef and fl250YRInlandDepthUndef attributes.

{
    "analysisIds": [
        6700
    ],
    "exportFields": [
        ...,
        "fl1000YRInlandDepthUndef",
        "fl250YRInlandDepthUndef",
        "fl100YRInlandDepthUndef",
        "fl200YRInlandDepthUndef",
        ...  
    ],
    "perspectives": [
        "EL",
        "GU"
    ],
    "exportType": "LOCATION_RESULTS",
    "type": "LocationResultsExportInput"
}

Workflows

The Process Custom Workflow (POST /[v1]/workflows) enables the client to define and process a user-defined workflow.

By default, a user-defined workflow job automatically generates a series of reports when the job is complete. The new disable-underwriter-reports attribute enables UnderwriteIQ principals to disable report generation for a specific job. If true, no report is generated.

{
    "name": "UWIQ test",
    "settings": {
        "disable-underwriter-reports": true
    },
    "operations": [
     ...
    ]
}

The Update Workflow Priority (PATCH /[v1]/workflows/workflowId) enables the client to update the priority of queued workflow jobs. The resource takes two required parameters: a workflowId path parameter that specifies the workflow job and a priority that specifies the priority of the job (one of veryhigh, high, medium, low, and verylow)

{
    "priority":"low"
}