Introduction to RASON
About RASON Models and the RASON Server
Rason Subscriptions
Rason Web IDE
Creating and Running a Decision Flow
Defining Your Optimization Model
Defining Your Simulation Model
Performing Sensitivity Analysis
Defining Your Stochastic Optimization Model
Defining Your Data Science Model
Defining Custom Types
Defining Custom Functions
Defining Your Decision Table
Defining Contexts
Using the REST API
REST API Quick Call Endpoints
REST API Endpoints
Decision Flow REST API Endpoints
OData Endpoints
OData Service for Decision Flows
Creating Your Own Application
Using Arrays, For, Loops and Tables
Organization Accounts

RASON REST API Endpoints

For all but the smallest / most quickly solved models, you'll need to use the second set of REST API calls. Each of these calls are asynchronous. You'll first need to make a call to the REST API endpoint POST rason.net/api/model which will create a "resource ID". Then you'll need to start an optimization, simulation, decision table recalculation, data science task via the REST API endpoints GET rason.net/api/model/{nameorid}/optimize, GET rason.net/api/model/{nameorid}/simulate, GET rason.net/api/model/{nameorid}/decision or GET rason.net/api/model/{nameorid}/datamine. Additionally, you can use GET rason.net/api/model/{nameorid}/solve to solve any type of RASON model (optimization, simulation, data science, or decision table) which will automatically create an OData endpoint for the results.

You can check on the model's progress at any time with the REST API endpoint GET rason.net/api/model/{nameorid}/status and obtain results when completed with the REST API endpoint GET rason.net/api/model/{nameorid}/result. To stop an optimization, simulation, decision table recalculation or data science task that is in progress, use POST rason.net/api/model/{nameorid}/stop. To delete a model or decision table, use DELETE rason.net/api/model/{nameorid}/delete.

Back to Quick Calls to REST API Endpoints