Batch Update Risk Score Types

put

/api/restapi/riskScoreType/batch

Send a request to this endpoint to update one or more risk score types.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityRiskScoreTypeInput>
Type: array
Title: List<ApiEntityRiskScoreTypeInput>
Show Source
  • ApiEntityRiskScoreTypeInput
    Title: ApiEntityRiskScoreTypeInput
    This entity represents a RiskScoreType object, a unique RiskScoreType object can be identified by the following combinations of the fields.
    • riskScoreTypeId
    • riskScoreTypeName,projectId
    • riskScoreTypeName,projectCode,workspaceCode
    • riskScoreTypeName,workspaceId
    • riskScoreTypeName,workspaceCode
Nested Schema : ApiEntityRiskScoreTypeInput
Type: object
Title: ApiEntityRiskScoreTypeInput
This entity represents a RiskScoreType object, a unique RiskScoreType object can be identified by the following combinations of the fields.
  • riskScoreTypeId
  • riskScoreTypeName,projectId
  • riskScoreTypeName,projectCode,workspaceCode
  • riskScoreTypeName,workspaceId
  • riskScoreTypeName,workspaceCode
Show Source
Nested Schema : riskScoreThresholds
Type: array
An array of the risk threshold values for a selected risk threshold.
Show Source
Nested Schema : ApiEntityRiskScoreThresholdInput
Type: object
Title: ApiEntityRiskScoreThresholdInput
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