Batch Update Activity Risks

put

/api/restapi/activityRisk/batch

Send a request to this endpoint to update one or more activity risks. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityActivityRiskInput>
Type: array
Title: List<ApiEntityActivityRiskInput>
Show Source
  • ApiEntityActivityRiskInput
    Title: ApiEntityActivityRiskInput
    This entity represents a ActivityRisk object, a unique ActivityRisk object can be identified by the following combinations of the fields.
    • activityRiskId
    • activityId,projectRiskId
    • activityCode,projectCode,workspaceCode,projectRiskId
    • activityId,projectCode,workspaceCode,riskCode
    • activityCode,projectCode,workspaceCode,riskCode
    • activityCode,projectId,projectRiskId
    • activityId,projectId,riskCode
    • activityCode,projectId,riskCode
Nested Schema : ApiEntityActivityRiskInput
Type: object
Title: ApiEntityActivityRiskInput
This entity represents a ActivityRisk object, a unique ActivityRisk object can be identified by the following combinations of the fields.
  • activityRiskId
  • activityId,projectRiskId
  • activityCode,projectCode,workspaceCode,projectRiskId
  • activityId,projectCode,workspaceCode,riskCode
  • activityCode,projectCode,workspaceCode,riskCode
  • activityCode,projectId,projectRiskId
  • activityId,projectId,riskCode
  • activityCode,projectId,riskCode
Show Source
Nested Schema : quantifiedOtherImpacts
Type: array
Activity risk impacts associated with the activity.
Show Source
Nested Schema : ApiEntityActivityRiskQuantifiedOtherImpactInput
Type: object
Title: ApiEntityActivityRiskQuantifiedOtherImpactInput
Show Source
  • The unique identifier of the activity risk to which the risk is assigned.
  • The maximum probability that a risk event will occur.
  • The minimum probability that a risk event will occur.
  • The most likely probability that a risk event will occur.
  • Allowed Values: [ "PRE_RESPONSE", "POST_RESPONSE" ]
    The type of risk analysis scenario run on the 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.
    Pre- and Post-Response: A quantitative risk analysis that uses both scenarios.
  • The unique identifier for the Activity Risk Impact.
  • Allowed Values: [ "PROBABILITY", "SCHEDULE", "RELATIVE_SCHEDULE", "COST", "RELATIVE_COST", "USER" ]
    The name of the risk score type.
  • Allowed Values: [ "SINGLE_POINT", "TRIANGLE", "UNIFORM", "BETAPERT" ]
    The distribution that best models the three-point estimates for risk probabilities.
  • Read Only: true
    Deprecated. As of 23.10.
    Date when the record was last updated.
Examples

Back to Top

Response

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}

400 Response

Invalid input for the Activity Risk service.
Back to Top