Batch Update Program Risks

put

/api/restapi/programRisk/batch

Send a request to this endpoint to update one or more program risks.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityProgramRiskInput>
Type: array
Title: List<ApiEntityProgramRiskInput>
Show Source
  • ApiEntityProgramRiskInput
    Title: ApiEntityProgramRiskInput
    This entity represents a ProgramRisk object, a unique ProgramRisk object can be identified by the following combinations of the fields.
    • programRiskId
    • riskCode,programId
    • riskCode,programCode,workspaceCode
Nested Schema : ApiEntityProgramRiskInput
Type: object
Title: ApiEntityProgramRiskInput
This entity represents a ProgramRisk object, a unique ProgramRisk object can be identified by the following combinations of the fields.
  • programRiskId
  • riskCode,programId
  • riskCode,programCode,workspaceCode
Show Source
Nested Schema : codeValuesProgramRisk
Type: array
The list of code values for a program risk. This entity can only be used to assign codeValues or create codeValues on the fly.
Show Source
  • ApiEntityCodeValueProgramRiskInput
    Title: ApiEntityCodeValueProgramRiskInput
    This entity represents a CodeValueProgramRisk object, a unique CodeValueProgramRisk object can be identified by the following combinations of the fields.
    • codeValueProgramRiskId
    • codeValueId
    • codeTypeId,codeValueCode
    • codeTypeCode,codeValueCode
    • codeTypeCode,parentId,codeValueCode
    • codeValueCode,codeTypeId,parentId
    • codeTypeCode,codeValueCode,projectCode
    • codeTypeCode,codeValueCode,projectId
    • codeTypeCode,codeValueCode,parentId,projectCode
    • codeTypeCode,codeValueCode,parentId,projectId
Nested Schema : configuredFields
Type: array
The list of configured fields for a program risk.
Show Source
  • ApiEntityProgramRiskConfiguredFieldValueInput
    Title: ApiEntityProgramRiskConfiguredFieldValueInput
    This entity represents a ProgramRiskConfiguredFieldValue object, a unique ProgramRiskConfiguredFieldValue object can be identified by the following combinations of the fields.
    • programRiskConfiguredFieldValueId
    • columnDefinitionId
    • columnName
    • columnLabel
Nested Schema : programRiskFinancial
The financial fields associated with a program risk.
Match All
Show Source
Nested Schema : programRiskImpacts
Type: array
The impact of the program risk.
Show Source
Nested Schema : programRiskQuantifiedCostImpact
The impact this program risk will have on cost data.
Match All
Show Source
Nested Schema : programRiskQuantifiedOtherImpacts
Type: array
The impact this program risk will have on other data.
Show Source
Nested Schema : ApiEntityCodeValueProgramRiskInput
Type: object
Title: ApiEntityCodeValueProgramRiskInput
This entity represents a CodeValueProgramRisk object, a unique CodeValueProgramRisk object can be identified by the following combinations of the fields.
  • codeValueProgramRiskId
  • codeValueId
  • codeTypeId,codeValueCode
  • codeTypeCode,codeValueCode
  • codeTypeCode,parentId,codeValueCode
  • codeValueCode,codeTypeId,parentId
  • codeTypeCode,codeValueCode,projectCode
  • codeTypeCode,codeValueCode,projectId
  • codeTypeCode,codeValueCode,parentId,projectCode
  • codeTypeCode,codeValueCode,parentId,projectId
Show Source
Nested Schema : ApiEntityProgramRiskConfiguredFieldValueInput
Type: object
Title: ApiEntityProgramRiskConfiguredFieldValueInput
This entity represents a ProgramRiskConfiguredFieldValue object, a unique ProgramRiskConfiguredFieldValue object can be identified by the following combinations of the fields.
  • programRiskConfiguredFieldValueId
  • columnDefinitionId
  • columnName
  • columnLabel
Show Source
  • Allowed Values: [ "DELETE" ]
    Provide value for this field during object update to delete the assigned configured field value.
  • Unique identifier of the column. This value should not be provided in create operation request data, however, it is required for update requests.
  • Minimum Length: 1
    Maximum Length: 100
    The user-specified UDF column label.
  • Minimum Length: 1
    Maximum Length: 100
    The user-specified UDF column name.
  • Read Only: true
    Deprecated. As of 23.10.
    This holds values for Cost type configured fields in the base currency conversion. Input should be provided in numberValue field, in currency of record.
  • Read Only: true
    Deprecated. As of 23.10.
    This holds values for Cost type configured fields in the workspace1 currency conversion.
  • Read Only: true
    Deprecated. As of 23.10.
    This holds values for Cost type configured fields in the workspace2 currency conversion.
  • Read Only: true
    Deprecated. As of 23.10.
    This holds values for Cost type configured fields in the workspace3 currency conversion.
  • This holds values for Date type configured fields.
  • Read Only: true
    Maximum Length: 4000
    Deprecated. As of 23.10.
    Provides the error message for why the formula calculation resulted in an error.
  • Read Only: true
    Deprecated. As of 23.10.
    Determines if formula calculation hit an error calculating a value for this field.
  • This holds values for Number, Integer and Cost type configured fields. Input for the cost configured field should be provided in the currency of record. For example project level currency in case of Activity, base currency for Company, workspace currency for Funds and record level currency for Project Actuals etc. configured fields.
  • The unique identifier for the Program Risk Configured Field.
  • The system-generated identifier of the program risk.
  • Maximum Length: 4000
    This holds values for Boolean, List and Text type configured fields.
  • Read Only: true
    Deprecated. As of 23.10.
    Date when the record was last updated.
Nested Schema : ApiEntityProgramRiskFinancialInput
Type: object
Title: ApiEntityProgramRiskFinancialInput
Show Source
Nested Schema : ApiEntityProgramRiskImpactInput
Type: object
Title: ApiEntityProgramRiskImpactInput
Show Source
Nested Schema : ApiEntityProgramRiskQuantifiedCostImpactInput
Type: object
Title: ApiEntityProgramRiskQuantifiedCostImpactInput
Show Source
Nested Schema : ApiEntityProgramRiskQuantifiedOtherImpactInput
Type: object
Title: ApiEntityProgramRiskQuantifiedOtherImpactInput
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