Getting the status of a simulation

It returns the status of an Optima Operational Planning simulation.

The response provides an XML file with a main element named simulationStatusResponse. It contains two properties:

The set of the possible statuses of the OOP simulation is listed in the table:

Status Description

PENDING

The request is in the queue, waiting to be run.

DONE_SIMULATION

The simulation has been completed.

RUNNING_SIMULATION

The simulation is currently running.

RUNNING_KPI

​The KPI associated to the simulation is being calculated.

DONE_KPI

The process is completed and the associated KPIs have been correctly computed.

ERROR_KPI

An error came up during the KPI calculation.

FAILED

The request has failed.

Authentication phase

Before using the endpoint, you must run the authentication phase (→ Login).

After the authentication, a session opens and a valid session token persists until: