Update an issue

patch

/fscmRestApi/resources/11.13.18.05/qualityIssues/{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
Nested Schema : Affected Objects
Type: array
Title: Affected Objects
The Affected Objects resource manages an item, inspection, work order operation, or some other object in manufacturing or inspection that caused a quality issue or that a quality issue affects.
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The Attachments resource manages details about the quality issue or document and how the application resolved the quality issue.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The Relationships resource manages the objects related to a quality issue. The objects reference a quality issue, an item, or other objects.
Show Source
Nested Schema : Security Grantees
Type: array
Title: Security Grantees
The Security Grantees resource manages the security grantees who have access to the quality issue.
Show Source
Nested Schema : Workflow Approvers
Type: array
Title: Workflow Approvers
The Workflow Approvers resource manages the workflow approvers.
Show Source
Nested Schema : qualityIssues-AffectedObjects-item-patch-request
Type: object
Show Source
Nested Schema : qualityIssues-Attachments-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : qualityIssues-Security-item-patch-request
Type: object
Show Source
Nested Schema : qualityIssues-WorkflowApprovers-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 : qualityIssues-item-response
Type: object
Show Source
Nested Schema : Affected Objects
Type: array
Title: Affected Objects
The Affected Objects resource manages an item, inspection, work order operation, or some other object in manufacturing or inspection that caused a quality issue or that a quality issue affects.
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The Attachments resource manages details about the quality issue or document and how the application resolved the quality issue.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The Relationships resource manages the objects related to a quality issue. The objects reference a quality issue, an item, or other objects.
Show Source
Nested Schema : Security Grantees
Type: array
Title: Security Grantees
The Security Grantees resource manages the security grantees who have access to the quality issue.
Show Source
Nested Schema : Workflow Approvers
Type: array
Title: Workflow Approvers
The Workflow Approvers resource manages the workflow approvers.
Show Source
Nested Schema : qualityIssues-AffectedObjects-item-response
Type: object
Show Source
Nested Schema : qualityIssues-Attachments-item-response
Type: object
Show Source
Nested Schema : qualityIssues-Relationships-item-response
Type: object
Show Source
Nested Schema : qualityIssues-Security-item-response
Type: object
Show Source
Nested Schema : qualityIssues-WorkflowApprovers-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to update an issue.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/qualityIssues/IssueId"

Example Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"DispositionComment": "Test Data Update"
}

Example Response Body

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

{
	"IssueId": 300100255139880,
	"IssueNumber": "ISSUE172",
	"Name": "Issues XYZ",
	"QualityTypeId": 1404,
	"QualityTypeCode": "ORA_ENQ_QI_PR_ITEM",
	"QualityTypeName": "Problem Report - Item",
	"Severity": "ORA_HIGH",
	"SeverityName": "High",
	"Downtime": 20,
	"Source": "ORA_QUALITY",
	"SourceName": "Quality",
	"OrganizationId": 204,
	"OrganizationCode": "V1",
	"OrganizationName": "Vision Operations",
	"CustomerId": null,
	"SupplierId": null,
	"Disposition": null,
	"DispositionName": null,
	"DispositionComment": "Test Data Update",
	"CreationDate": "2020-09-17T09:15:47+00:00",
	"LastUpdateDate": "2020-09-17T09:23:32.052+00:00",
	"ExpectedResolutionDate": null,
	"WorkflowStatusId": 999,
	"WorkflowStatusCode": "ORA_ENQ_DEFAULT_STATUS",
	"WorkflowStatusName": "Default",
	"WorkflowTemplateId": 2011,
	"WorkflowTemplateCode": "ORA_ISSUE_WORKFLOW_WITH_PREAPPROVAL_AND_APPROVAL",
	"WorkflowTemplateName": "Issue Workflow with Preapproval and Approval",
	"CreatedBy": "QUALITY_ANALYST",
	"AssignedTo": null,
	"ReportedDate": null,
	"ReportedBy": null,
	"LastUpdatedBy": "QUALITY_ANALYST",
	"IssueEO_QI_DCL_QA_Id_c": null,
	"IssueEO_QI_DCL_QA_c": null,
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/qualityIssues/300100255139880",
		"name": "qualityIssues",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/qualityIssues/300100255139880",
		"name": "qualityIssues",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/qualityIssues/300100255139880/child/AffectedObjects",
		"name": "AffectedObjects",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/qualityIssues/300100255139880/child/Attachments",
		"name": "Attachments",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/qualityIssues/300100255139880/child/Relationships",
		"name": "Relationships",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/qualityIssues/300100255139880/child/WorkflowApprovers",
		"name": "WorkflowApprovers",
		"kind": "collection"
	},
	{
		"rel": "enclosure",
		"href": "https://servername/fscmRestApi/resources/version/qualityIssues/300100255139880/enclosure/Description",
		"name": "Description",
		"kind": "other"
	}
	]
}
Back to Top