Update RiskThresholdLevels
put
/riskThresholdLevel
Send a request to this endpoint to update one or more riskThresholdLevel. 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
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
A list of riskThresholdLevel objects.
Root Schema : List<RiskThresholdLevel>
Type:
array
Title:
Show Source
List<RiskThresholdLevel>
-
Array of:
object RiskThresholdLevel
Title:
RiskThresholdLevel
RiskThresholdLevel Entity
Nested Schema : RiskThresholdLevel
Type:
object
Title:
RiskThresholdLevel
RiskThresholdLevel Entity
Show Source
-
Code(required): string
The 10 character code for the threshold level. Must be unique.
-
Color: string
The Hex representation for the color e.g. 0xFFFFFF.
-
CostRange: number
(double)
The cost range of the threshold level.
-
CreateDate: string
(date-time)
The date this threshold level was created.
-
CreateUser: string
The name of the user that created the threshold level.
-
LastUpdateDate: string
(date-time)
The date this threshold level was last updated.
-
LastUpdateUser: string
The name of the user that last updated the threshold level.
-
Level: integer
(int32)
The valid values are between 0 and 9. Defines a level for the Risk Threshold.
-
Name: string
The 40 character name for the threshold level. Does not need to be unique.
-
ObjectId: integer
(int32)
The unique ID generated by the system.
-
ProbabilityRange: number
(double)
The probability range of the threshold level.
-
Range: string
The user defined range.
-
RiskThresholdName: string
The name of the associated risk score type.
-
RiskThresholdObjectId(required): integer
(int32)
The unique ID of the associated Risk Threshold.
-
ScheduleRange: number
(double)
The schedule range of the threshold level.
-
ThresholdType: string
The type of Risk Threshold. Valid types are 'Probability', 'Tolerance', 'Schedule', 'Cost', 'Relative Schedule', 'Relative Cost' and 'User Defined'.
-
ToleranceRange: integer
(int32)
The tolerance range of the threshold level.
Response
Supported Media Types
- application/json
200 Response
OK.
Root Schema : schema
Type:
boolean
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.