chatbot
clear chat
Skip to main content
Version: v6.1 Latest

Solve

POST 

/scenarios/:scenarioId/solve

Solve a scenario goal for a given diagnostic. The payload of the request is a JSON expression where the target achievability, chosen diagnostic and goalId are specified.

Optionally, when solving for a goal/diagnostic we can specify the resultMode for the solution to be executed in by passing it through the payload object

All the available diagnostics can be found in the Appendix.

Request

Path Parameters

    scenarioId stringrequired

    The scenario's id

Body

required
    goalId stringrequired

    The id of the goal to be solved.

    diagnosticType stringrequired

    Which diagnostic should be run to solve the goal.

    achievability integerrequired

    Target achievability to solve for.

    resultMode string

    Possible values: [NOMINAL, REAL]

    Default value: NOMINAL

Responses

OK

Schema
    solutionId string

    The ID of the solution for the given variables passed through.

Loading...