Reclassify an Asset from One Asset Category to Another

You want to reclassify an asset, asset identifier 133167, in the BI CORP asset book from its current category BUILDING-FREEHOLD to LAND-OCCUPIED. The category identifier for LAND-OCCUPIED is 29.

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-reclassAsset",
    "ParameterList": "{P_ASSET_ID: 133167, P_BOOK_TYPE_CODE: BI CORP, P_COPY_CAT_DESC_FLAG:YES, P_REDEFAULT_FLAG:YES, P_NEW_CATEGORY_ID:29}"
}

Example Response

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

{
    "OperationName": "processTransaction-reclassAsset",
    "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": "{\"P_TRANSACTION_TYPE_CODE\":\"ADJUSTMENT\",\"X_MSG_COUNT\":\"0\",\"P_EVENT_ID\":\"2167959\",\"P_TRANSACTION_SUBTYPE\":\"EXPENSED\",\"P_TRANSACTION_DATE_ENTERED\":\"2010-02-28\",\"P_ASSET_ID\":\"133167\",\"P_DEPRN_OVERRIDE_FLAG\":\"N\",\"P_NEW_CATEGORY_ID\":\"29\",\"P_CAT_ATTRIBUTE_CATEGORY_CODE\":\"COMPUTER-PC\",\"P_CALLING_INTERFACE\":\"ERPINTEGRATION\",\"X_RETURN_STATUS\":\"S\",\"P_TRANSACTION_HEADER_ID\":\"205139\",\"P_BOOK_TYPE_CODE\":\"BI CORP\"}",
    "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-reclassAsset",
            "name": "erpintegrations",
            "kind": "item"
        },
        {
            "rel": "canonical",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-reclassAsset",
            "name": "erpintegrations",
            "kind": "item"
        }
    ]
}