Returns the risk matrix specified by the risk matrix code.
get
/primeapi/restapi/v16.2/riskMatrix/code/{code}
Request
Path Parameters
- code
-
Type:
stringRequired:trueCode of Risk Matrix to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityRiskMatrix
Type:
object- impactLevels
-
Type:
integer(int32)The degree to which a risk matrix is impacted. - matrixDescription
-
Type:
stringThe detailed summary of the risk scoring matrix. - matrixName
-
Type:
stringThe name of the risk scoring matrix. - probabilityLevels
-
Type:
integer(int32)A count of the number of levels (thresholds) for the probability scoretype associated with the matrix. This does not count the Negligible level. - riskMatrixId
-
Type:
integer(int64)The ID of the risk matrix. - riskScoreMatrixMethod
-
Type:
stringAllowed 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
-
Type:
arrayscoresUnique Items Required:true - scoreTypes
-
Type:
arrayscoreTypesUnique Items Required:true - tolerances
-
Type:
arraytolerancesUnique Items Required:true - workspace
-
Type:
objectApiEntityWorkspace - workspaceId
-
Type:
integer(int64)The workspace that contains the risk matrix.
Nested Schema : scores
Nested Schema : scoreTypes
Nested Schema : tolerances
Nested Schema : ApiEntityWorkspace
Type:
object- description
-
Type:
stringA summary of the workspace. The description provides more information than short names or titles. It can give background information or establish a purpose for the item. These details help differentiate between items with similar names and are useful in multi-user environments. - parentWorkspace
-
Type:
integer(int64)The workspace hierarchically above the child workspace. Parent workspaces can push down shared data to child workspaces. - securityGuid
-
Type:
stringThe Globally Unique Identifier of the workspace. - sequenceNumber
-
Type:
integer(int32)Determines the order of appearance of workspaces in a list. - workspaceCode
-
Type:
stringThe unique identifier for a workspace. - workspaceId
-
Type:
integer(int64)The unique identifier for the workspace. - workspaceName
-
Type:
stringThe name of the workspace.
Nested Schema : ApiEntityRiskMatrixScore
Type:
object- matrixName
-
Type:
string - probabilityThresholdLevel
-
Type:
integer(int32)INTEGER - riskMatrix
-
Type:
objectApiEntityRiskMatrix - riskMatrixId
-
Type:
integer(int64)KEY - riskMatrixScoreId
-
Type:
integer(int64) - severityEight
-
Type:
integer(int32)INTEGER - severityEightLabel
-
Type:
stringSTRING - severityFive
-
Type:
integer(int32)INTEGER - severityFiveLabel
-
Type:
stringSTRING - severityFour
-
Type:
integer(int32)INTEGER - severityFourLabel
-
Type:
stringSTRING - severityNine
-
Type:
integer(int32)INTEGER - severityNineLabel
-
Type:
stringSTRING - severityOne
-
Type:
integer(int32)INTEGER - severityOneLabel
-
Type:
stringSTRING - severitySeven
-
Type:
integer(int32)INTEGER - severitySevenLabel
-
Type:
stringSTRING - severitySix
-
Type:
integer(int32)INTEGER - severitySixLabel
-
Type:
stringSTRING - severityThree
-
Type:
integer(int32)INTEGER - severityThreeLabel
-
Type:
stringSTRING - severityTwo
-
Type:
integer(int32)INTEGER - severityTwoLabel
-
Type:
stringSTRING
Nested Schema : ApiEntityRiskMatrixScoreType
Type:
object- matrixName
-
Type:
string - riskMatrix
-
Type:
objectApiEntityRiskMatrix - riskMatrixId
-
Type:
integer(int64)The unique identifier for the risk scoring matrix. - riskMatrixScoreTypeId
-
Type:
integer(int64)KEY - riskScoreType
-
Type:
objectApiEntityRiskScoreType - riskScoreTypeId
-
Type:
integer(int64)The unique identifier for the risk matrix score type. - riskScoreTypeName
-
Type:
string
Nested Schema : ApiEntityRiskScoreType
Type:
object- riskScoreThresholds
-
Type:
arrayriskScoreThresholdsUnique Items Required:true - riskScoreTypeId
-
Type:
integer(int64) - riskScoreTypeName
-
Type:
string - scoreType
-
Type:
stringAllowed Values:[ "PROBABILITY", "SCHEDULE", "RELATIVE_SCHEDULE", "COST", "RELATIVE_COST", "USER" ] - workspace
-
Type:
objectApiEntityWorkspace - workspaceId
-
Type:
integer(int64)
Nested Schema : riskScoreThresholds
Nested Schema : ApiEntityRiskScoreThreshold
Type:
object- color
-
Type:
stringThe color that represents the urgency of the risk. - level
-
Type:
integer(int32)The level of the risk threshold. - lower
-
Type:
number(double)The lower limit of the risk score threshold range. - riskScoreThresholdCode
-
Type:
stringThe unique identifier for the risk scoring threshold. - riskScoreThresholdId
-
Type:
integer(int64)The unique ID of the risk score threshold. - riskScoreThresholdName
-
Type:
stringThe name of the risk threshold. - riskScoreType
-
Type:
objectApiEntityRiskScoreType - riskScoreTypeId
-
Type:
integer(int64)The category to which the risk score belongs. - riskScoreTypeName
-
Type:
stringThe name of the risk score type. - stringValue
-
Type:
stringThe value of the string. - upper
-
Type:
number(double)The upper limit of the risk score threshold range.
Nested Schema : ApiEntityRiskMatrixTolerance
Type:
object- color
-
Type:
string - riskMatrix
-
Type:
objectApiEntityRiskMatrix - riskMatrixId
-
Type:
integer(int64)Required:true - riskMatrixName
-
Type:
string - riskMatrixToleranceId
-
Type:
integer(int64) - value
-
Type:
number(double)
404 Response
Risk Matrix does not exist or you do not have access to it.