Get Multiple Advanced Controls
One of your high-value customers has hired a new business process owner. They want to retrieve all advanced controls that have the US perspective with this new business process owner.
Example URL
Here's an example of the resource URL:
GET
fscmRestApi/resources/11.13.18.05/advancedControls/
Example Request
Here's an example of the request body in JSON format:
curl --location --request POST 'https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05' \ --header 'Content-Type: application/vnd.oracle.adf.batch+json' \ --header 'REST-Framework-Version: 4' \ --header 'Authorization: Basic ZnJjX3dzdXNlcjpXZWxjb21lMQ==' \ --data-raw '{ "parts": [ { "id": "part1", "path": "/advancedControls/10008", "operation": "get" }, { "id": "part2", "path": "/advancedControls/10010", "operation": "get" } ] }
Example Response
Here's an example of the response body in JSON format:
{ "parts": [ { "id": "part1", "path": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10008", "operation": "get", "payload": { "Id": 10008, "Name": "Automation Transaction AAC WS Control - do no change", "Description": "Identify payables invoices in the last six months where the supplier, invoice date, and invoice amount are the same ...... edited", "EnforcementType": 1, "StatusId": 165, "StateCode": "APPROVED", "Type": 174, "LastRunDate": null, "LastUpdateDate": "2021-07-01T22:20:35.522+00:00", "LatestJobId": 0, "CreatedBy": "FRC_WSUSER", "CreationDate": "2021-07-01T22:13:33.001+00:00", "Status": "ACTIVE", "LastUpdatedBy": "FRC_WSUSER", "ScheduledBy": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10008", "name": "advancedControls", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10008", "name": "advancedControls", "kind": "item" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10008/child/additionalInformations", "name": "additionalInformations", "kind": "collection" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10008/child/comments", "name": "comments", "kind": "collection" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10008/child/incidents", "name": "incidents", "kind": "collection" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10008/child/perspectives", "name": "perspectives", "kind": "collection" } ] } }, { "id": "part2", "path": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10010", "operation": "get", "payload": { "Id": 10010, "Name": "Automation Access AAC WS Control - do no change", "Description": "AAC BAT Model", "EnforcementType": 1, "StatusId": 31, "StateCode": "APPROVED", "Type": 173, "LastRunDate": "2021-07-01T22:25:10+00:00", "LastUpdateDate": "2021-07-01T22:31:48.240+00:00", "LatestJobId": 1002, "CreatedBy": "FRC_WSUSER", "CreationDate": "2021-07-01T22:15:21.002+00:00", "Status": "ACTIVE", "LastUpdatedBy": "FRC_WSUSER", "ScheduledBy": "FRC_WSUSER", "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10010", "name": "advancedControls", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10010", "name": "advancedControls", "kind": "item" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10010/child/additionalInformations", "name": "additionalInformations", "kind": "collection" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10010/child/comments", "name": "comments", "kind": "collection" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10010/child/incidents", "name": "incidents", "kind": "collection" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControls/10010/child/perspectives", "name": "perspectives", "kind": "collection" } ] } } ] }