Update an issue

patch

/fscmRestApi/resources/11.13.18.05/frcIssues/{IssueId}

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
  • Flexfields
    Title: Flexfields
    The issue flexfields resource is used to view or modify information added to issues in flexfields.
  • Title: Description
    The detailed description of the issue.
  • Title: Likelihood of Recurrence
    Maximum Length: 30
    The code indicating the likelihood of the issue recurring: HIGH, LOW, or MEDIUM.
  • Title: Name
    Maximum Length: 150
    The name of the issue.
  • Title: Reason Code
    Maximum Length: 30
    The reason for closing the issue.
  • Title: Remediation Date
    The date when issue was remediated.
  • Title: Remediation Required Indicator
    Maximum Length: 1
    Default Value: false
    The flag to identify if remediation of the issue is required.
  • Title: Severity
    Maximum Length: 30
    One in a set of values indicating the impact of the defect recorded by the issue: DEFICIENCY, DOCUMENTATION_ONLY, MINOR_GAP, or SIGNIFICANT_DEFICIENCY.
  • Title: Type
    Maximum Length: 30
    One in a set of user-defined values that may be selected for the issue.
Nested Schema : Flexfields
Type: array
Title: Flexfields
The issue flexfields resource is used to view or modify information added to issues in flexfields.
Show Source
Nested Schema : frcIssues-additionalInformation-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 : frcIssues-item-response
Type: object
Show Source
Nested Schema : Flexfields
Type: array
Title: Flexfields
The issue flexfields resource is used to view or modify information added to issues in flexfields.
Show Source
Nested Schema : frcIssues-additionalInformation-item-response
Type: object
Show Source
Back to Top

Examples

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

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcIssues/30027

Example Request Body

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

{
    "Name": "Issue Renamed"
}

Example Response Body

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

    "IssueId": 30027,
    "Name": "Issue Renamed",
    "Status": "OPEN",
    "StateCode": "EDIT",
    "Action": "SAVE",
    "ApprovedDate": null,
    "ApprovedBy": null,
    "OpenDate": "2020-03-25",
    "HoldDate": null,
    "Type": null,
    "CreationDate": "2020-03-25T18:04:33.001+00:00",
    "ReviewedDate": null,
    "OriginObjectId": 46086,
    "ValidDate": "2020-03-25",
    "ClosedDate": null,
    "ValidatedDate": null,
    "ValidatedBy": null,
    "StartDate": "2020-03-25",
    "CreatedBy": "ENTERPRISE_RISK_AND_CONTROL_MANAGER",
    "Severity": "DEFICIENCY",
    "StateDate": "2020-03-25T18:05:04.416+00:00",
    "ReasonCode": null,
    "LastUpdateDate": "2021-01-07T05:45:22.059+00:00",
    "RevisionNumber": 4,
    "LikelihoodCode": "HIGH",
    "OriginObjectTypeCode": "GRC_CONTROL",
    "LastUpdatedBy": "FRC_WSUSER",
    "RemediationFlag": true,
    "RemedDate": null,
    "ReviewedBy": null,
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcIssues/30027",
            "name": "frcIssues",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcIssues/30027",
            "name": "frcIssues",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcIssues/30027/child/additionalInformation",
            "name": "additionalInformation",
            "kind": "collection"
        },
        {
            "rel": "enclosure",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/frcIssues/30027/enclosure/DetailedDescription",
            "name": "DetailedDescription",
            "kind": "other"
        }
    ]
}
Back to Top