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
- application/json
Root Schema : List<ApiEntityActivityRiskInput>
Type:
array
Title:
Show Source
List<ApiEntityActivityRiskInput>
-
Array of:
object 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.
Show Source
- activityRiskId
- activityId,projectRiskId
- activityCode,projectCode,workspaceCode,projectRiskId
- activityId,projectCode,workspaceCode,riskCode
- activityCode,projectCode,workspaceCode,riskCode
- activityCode,projectId,projectRiskId
- activityId,projectId,riskCode
- activityCode,projectId,riskCode
-
activityCode: string
Maximum Length:
60
The user-specified identifier of the activity. -
activityId(required): integer
(int64)
The unique identifier of an activity assigned to a risk.
-
activityRiskId: integer
(int64)
The unique identifier for the activity.The activity object can also be identified by its unique criteria.
-
link: string(url)Read Only:true
Deprecated. As of 23.10.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
projectCode: string
Minimum Length:
1
Maximum Length:60
The unique identifier for a project set by the user who created the project. -
projectName: string
Maximum Length:
255
The name of the project. -
projectRiskId(required): integer
(int64)
The unique identifier for the project risk.The project risk object can also be identified by its unique criteria.
-
quantifiedOtherImpacts: array
quantifiedOtherImpacts
Activity risk impacts associated with the activity.
-
riskCode: string
Maximum Length:
60
The unique identifier for the risk. -
updateDate: string(date-time)Read Only:true
Deprecated. As of 23.10.Date when the record was last updated. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
Nested Schema : quantifiedOtherImpacts
Type:
array
Activity risk impacts associated with the activity.
Show Source
-
Array of:
object ApiEntityActivityRiskQuantifiedOtherImpactInput
Title:
ApiEntityActivityRiskQuantifiedOtherImpactInput
Nested Schema : ApiEntityActivityRiskQuantifiedOtherImpactInput
Type:
object
Title:
Show Source
ApiEntityActivityRiskQuantifiedOtherImpactInput
-
activityRiskId: integer
(int64)
The unique identifier of the activity risk to which the risk is assigned.
-
link: string(url)Read Only:true
Deprecated. As of 23.10.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
maximum: number
(double)
The maximum probability that a risk event will occur.
-
minimum: number
(double)
The minimum probability that a risk event will occur.
-
mostLikely: number
(double)
The most likely probability that a risk event will occur.
-
preOrPostResponse(required): string
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. -
quantifiedOtherImpactId: integer
(int64)
The unique identifier for the Activity Risk Impact.
-
scoreType(required): string
Allowed Values:
[ "PROBABILITY", "SCHEDULE", "RELATIVE_SCHEDULE", "COST", "RELATIVE_COST", "USER" ]
The name of the risk score type. -
shape(required): string
Allowed Values:
[ "SINGLE_POINT", "TRIANGLE", "UNIFORM", "BETAPERT" ]
The distribution that best models the three-point estimates for risk probabilities. -
updateDate: string(date-time)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.