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: PATCH: https://rason.net/api/model/{nameorid}

A REST API endpoint that, with "champion" in the body, marks the ID (or the most recent ID if name is given) as the current champion. If used with "challenger", or nothing, in the body, the ID becomes unmarked as a "champion", reverting to the rule that the most recent version is the "champion".

Note: When PATCH https://rason.net/api/model/{nameorid} is used to mark a model as a "champion", the model will remain a champion even if you use PUT https://rason.net/api/model/{nameorid} to create a new version of the same model. The model will remain the champion until another call is made to PATCH https://rason.net/api/model/{nameorid} to unmark the model.

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

    Required: None

    Optional: None

  • Headers:

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

    Optional: None

  • Data Params: None
  • Success Response

    Code: 200 (OK)

    Example Response: None

Back to GET rason.net/api/model/{nameorid}/status