View Monte Carlo Run Settings by Project and Scenario
get
/primeapi/restapi/monteCarloRunSettings/project/{projectId}/scenario/{scenario}
This endpoint returns monte carlo run settings that meet the following requirements:
- The object has a project with an ID value that matches the value of the {projectId} path parameter.
- The object was run under a scenario that matches the value of the {scenario} path parameter.
Request
Path Parameters
-
projectId: integer(int64)
Project ID of which MonteCarlo Run Settings has to be returned.
-
scenario: string
Monte Carlo ScenarioAllowed Values:
[ "PREMITIGATED", "POSTMITIGATED", "BOTH" ]
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityMonteCarloRunSettings
Type:
Show Source
object
-
checkConvergenceIterationFrequency(optional):
integer(int32)
Number of iterations for which the mean plan finish date must remain constant for analysis results to be considered converged.
-
convergedAtIterations(optional):
integer(int32)
The number of iterations at which the risk analysis results have converged.
-
convergenceThreshold(optional):
object Percent
-
includeProposedRisks(optional):
boolean
Controls whether the risk analysis includes risks with a status of proposed.
-
iterations(optional):
integer(int32)
Number of iterations run during the risk analysis.
-
link(optional):
string(url)
Read Only:
true
-
monteCarloRunSettingsId(optional):
integer(int64)
The unique identifier of a Monte Carlo run settings object.
-
monteCarloScenario(optional):
string
Allowed Values:
[ "PRE_MITIGATED", "POST_MITIGATED", "BOTH" ]
Type of risk analysis run on a project.- PRE_RESPONSE: A quantitative risk analysis that doesn't take into account the impact of defined risk response plans.
- POST-RESPONSE: A quantitative risk analysis that takes into account the impact of defined risk response plans.
- BOTH: A quantitative risk analysis that uses both pre and post response contexts.
-
optimisticPercentile(optional):
integer(int32)
The value (0 to 100) used to calculate optimistic percentiles in risk analysis.
-
pessimisticPercentile(optional):
integer(int32)
The value (0 to 100) used to calculate pessimistic percentiles in risk analysis.
-
projectId(optional):
integer(int64)
The unique identifier of a project associated with Monte Carlo run settings.
-
randomSeed(optional):
integer(int32)
Number used to set the starting point for the risk analysis random number generator.
-
samplingShape(optional):
string
Allowed Values:
[ "NONE", "TRIANGLE", "UNIFORM", "GAUSSIAN", "SINGLE_POINT" ]
The sampling shape of a Monte Carlo analysis. -
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
useConvergence(optional):
boolean
Controls whether convergence is used to automatically determine when enough iterations have been run during risk analysis. If this option is selected, the analysis runs until specified convergence criteria are met.
204 Response
Successful operation with no content.
404 Response
The requested Monte Carlo run settings do not exist, or you do not have access to them.