POST for Runs: Separating "Fixed" Data from "Run-Specific" Data
When initially creating a model resource, POST rason.net/api/model/{name} allows csv and XLSX data files to be attached and "streamed up" to the RASON
Server. But with RASON 2020 and later, you can now access your data from online data sources such as OneDrive, the Common Data Service and CData Cloud
Hub. Only "fixed data" (data that does not change from run to run) should be attached to your model using this call.
With the new API call to POST rason.net/api/model/nameorid/solvetype (solvetype = solve, optimize, simulate, datamine, decision or diagnose), the POST
body may be empty or it may supply "run-specific" csv and XLSX files when starting the execution of a new model instance. These files will be attached
to the new resource ID returned by this call, in the Location header.
|