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

REST Endpoint: GET: https://rason.net/api/model/{nameorid}/datamine

A REST API endpoint that submits the previously submitted data science model into the queue on the Server.

  • URL:https://rason.net/api/model/{nameorid}/datamine
  • Method: GET
  • URL Params

    Required: None

    Optional: Any datasource component may be passed as a query parameter if a binding property exists for that datasource. For example, see the RASON example code snippet below.

              
                "datasources": {
                  "srcCustomers": {
                    "type": "csv",
                    "connection": "customers_dt.txt",
                    "selection": "custID = $parCustID1 or custID = $parCustID2",
                    "parameters": {
                      "parCustID1": {
                        "binding": "get",
                        "value": "c1"
                      },
                      "parCustID2": {
                        "binding": "get",
                        "value": "c3"
                      }
                    }
                  }
                },
              
            

    To query custID =$parCustID1 or custID=$parCustID2 outside of the RASON model environment, use:

    $.get(https://rason.net/api/datamine?parCustID1=c1&parCustID2=c2…

    Or in general,

    $.get(https://rason.net/api/datamine?par1=val1&par2=val2.....

    RASON Server will map "custID=$parCustID1" with "parCustID1=c1" and "custID = $parCustID2" with "parCustID2=c3". A query can return any number of rows that satisfy the filtering condition, from 0 to infinity.

  • Headers:

    Required: Authorization - Example: Authorization: bearer {your RASON token}

    Optional: None

  • Data Params: None
  • Success Response

    Code: 202 (Accepted)

    Example Request: https://rason.net/api/model/LogisticRegression/datamine

    Example Response:

              
       {
          "Accepted": "2020-06-02+21-10-55"
       }
              
            
Back to REST Endpoint: GET: https://rason.net/api/model/{name}/champion