Batch Update Activity Risks

put

/api/restapi/activityRisk/batch

Send a request to this endpoint to update one or more activity risks. 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

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityActivityRiskInput>
Type: array
Title: List<ApiEntityActivityRiskInput>
Show Source
  • ApiEntityActivityRiskInput
    Title: ApiEntityActivityRiskInput
    This entity represents a ActivityRisk object, a unique ActivityRisk object can be identified by the following combinations of the fields.
    • activityRiskId
    • activityId,projectRiskId
    • activityCode,projectCode,workspaceCode,projectRiskId
    • activityId,projectCode,workspaceCode,riskCode
    • activityCode,projectCode,workspaceCode,riskCode
    • activityCode,projectId,projectRiskId
    • activityId,projectId,riskCode
    • activityCode,projectId,riskCode
Nested Schema : ApiEntityActivityRiskInput
Type: object
Title: ApiEntityActivityRiskInput
This entity represents a ActivityRisk object, a unique ActivityRisk object can be identified by the following combinations of the fields.
  • activityRiskId
  • activityId,projectRiskId
  • activityCode,projectCode,workspaceCode,projectRiskId
  • activityId,projectCode,workspaceCode,riskCode
  • activityCode,projectCode,workspaceCode,riskCode
  • activityCode,projectId,projectRiskId
  • activityId,projectId,riskCode
  • activityCode,projectId,riskCode
Show Source
Nested Schema : quantifiedOtherImpacts
Type: array
Activity risk impacts associated with the activity.
Show Source
Nested Schema : ApiEntityActivityRiskQuantifiedOtherImpactInput
Type: object
Title: ApiEntityActivityRiskQuantifiedOtherImpactInput
Show Source
Examples

Back to Top

Response

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}

400 Response

Invalid input for the Activity Risk service.
Back to Top