Returns the Risk Threshold for the specified Risk Threshold code.
get
/primeapi/restapi/v16.2/riskScoreType/code/{code}
Request
Path Parameters
- code
-
Type:
stringRequired:trueRisk Threshold code of the Risk Threshold to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root 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 : 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 : 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.
404 Response
Risk Threshold does not exist or you do not have access to it.