Update the Asset Units From 1 to 2 for an Asset

You want to change the number of units of an asset, of asset identifier 132167, in the BI CORP book from 1 to 2.

Example URL

Here's an example of the resource URL:

POST
fscmRestApi/resources/11.13.18.05/erpintegrations

cURL Command

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

Example Request

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

{
 "OperationName": "processTransaction-adjustUnitsOfAsset",
 "ParameterList": "{P_ASSET_ID: 132167,P_BOOK_TYPE_CODE : BI CORP, P_DISTRIBUTION_ID_TBL: '168849', P_TRX_ATTRIBUTE1:1, P_TRX_ATTRIBUTE2:2, P_UNITS_ASSIGNED_TBL: '10', P_ASSIGNED_TO_TBL: '100010024200338',P_TRANSACTION_UNITS_TBL: '5', P_EXPENSE_CCID_TBL : '125288', P_LOCATION_CCID_TBL: '300100051150159'}"
}

Example Response

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

{
    "OperationName": "processTransaction-adjustUnitsOfAsset",
    "DocumentId": null,
    "DocumentContent": null,
    "FileName": null,
    "ContentType": null,
    "FileType": null,
    "DocumentAccount": null,
    "Comments": null,
    "ProcessName": null,
    "LoadRequestId": null,
    "JobPackageName": null,
    "JobDefName": null,
    "ReqstId": null,
    "RequestStatus": null,
    "JobName": null,
    "ParameterList": "{\"X_MSG_COUNT\":\"0\",\"X_TRANSACTION_HEADER_ID\":\"209901\",\"X_RETURN_STATUS\":\"S\",\"X_EVENT_ID\":\"2169392\"}",
    "NotificationCode": null,
    "CallbackURL": null,
    "JobOptions": null,
    "StatusCode": null,
    "ESSParameters": null,
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-adjustUnitsOfAsset",
            "name": "erpintegrations",
            "kind": "item"
        },
        {
            "rel": "canonical",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-adjustUnitsOfAsset",
            "name": "erpintegrations",
            "kind": "item"
        }
    ]
}