Solver results
GET/results/:scenarioId/sovler/:solutionId
Get the solution and the new achievability from the scenario's solve API call.
Request
Path Parameters
solutionId stringrequired
The solution id from the the scenario's solve API call.
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
id stringrequired
scenarioId stringrequired
simulationId stringrequired
clientId stringrequired
username stringrequired
results object[]
0 object
name string
results object[]
goalId string
data object
metadata object
numberOfLives integer
property name* number
*property name can be anything
goalName string
totalAchieved integer
eitherAlive integer
1 object
name string
results object[]
goalId string
data object
eitherAlive integer
goalId stringrequired
diagnosticType stringrequired
solutionId string
{
"id": "string",
"scenarioId": "string",
"simulationId": "string",
"clientId": "string",
"username": "string",
"results": [
{
"0": {
"name": "string",
"results": [
{
"goalId": "string",
"data": {
"metadata": {
"numberOfLives": 0
},
"goalName": "string",
"totalAchieved": 0,
"eitherAlive": 0
}
}
]
},
"1": {
"name": "string",
"results": [
{
"goalId": "string",
"data": {
"eitherAlive": 0
}
}
]
}
}
],
"goalId": "string",
"diagnosticType": "string",
"solutionId": "string"
}
Internal Server Error
Loading...