Batch Update Risk Matrices
put
/api/restapi/riskMatrix/batch
Send a request to this endpoint to update one or more risk matrixes.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityRiskMatrixInput>
Type:
array
Title:
Show Source
List<ApiEntityRiskMatrixInput>
-
Array of:
object ApiEntityRiskMatrixInput
Title:
ApiEntityRiskMatrixInput
This entity represents a RiskMatrix object, a unique RiskMatrix object can be identified by the following combinations of the fields.- riskMatrixId
- matrixName,projectId
- matrixName,projectCode,workspaceCode
Nested Schema : ApiEntityRiskMatrixInput
Type:
object
Title:
ApiEntityRiskMatrixInput
This entity represents a RiskMatrix object, a unique RiskMatrix object can be identified by the following combinations of the fields.
Show Source
- riskMatrixId
- matrixName,projectId
- matrixName,projectCode,workspaceCode
-
matrixDescription: string
Minimum Length:
0
Maximum Length:4000
The detailed summary of the risk scoring matrix. -
matrixName(required): string
Minimum Length:
1
Maximum Length:60
The name of the risk scoring matrix. -
programCode: string
Maximum Length:
60
The unique identifier for a program set by the user who created the program. -
programId: integer
(int64)
The unique identifier for the program.
-
projectCode: string
Minimum Length:
1
Maximum Length:60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.The project object can also be identified by its unique criteria.
-
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]
The push down type of the risk matrix. -
riskMatrixId: integer
(int64)
The system-generated identifier of the risk matrix.
-
riskScoreMatrixMethod: string
Allowed Values:
[ "HIGHEST", "AVERAGE_IMPACTS", "AVERAGE_INDIVIDUAL_SCORES" ]
The type of calculation used to obtain an overall impact value. The valid values are Highest Impact and Average Impact. -
scores: array
scores
List of risk scores associated with the risk matrix.
-
scoreTypes(required): array
scoreTypes
List of risk types associated with the risk matrix.
-
tolerances: array
tolerances
List of risk tolerances associated with the risk matrix.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace. -
workspaceId(required): integer
(int64)
The workspace that contains the risk matrix.
Nested Schema : scores
Type:
array
List of risk scores associated with the risk matrix.
Show Source
-
Array of:
object ApiEntityRiskMatrixScoreInput
Title:
ApiEntityRiskMatrixScoreInput
Nested Schema : scoreTypes
Type:
array
List of risk types associated with the risk matrix.
Show Source
-
Array of:
object ApiEntityRiskMatrixScoreTypeInput
Title:
ApiEntityRiskMatrixScoreTypeInput
Nested Schema : tolerances
Type:
array
List of risk tolerances associated with the risk matrix.
Show Source
-
Array of:
object ApiEntityRiskMatrixToleranceInput
Title:
ApiEntityRiskMatrixToleranceInput
Nested Schema : ApiEntityRiskMatrixScoreInput
Type:
object
Title:
Show Source
ApiEntityRiskMatrixScoreInput
-
action: string
Allowed Values:
[ "DELETE" ]
Provide a value for this field during object update to delete the particular nested entry in the list of scores. A valid riskMatrixScoreId or probabilityThresholdLevel value must be provided to perform deletion. -
probabilityThresholdLevel(required): integer
(int32)
Minimum Value:
1
Maximum Value:9
The level at which threshold probability is measured. -
riskMatrixId(required): integer
(int64)
The unique identifier of a risk scoring matrix.
-
riskMatrixScoreId: integer
(int64)
The unique identifier of a risk matrix score.
-
severityEight: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityEightLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityFive: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityFiveLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityFour: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityFourLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityNine: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityNineLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityOne: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityOneLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severitySeven: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severitySevenLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severitySix: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severitySixLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityThree: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityThreeLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityTwo: integer
(int32)
Minimum Value:
-1000000000
Maximum Value:1000000000
The severity level of schedule and cost impacts in your risk scoring matrix. -
severityTwoLabel: string
Minimum Length:
0
Maximum Length:40
The severity level of schedule and cost impacts in your risk scoring matrix.
Nested Schema : ApiEntityRiskMatrixScoreTypeInput
Type:
object
Title:
Show Source
ApiEntityRiskMatrixScoreTypeInput
-
action: string
Allowed Values:
[ "DELETE" ]
Provide a value for this field during object update to delete the particular nested entry in the list of scoreTypes. A valid riskMatrixScoreTypeId, riskScoreTypeId, or riskScoreTypeName value must be provided to perform deletion. -
riskMatrixId(required): integer
(int64)
The unique identifier for the risk scoring matrix.
-
riskMatrixScoreTypeId: integer
(int64)
The unique identifier of a risk matrix score type.
-
riskScoreTypeId(required): integer
(int64)
The unique identifier for the risk matrix score type.
-
riskScoreTypeName: string
Minimum Length:
0
Maximum Length:255
The name of the risk score type.
Nested Schema : ApiEntityRiskMatrixToleranceInput
Type:
object
Title:
Show Source
ApiEntityRiskMatrixToleranceInput
-
action: string
Allowed Values:
[ "DELETE" ]
Provide value for this field during object update to delete the particular nested entry in the list of tolerances. A valid riskMatrixToleranceId or value must be provided to perform deletion. -
color(required): string
Minimum Length:
1
Maximum Length:6
Color that represents the urgency of the risk. -
riskMatrixId(required): integer
(int64)
The unique identifier for the risk matrix.
-
riskMatrixToleranceId: integer
(int64)
The unique identifier of a matrix tolerance.
-
value(required): number
(double)
A risk matrix tolerance value.
Examples
Back to Top
Response
200 Response
A collection of object IDs mapped to a canonical link of the object with corresponding warning messages if any warnings were generated while processing the update request. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"},"warnings":[{"primaryKeyName":"objectIdFieldName","uniqueFieldName":"object_code_01","uniqueFieldValue":"objectCodeFieldName","primaryKeyValue":1,"warningMessages":["warning_message_1","warning_message_2"]}]}
400 Response
Invalid input.