Skip to content

ScenarioResultsState

dataSourceobject(VersionId)

A versioned resource identifier.

Example:
{ "id": "01CP3E6EJJ25J29YHZ0K4RDZH8", "version": 1 }
dataSourceProcessingErrorsArray of strings

A list of data source processing errors.

Example:
[ "first error", "second error" ]
dataSourceProcessingStatestringrequired

The data source processing state.

Enum:"Unknown""InsufficientData""Running""CompletedSuccessfully""CompletedWithErrors"
Example:"CompletedWithErrors"
lastUpdatedstring or null, (date-time)

The time when the scenario result state was last updated.

Example:"2020-09-08T09:53:36.000Z"
realizationStatesArray of objects(RealizationState)required

A list of realizations with corresponding states.

Example:
[ { "uri": "01HGWMW4HWETWWFZCA1Z0C453Z/realizations/01HGWQMY95XHSCDKSBYRZ8P67M", "computationStates": [ … ], "lastUpdatedAt": "2021-02-09T20:53:55.000Z", "resultsErrors": [], "state": "CompletedSuccessfully", "version": 11 } ]
resultsPublishingErrorsArray of strings

A list of results publishing errors.

Example:
[ "a publishing error" ]
resultsPublishingStatestringrequired

The results state for the scenario.

Enum:"Unknown""InsufficientData""Running""CompletedSuccessfully""CompletedWithErrors"
Example:"CompletedWithErrors"
{ "dataSource": { "id": "01EY46YV3JXND9NM0T70HABRXF", "version": 1 }, "dataSourceProcessingErrors": [], "dataSourceProcessingState": "CompletedSuccessfully", "lastUpdated": "2021-02-09T20:56:46.000Z", "realizationStates": [ { … } ], "resultsPublishingErrors": [], "resultsPublishingState": "CompletedSuccessfully" }