Update all incidents

patch

/fscmRestApi/resources/11.13.18.05/advancedControls/{Id}/child/incidents/{Id4}

Request

Path Parameters
  • The unique identifier of the advanced control.
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
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 advanced control incident flexfields resource is used to view or modify information added to incidents in flexfields.
Show Source
Nested Schema : Comments
Type: array
Title: Comments
The comments resource is used to view or modify comments written about advanced control incidents.
Show Source
Nested Schema : Perspectives
Type: array
Title: Perspectives
The perspectives resource is used to view root node perspective values assigned to advanced control incidents or to modify those assignments.
Show Source
Nested Schema : advancedControls-incidents-additionalInformations-item-patch-request
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 150
    The context value that prompts a context-sensitive segment to appear in a flexfield associated to the advanced control.
  • Title: Context Segment
    The segment that appears in a flexfield associated to the advanced control only in a defined context.
  • Maximum Length: 255
    The unique identifier of a flexfield associated to the advanced control.
Nested Schema : advancedControls-incidents-comments-item-patch-request
Type: object
Show Source
  • Default Value: N
    The flag indicating that the advanced-control comment was delegated.
  • Title: Comment
    Maximum Length: 2000
    The text of the advanced-control comment.
Nested Schema : advancedControls-incidents-perspectives-item-patch-request
Type: object
Show Source
  • The unique identifier of the advanced control incident the perspective value is assigned to.
  • Maximum Length: 150
    The name of the perspective value assigned to the advanced control.
  • Perspective Items
    Title: Perspective Items
    The perspectives resource is used to view root node perspective values assigned to advanced control incidents or to modify those assignments.
  • The unique identifier of the perspective hierarchy.
Nested Schema : Perspective Items
Type: array
Title: Perspective Items
The perspectives resource is used to view root node perspective values assigned to advanced control incidents or to modify those assignments.
Show Source
Nested Schema : advancedControls-incidents-perspectives-perspectives-item-patch-request
Type: object
Show Source
  • The unique identifier of the advanced control incident the perspective value is assigned to.
  • Maximum Length: 150
    The name of the perspective value assigned to the advanced control.
  • The unique identifier of the perspective value assigned to the advanced control.
  • The unique identifier of the perspective hierarchy.
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 : advancedControls-incidents-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 256
    The terminal access point in the path that is the focus of an access incident. This does not apply to incidents returned by transaction controls.
  • Read Only: true
    Maximum Length: 256
    Whether the focal access point of an access incident is a privilege or a role. This does not apply to transaction incidents.
  • Flexfields
    Title: Flexfields
    The advanced control incident flexfields resource is used to view or modify information added to incidents in flexfields.
  • Read Only: true
    Maximum Length: 64
    The user who closed the advanced-control incident.
  • Read Only: true
    The date and time when the advanced-control incident was closed.
  • Comments
    Title: Comments
    The comments resource is used to view or modify comments written about advanced control incidents.
  • Read Only: true
    Maximum Length: 256
    The name of an access point that is in conflict with the access point identified by the AccessPointName attribute.
  • Read Only: true
    Maximum Length: 4000
    For an access incident, access paths that conflict with the access path that is the focus of the incident. This does not apply to transaction incidents.
  • Read Only: true
    The unique identifier of the advanced control that generated the incident.
  • The name of the advanced control that generated the incident.
  • Read Only: true
    The type of advanced control that generated the incident, access or transaction.
  • Read Only: true
    Maximum Length: 64
    The user who created the advanced-control incident.
  • Read Only: true
    The date and time when the advanced-control incident was created.
  • Read Only: true
    Maximum Length: 256
    The data source in which the incident occurred.
  • Read Only: true
    Maximum Length: 4000
    The entitlement, if any, to which the focal access point of an access incident belongs. This does not apply to transaction incidents.
  • Read Only: true
    The unique identifier of the global user.
  • Read Only: true
    Maximum Length: 256
    The unique global user name.
  • Read Only: true
    Maximum Length: 4000
    For a transaction incident, Grouping Value reports the value that grouped result records have in common. For an access incident, Grouping Value is not used.
  • Read Only: true
    Maximum Length: 256
    The unique identifier of the advanced-control incident.
  • Read Only: true
    Maximum Length: 4000
    For a transaction incident, Incident Information is the value returned for the first attribute selected as a result attribute for the control. For an access incident, Incident Information is the path by which a user reaches an access point that is the focus of the incident.
  • Read Only: true
    Maximum Length: 4000
    The unique codes that correlate to the incident information path value. These codes represent the job, duty, and privilege codes.
  • Read Only: true
    The version of the incident.
  • Read Only: true
    Maximum Length: 1
    Whether the incident is an "intra-role" conflict, which is defined as involving access points available within a single role.
  • Read Only: true
    The date and time when the advanced-control incident was updated.
  • Read Only: true
    Maximum Length: 64
    The user who updated the advanced-control incident most recently.
  • Links
  • Perspectives
    Title: Perspectives
    The perspectives resource is used to view root node perspective values assigned to advanced control incidents or to modify those assignments.
  • Read Only: true
    The priority of the advanced-control incident.
  • Read Only: true
    Maximum Length: 4000
    For a transaction incident, Group is a descriptor that indicates what grouped return values have in common. For example, a filter that uses the Equals condition groups records in which values are equal, and Group reports the business object and attribute whose values are equal. For an access incident, Group is one or more access paths that conflict with the Incident Information path.
  • Maximum Length: 255
    The investigator assigned to the advanced-control incident.
  • The date and time the advanced-control incident was revised.
  • Read Only: true
    Maximum Length: 4000
    The parent role in the path that is the focus of an access incident. This does not apply to incidents returned by transaction controls.
  • Read Only: true
    Maximum Length: 30
    The state of the advanced-control incident. Values include In Investigation, Approved, and Closed.
  • Maximum Length: 30
    The status of the advanced-control incident. Values include Assigned, Accepted, Remediate, and Resolved.
  • Read Only: true
    Maximum Length: 256
    The first name of the user involved in the incident result.
  • Read Only: true
    Maximum Length: 256
    The last name of the user involved in the incident result.
Nested Schema : Flexfields
Type: array
Title: Flexfields
The advanced control incident flexfields resource is used to view or modify information added to incidents in flexfields.
Show Source
Nested Schema : Comments
Type: array
Title: Comments
The comments resource is used to view or modify comments written about advanced control incidents.
Show Source
Nested Schema : Perspectives
Type: array
Title: Perspectives
The perspectives resource is used to view root node perspective values assigned to advanced control incidents or to modify those assignments.
Show Source
Nested Schema : advancedControls-incidents-additionalInformations-item-response
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 150
    The context value that prompts a context-sensitive segment to appear in a flexfield associated to the advanced control.
  • Title: Context Segment
    The segment that appears in a flexfield associated to the advanced control only in a defined context.
  • Maximum Length: 255
    The unique identifier of a flexfield associated to the advanced control.
  • Links
Nested Schema : advancedControls-incidents-comments-item-response
Type: object
Show Source
Nested Schema : advancedControls-incidents-perspectives-item-response
Type: object
Show Source
  • The unique identifier of the advanced control incident the perspective value is assigned to.
  • Links
  • Maximum Length: 150
    The name of the perspective value assigned to the advanced control.
  • Perspectives
    Title: Perspectives
    The perspectives resource is used to view perspective item values in a flat structure assigned to the root node of advanced controls or to modify those assignments.
  • The unique identifier of the perspective hierarchy.
Nested Schema : Perspectives
Type: array
Title: Perspectives
The perspectives resource is used to view perspective item values in a flat structure assigned to the root node of advanced controls or to modify those assignments.
Show Source
Nested Schema : advancedControls-incidents-perspectives-perspectives-item-response
Type: object
Show Source
  • The unique identifier of the advanced control incident the perspective value is assigned to.
  • Links
  • Maximum Length: 150
    The name of the perspective value assigned to the advanced control.
  • The unique identifier of the perspective value assigned to the advanced control.
  • The unique identifier of the perspective hierarchy.
Back to Top

Examples

Example 1

The following example shows how to update an incident 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/advancedControls/10011/child/incidents/10011%3A18

Example Request Payload

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

{  
	"Status": "ACCEPTED"
}

Example Response Body

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

{  
	"ResultGroup": null,
	"GroupingValue": null,
	"IncidentInformation": "Payables Invoice.Amount: 50.0",
	"AccessPointName": null,
	"ClosedBy": null,
	"ClosedDate": null,
	"ConflictingAccPointName": null,
	"AccessPointType": null,
	"CreatedBy": "APPLICATION_CONTROL_MANAGER",
	"CreationDate": "2019-12-19T10:17:13.989-08:00",
	"DataSource": "Oracle Cloud",
	"Entitlement": null,
	"GlobalUserId": 0,
	"GlobalUserName": null,
	"UserFirstName": null,
	"ControlId": 10011,
	"Id": "10011:18",
	"IncidentVersion": 13,
	"IsIntraRoleViol": null,
	"UserLastName": null,
	"LastUpdateDate": "2020-02-03T11:22:32-08:00",
	"LastUpdatedBy": "APPLICATION_CONTROL_MANAGER",
	"Priority": 3,
	"RevisionDate": "2019-12-19T10:17:18-08:00",
	"Role": null,
	"ConflictingRoles": null,
	"State": "IN_INVESTIGATION",
	"Status": "ACCEPTED",
	"ControlType": 174,
	"ControlName": "Payable invoice: amount between 50 and 70",
	"ResultInvestigator": "All Eligible Users",
	"links": [    
		{      
			"rel": "self",
			"href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10011/child/incidents/10011%3A18",
			"name": "incidents",
			"kind": "item"    
		},
		...
	] 
}

Example 2

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

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

Example Request Body

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

{
"parts": [
	{
	"id": "part1",
	"path": "/advancedControls/10011/child/incidents/10011:18",
	"operation": "update",
	"payload": 
		{
		"Status": "RESOLVED"
		}
	},
	{
	"id": "part2",
	"path": "/advancedControls/10011/child/incidents/10011:101",
	"operation": "update",
	"payload": 
		{
		"Status": "ASSIGNED"
		}
	}
  ]
}

Example Response Body

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

{
	"parts": [
	{
		"id": "part1",
		"path": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10011/child/incidents/10011:18",
		"operation": "update",
		"payload": 
		{
			"ResultGroup": null,
			"GroupingValue": null,
			"IncidentInformation": "Payables Invoice.Amount: 50.0",
			"AccessPointName": null,
			"ClosedBy": null,
			"ClosedDate": null,
			"ConflictingAccPointName": null,
			"AccessPointType": null,
			"CreatedBy": "APPLICATION_CONTROL_MANAGER",
			"CreationDate": "2019-12-19T10:17:13.989-08:00",
			"DataSource": "Oracle Cloud",
			"Entitlement": null,
			"GlobalUserId": 0,
			"GlobalUserName": null,
			"UserFirstName": null,
			"ControlId": 10011,
			"Id": "10011:18",
			"IncidentVersion": 23,
			"IsIntraRoleViol": null,
			"UserLastName": null,
			"LastUpdateDate": "2020-03-03T12:21:00-08:00",
			"LastUpdatedBy": "APPLICATION_CONTROL_MANAGER",
			"Priority": 3,
			"RevisionDate": "2019-12-19T10:17:18-08:00",
			"Role": null,
			"ControlType": 174,
			"HasEdit": "Y",
			"ControlName": "JUNIT_TEST_CONTROL_DO_NOT_TOUCH",
			"ResultInvestigator": "All Eligible Users",
			"links": [...]
		}
	},
	{
		"id": "part2",
		"path": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10011/child/incidents/10011:101",
		"operation": "update",
		"payload": 
		{
			"ResultGroup": null,
			"GroupingValue": null,
			"IncidentInformation": "Payables Invoice.Amount: 56.0",
			"AccessPointName": null,
			"ClosedBy": null,
			"ClosedDate": null,
			"ConflictingAccPointName": null,
			"AccessPointType": null,
			"CreatedBy": "APPLICATION_CONTROL_MANAGER",
			"CreationDate": "2019-12-19T10:17:13.990-08:00",
			"DataSource": "Oracle Cloud",
			"Entitlement": null,
			"GlobalUserId": 0,
			"GlobalUserName": null,
			"UserFirstName": null,
			"ControlId": 10011,
			"Id": "10011:101",
			"IncidentVersion": 5,
			"IsIntraRoleViol": null,
			"UserLastName": null,
			"LastUpdateDate": "2020-03-03T12:26:22-08:00",
			"LastUpdatedBy": "APPLICATION_CONTROL_MANAGER",
			"Priority": 1,
			"RevisionDate": "2019-12-19T10:17:18-08:00",
			"Role": null,
			"ConflictingRoles": null,
			"State": "IN_INVESTIGATION",
			"Status": "ASSIGNED",
			"ControlType": 174,
			"HasEdit": "Y",
			"ControlName": "JUNIT_TEST_CONTROL_DO_NOT_TOUCH",
			"ResultInvestigator": "All Eligible Users",
			"links": [...]
        }
    }
  ]
}
Back to Top