View a Monte Carlo Risk Result by Project and Scenario
get
/primeapi/restapi/monteCarloRiskResult/project/{projectId}/scenario/{scenario}
This endpoint returns a monte carlo risk results 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 Risk Result 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 : ApiEntityMonteCarloRiskResult
Type:
Show Source
object
-
link(optional):
string(url)
Read Only:
true
-
meanDelay(optional):
object Duration
-
monteCarloRiskResultFinancial(optional):
object ApiEntityMonteCarloRiskResultFinancial
-
monteCarloRiskResultId(optional):
integer(int64)
The unique identifier of a risk result.
-
monteCarloScenario(optional):
string
Allowed Values:
[ "PRE_MITIGATED", "POST_MITIGATED", "BOTH" ]
The type of a risk scenario. -
projectRiskId(optional):
integer(int64)
The unique identifier of a project.
-
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.
Nested Schema : ApiEntityMonteCarloRiskResultFinancial
Type:
Show Source
object
-
link(optional):
string(url)
Read Only:
true
-
meanCostImpact(optional):
object Cost
-
monteCarloRiskResultId(optional):
integer(int64)
The unique identifier of a risk result.
-
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.
Nested Schema : Cost
Type:
object
204 Response
Successful operation with no content.
404 Response
The requested Monte Carlo risk result does not exist, or you do not have access to it.