Create a risk
post
/fscmRestApi/resources/11.13.18.05/frcRisks
Request
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
additionalInformation: array
Flexfields
Title:
FlexfieldsThe flexfields resource is used to view or modify information added to risk definitions in flexfields. -
comments: array
Comments
Title:
CommentsThe comments resource is used to view or modify comments written about risks. -
DetailedDescription: string
(byte)
Title:
DescriptionThe description of the risk. This is a CLOB attribute. -
Name(required): string
Title:
NameMaximum Length:150The name of the risk. -
perspectives: array
Perspectives
Title:
PerspectivesThe perspectives resource is used to view perspective values assigned to risks or to modify those assignments. - relatedControls: array Related Controls
- relatedProcesses: array Related Processes
-
RiskAnalysisModelId: integer
(int64)
Title:
Analysis ModelThe unique identifier of the analysis model for the risk. -
RiskContextModelId: integer
(int64)
Title:
Context ModelThe unique identifier of the context model for the risk. -
Status: string
Title:
StatusMaximum Length:30Default Value:ACTIVEThe status of the risk: ACTIVE or INACTIVE. -
TotalRevisions: integer
(int32)
The number of revisions that have been performed on the risk.
-
Type: string
Title:
TypeMaximum Length:30One in a set of user-defined values that may be selected for the risk.
Nested Schema : Flexfields
Type:
arrayTitle:
FlexfieldsThe flexfields resource is used to view or modify information added to risk definitions in flexfields.
Show Source
Nested Schema : Comments
Type:
arrayTitle:
CommentsThe comments resource is used to view or modify comments written about risks.
Show Source
Nested Schema : Perspectives
Type:
arrayTitle:
PerspectivesThe perspectives resource is used to view perspective values assigned to risks or to modify those assignments.
Show Source
Nested Schema : frcRisks-additionalInformation-item-post-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150The context of the flexfields associated to the risk. -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
RiskId: integer
(int64)
Title:
Record IDThe unique identifier of the descriptive flexfield for the risk.
Nested Schema : schema
Type:
Show Source
object-
Id: integer
The unique identifier of the comment on the risk.
-
UserComment: string
Title:
CommentMaximum Length:2000The comment made on the risk.
Nested Schema : frcRisks-perspectives-item-post-request
Type:
Show Source
object-
PerspItemId: integer
(int64)
The unique identifier of the perspective value assigned to the risk.
-
RiskId: integer
(int64)
The unique identifier of the risk.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : frcRisks-item-response
Type:
Show Source
object-
additionalInformation: array
Flexfields
Title:
FlexfieldsThe flexfields resource is used to view or modify information added to risk definitions in flexfields. -
ApprovedBy: string
Title:
Approved ByRead Only:trueMaximum Length:64The user who approved the risk. -
ApprovedDate: string
(date-time)
Title:
Approved DateRead Only:trueThe date and time the risk was approved. -
comments: array
Comments
Title:
CommentsThe comments resource is used to view or modify comments written about risks. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the risk. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time the risk was created. -
DetailedDescription: string
(byte)
Title:
DescriptionThe description of the risk. This is a CLOB attribute. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time the risk was most recently updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the risk. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Name: string
Title:
NameMaximum Length:150The name of the risk. -
perspectives: array
Perspectives
Title:
PerspectivesThe perspectives resource is used to view perspective values assigned to risks or to modify those assignments. - relatedControls: array Related Controls
- relatedProcesses: array Related Processes
-
ReviewedBy: string
Title:
Reviewed ByRead Only:trueMaximum Length:64The user who reviewed the risk. -
ReviewedDate: string
(date-time)
Title:
Reviewed DateRead Only:trueThe date and time when the risk was reviewed. -
ReviewStartDate: string
(date-time)
Read Only:
trueThe date and time when the risk review was started. -
RevisionDate: string
(date-time)
Title:
Revision DateRead Only:trueThe date and time when the risk was revised. -
RiskAnalysisModelId: integer
(int64)
Title:
Analysis ModelThe unique identifier of the analysis model for the risk. -
RiskContextModelId: integer
(int64)
Title:
Context ModelThe unique identifier of the context model for the risk. -
RiskId: integer
(int64)
Title:
Record IDRead Only:trueThe unique identifier of the risk. -
StateCode: string
Title:
StateRead Only:trueMaximum Length:30Default Value:NEWThe state of the risk. -
Status: string
Title:
StatusMaximum Length:30Default Value:ACTIVEThe status of the risk: ACTIVE or INACTIVE. -
TotalRevisions: integer
(int32)
The number of revisions that have been performed on the risk.
-
Type: string
Title:
TypeMaximum Length:30One in a set of user-defined values that may be selected for the risk.
Nested Schema : Flexfields
Type:
arrayTitle:
FlexfieldsThe flexfields resource is used to view or modify information added to risk definitions in flexfields.
Show Source
Nested Schema : Comments
Type:
arrayTitle:
CommentsThe comments resource is used to view or modify comments written about risks.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Perspectives
Type:
arrayTitle:
PerspectivesThe perspectives resource is used to view perspective values assigned to risks or to modify those assignments.
Show Source
Nested Schema : frcRisks-additionalInformation-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150The context of the flexfields associated to the risk. -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
RiskId: integer
(int64)
Title:
Record IDThe unique identifier of the descriptive flexfield for the risk.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : frcRisks-comments-item-response
Type:
Show Source
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the comment on the risk. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the comment was created. -
Id: integer
The unique identifier of the comment on the risk.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
UserComment: string
Title:
CommentMaximum Length:2000The comment made on the risk.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : frcRisks-perspectives-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Name: string
Read Only:
trueMaximum Length:150The name of a perspective item assigned to the risk. -
PerspItemId: integer
(int64)
The unique identifier of the perspective value assigned to the risk.
-
RiskId: integer
(int64)
The unique identifier of the risk.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- additionalInformation
-
Parameters:
- RiskId:
$request.path.RiskId
The flexfields resource is used to view or modify information added to risk definitions in flexfields. - RiskId:
- comments
-
Parameters:
- RiskId:
$request.path.RiskId
The comments resource is used to view or modify comments written about risks. - RiskId:
- perspectives
-
Parameters:
- RiskId:
$request.path.RiskId
The perspectives resource is used to view perspective values assigned to risks or to modify those assignments. - RiskId:
- relatedControls
-
Parameters:
- RiskId:
$request.path.RiskId
The related controls resource is used to view records of controls that mitigate the risk. - RiskId:
- relatedProcesses
-
Parameters:
- RiskId:
$request.path.RiskId
The related processes resource is used to view records of processes impacted by the risk. - RiskId: