|
REST Endpoint: GET: https://rason.net/odata/solvelog
A REST API endpoint that returns the log of solve requests for the requesting user. Fields returned are listed below. Note that a single
model is a decision flow with one stage.
SolveType Codes
- Unknown = 0
- Optimize = 1
- Simulate = 2
- IISFind = 3
- Diagnose = 4
- DataMine = 5
- Calculate = 6
- Decision = 7
- Solve = 8
- QuickOptimize = 101
- QuickSimulate = 102
- QuickIISFind = 103
- QuickDiagnose = 104
- QuickDataMine = 105
- QuickCalculate = 106
- QuickDecision = 107
- QuickSolve = 108
- ParameterAnalysis = 200
- SenParameterAnalysis = 201
- SimParameterAnalysis = 202
- DataMineApp=203
- SolveForRecourseVariables = 1000
- SolverWithoutIntegers = 1010
- URL: https://rason.net/odata/solvelog
- Method: GET
-
URL Params
Required: None
Optional: It's possible to use a query param for any of the returned fields described above, for example:
GET https://rason.net/odata/solvelog?$select=SolveTimeStamp
-
Headers:
Required: Authorization - Example: Authorization: bearer {your RASON token}
Optional: None
-
Data Params: None
-
Success Response
Example Response:
Code: 200 (OK)
"@odata.context": "https://rason.net/odata/$metadata#SolveLog(Stages(Optimization(),Simulation(),Calculation(),DataMining()))",
"value": [
{
"ResourceID": "2590+2019-11-12-19-24-06-696423",
"SeqNumber": 0,
"SolverUserID": 2590,
"Name": null,
"Email": null,
"ModelName": null,
"ModelVersion": null,
"SolveTimeStamp": "2019-11-12T19:24:07.353Z",
"SolveTime": 656,
"Origin": "98.181.251.23",
"SubmittedBy": "Unknown",
"StatusCode": -1,
"StatusMessage": "Interpret_Err",
"SolveType": "QuickDecision",
"NumStages": 0,
"NumAttemptedStages": 0,
"NumSucceededStages": 0,
"ManagedModel": false,
"CommonSolveType": "Decision",
"CommonStatusCode": "Error",
"InstanceType": "Unknown",
"ModelKind": "Unknown",
"Stages": []
},…
|