Update a control

patch

/fscmRestApi/resources/11.13.18.05/frcControls/{ControlId}

Request

Path Parameters
Header Parameters
  • 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".
  • 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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Flexfields
Type: array
Title: Flexfields
The flexfields resource is used to view or modify information added to control definitions in flexfields.
Show Source
Nested Schema : Assertions
Type: array
Title: Assertions
The assertions resource is used to view or modify types of assertion. An assertion is a statement of presumed facts about a business process regulated by a control.
Show Source
Nested Schema : Comments
Type: array
Title: Comments
The comments resource is used to view or modify comments written about controls.
Show Source
Nested Schema : Perspectives
Type: array
Title: Perspectives
The perspectives resource is used to view perspective values assigned to controls or to modify those assignments.
Show Source
Nested Schema : Related Risks
Type: array
Title: Related Risks
The related risks resource is used to view records of risks that are related to the control.
Show Source
Nested Schema : Test Plans
Type: array
Title: Test Plans
The test plans resource is used to view or modify procedures carried out during control assessments to determine whether controls are effective.
Show Source
Nested Schema : frcControls-additionalInformation-item-patch-request
Type: object
Show Source
Nested Schema : frcControls-assertions-item-patch-request
Type: object
Show Source
Nested Schema : frcControls-comments-item-patch-request
Type: object
Show Source
Nested Schema : frcControls-perspectives-item-patch-request
Type: object
Show Source
Nested Schema : frcControls-relatedRisks-item-patch-request
Type: object
Show Source
Nested Schema : frcControls-testPlans-item-patch-request
Type: object
Show Source
Nested Schema : Test Plan Activity Type
Type: array
Title: Test Plan Activity Type
The test plan activity type resource is used to correlate each test plan with an assessment activity. The plan is completed only during an assessment of that type.
Show Source
Nested Schema : Steps
Type: array
Title: Steps
The steps resource is used to view or modify individual steps within test plans.
Show Source
Nested Schema : frcControls-testPlans-planActivity-item-patch-request
Type: object
Show Source
Nested Schema : frcControls-testPlans-steps-item-patch-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : frcControls-item-response
Type: object
Show Source
Nested Schema : Flexfields
Type: array
Title: Flexfields
The flexfields resource is used to view or modify information added to control definitions in flexfields.
Show Source
Nested Schema : Assertions
Type: array
Title: Assertions
The assertions resource is used to view or modify types of assertion. An assertion is a statement of presumed facts about a business process regulated by a control.
Show Source
Nested Schema : Comments
Type: array
Title: Comments
The comments resource is used to view or modify comments written about controls.
Show Source
Nested Schema : Perspectives
Type: array
Title: Perspectives
The perspectives resource is used to view perspective values assigned to controls or to modify those assignments.
Show Source
Nested Schema : Related Risks
Type: array
Title: Related Risks
The related risks resource is used to view records of risks that are related to the control.
Show Source
Nested Schema : Test Plans
Type: array
Title: Test Plans
The test plans resource is used to view or modify procedures carried out during control assessments to determine whether controls are effective.
Show Source
Nested Schema : frcControls-additionalInformation-item-response
Type: object
Show Source
Nested Schema : frcControls-assertions-item-response
Type: object
Show Source
Nested Schema : frcControls-comments-item-response
Type: object
Show Source
Nested Schema : frcControls-perspectives-item-response
Type: object
Show Source
Nested Schema : frcControls-relatedRisks-item-response
Type: object
Show Source
Nested Schema : frcControls-testPlans-item-response
Type: object
Show Source
Nested Schema : Test Plan Activity Type
Type: array
Title: Test Plan Activity Type
The test plan activity type resource is used to correlate each test plan with an assessment activity. The plan is completed only during an assessment of that type.
Show Source
Nested Schema : Steps
Type: array
Title: Steps
The steps resource is used to view or modify individual steps within test plans.
Show Source
Nested Schema : frcControls-testPlans-planActivity-item-response
Type: object
Show Source
Nested Schema : frcControls-testPlans-steps-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a control by submitting a PATCH request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/json" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038

Example Request Payload

The following example shows the contents of the request body in JSON format:

{

"Name": "Auto Risk Control1 patch"

}

Example Response Body

The following example shows the contents of the response body in JSON format:

{
    "Name": "Auto Risk Control1 patch",
    "StateCode": "EDIT",
    "Status": "ACTIVE",
    "ControlMethod": "MANUAL",
    "ControlFrequency": "DAILY",
    "AuditTestingFlag": "Y",
    "AssessmentFlag": "Y",
    "EnforcementType": "CORRECTIVE",
    "ControlAudit": "N",
    "ControlCost": null,
    "ControlId": 10038,
    "ControlType": null,
    "CreationDate": "2019-04-19T06:46:48+00:00",
    "LastUpdateDate": "2019-07-15T06:24:34.035+00:00",
    "LastUpdatedBy": "frc_wsuser",
    "ReviewedBy": "FRC_ADMIN",
    "ApprovedBy": "FRC_ADMIN",
    "ApprovedDate": "2019-04-19T06:50:58.511+00:00",
    "ReviewStartDate": null,
    "ReviewedDate": "2019-04-19T06:49:36.118+00:00",
    "RevisionDate": "2019-07-15T06:24:53.211+00:00",
    "StartDate": "2019-04-19T06:46:48+00:00",
    "TotalRevisions": 3,
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038",
            "name": "frcControls",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038",
            "name": "frcControls",
            "kind": "item"
        },
        {
            "rel": "lov",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/lov/FRCLookupsAM_YesOrNo",
            "name": "FRCLookupsAM_YesOrNo",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/lov/FRCLookupsAM_ControlEnforcementType",
            "name": "FRCLookupsAM_ControlEnforcementType",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/lov/FRCLookupsAM_ControlMethod",
            "name": "FRCLookupsAM_ControlMethod",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/lov/FRCLookupsAM_ControlState",
            "name": "FRCLookupsAM_ControlState",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/lov/FRCLookupsAM_ControlType",
            "name": "FRCLookupsAM_ControlType",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/lov/FRCLookupsAM_BusinessEntityStatus",
            "name": "FRCLookupsAM_BusinessEntityStatus",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/lov/FRCLookupsAM_ControlFrequency",
            "name": "FRCLookupsAM_ControlFrequency",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/child/additionalInformation",
            "name": "additionalInformation",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/child/assertions",
            "name": "assertions",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/child/comments",
            "name": "comments",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/child/perspectives",
            "name": "perspectives",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/child/relatedRisks",
            "name": "relatedRisks",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/child/testPlans",
            "name": "testPlans",
            "kind": "collection"
        },
        {
            "rel": "enclosure",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcControls/10038/enclosure/DetailedDescription",
            "name": "DetailedDescription",
            "kind": "other"
        }
    ]
}
Back to Top