MIKE OPERATIONS Web API¶
MIKE OPERATIONS systems can accessed through REST APIs, to read/write data, execute Jobs and run models.
Installation¶
Since release 2025.0, the WebAPIs are installed along with MIKE OPERATIONS. The different libraries can be found in the WebApi folder, for example:
C:\Program Files (x86)\DHI\MIKE OPERATIONS\2025\bin\WebApi
They can then be published as a web services, as explained in the Deployment page.
NuGet Packages¶
The MIKE OPERATIONS Web API is based on the DHI Domain Services Web API using the MIKE OPERATIONS DS Provider NuGet Packages.
The NuGet packages are published on the NuGet.org.
The following packages are published:
Package | Description | Service |
---|---|---|
DHI.Services.MC.Core | Core functionality containing connection information. Required by other MC packages. | DHI.Services |
DHI.Services.MC.Documents | Access documents in the document manager of MIKE Workbench. | DHI.Services.Documents |
DHI.Services.MC.GIS | Access GIS data in the GIS manager of MIKE Workbench. | DHI.Services.GIS |
DHI.Services.MC.Jobs | Access and run jobs in the job manager of MIKE Workbench. | DHI.Services.Jobs |
DHI.Services.MC.Models | Access and run models, scenarios and simulations in the scenario manager of MIKE Workbench. | DHI.Services.Models |
DHI.Services.MC.Spreadsheets | Access spreadsheets in the spreadsheet manager of MIKE Workbench. | DHI.Services.Spreadsheet |
DHI.Services.MC.Tables | Read any table of the MIKE OPERATIONS database using direct database SQL queries. | DHI.Services.Tables |
DHI.Services.MC.TimeSeries | Access time series in the time series manager of MIKE Workbench. | DHI.Services.TimeSeries |
DHI.Services.MCLite | Using direct database SQL queries to access MIKE Workbench data. |
Swagger¶
Documentation about the supported end points can be found on DHI Domain Services Swagger Server
The following service types (repositories) are supported: Note that some services are not available on the Demo Server.
- TimeSeries
- TimeSteps
- GIS
- Spreadsheets
- Documents
- Jobs
- Tasks
- Models
- Tables
GitHub¶
The Demo Server code can be found on GitHub.