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
Request Body - application/json ()
Root Schema : List<ApiEntityRiskMatrixInput>
Type: array
Title: List<ApiEntityRiskMatrixInput>
Show Source
  • 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.
  • riskMatrixId
  • matrixName,projectId
  • matrixName,projectCode,workspaceCode
Show Source
Nested Schema : scores
Type: array
List of risk scores associated with the risk matrix.
Show Source
Nested Schema : scoreTypes
Type: array
List of risk types associated with the risk matrix.
Show Source
Nested Schema : tolerances
Type: array
List of risk tolerances associated with the risk matrix.
Show Source
Nested Schema : ApiEntityRiskMatrixScoreInput
Type: object
Title: ApiEntityRiskMatrixScoreInput
Show Source
Nested Schema : ApiEntityRiskMatrixScoreTypeInput
Type: object
Title: ApiEntityRiskMatrixScoreTypeInput
Show Source
Nested Schema : riskScoreType
Read Only: true
Deprecated. As of 24.4.
A risk score type.
Match All
Show Source
Nested Schema : ApiEntityRiskScoreType
Type: object
Title: ApiEntityRiskScoreType
Show Source
Nested Schema : riskScoreThresholds
Type: array
An array of the risk threshold values for a selected risk threshold.
Show Source
Nested Schema : ApiEntityRiskScoreThreshold
Type: object
Title: ApiEntityRiskScoreThreshold
Show Source
Nested Schema : ApiEntityRiskMatrixToleranceInput
Type: object
Title: ApiEntityRiskMatrixToleranceInput
Show Source
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.
Back to Top