Update Multiple Advanced Controls

One of your high-value customers has hired a new business process owner. This corresponds to a descriptive flexfield text field for each advanced control. Your user wants to update all advanced controls that have the US perspective with this new business process owner.

Example URL

Here's an example of the resource URL:

POST

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 RlJDX1dTVVNFUjpXZWxjb21lMQ==' \
--data-raw '{
    "parts": [
        {
            "id": "part1",
            "path": "/advancedControls/10005/child/additionalInformations/10005",
            "operation": "update",
            "payload": {
              "Priority": "High",
              "BusinessProcessOwner":"Susan Smith",
              "AssignedDate":"2020-02-02"
            }
        },
        {
            "id": "part2",
            "path": "/advancedControls/10005/child/additionalInformations/10010",
            "operation": "update",
            "payload": {
              "Priority": "High",
              "BusinessProcessOwner":"John Miller",
              "AssignedDate":"2020-03-02"
            }
        }
      ]
    }'

Example Response

Here's an example of the response body in JSON format:

{ 
    "Id": 10005,
    "Priority": "High",
    "BusinessProcessOwner": "Susan Smith",
    "AssignedDate": "2020-02-02",
    "__FLEX_Context": null,
    "__FLEX_Context_DisplayValue": null,
    "links": [   
        {
        ...
        } 
    ],
    "Id": 10010,
    "Priority": "High",
    "BusinessProcessOwner": "John Miller",
    "AssignedDate": "2020-03-02",
    "__FLEX_Context": null,
    "__FLEX_Context_DisplayValue": null,
    "links": [   
        {
        ...
        } 
    ]
}