Adjust an Asset to Delete an Existing Source Line

You want to delete an existing source line for an asset. The asset identifier is 165994.

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-adjustAsset",
  "ParameterList": "{P_ASSET_ID:165994,P_BOOK_TYPE_CODE: OPS CORP,P_TRANSACTION_TYPE: INVOICE DELETION, P_SOURCE_LINE_ID_TBL='544398'}"
}

Example Response

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

{
    "OperationName": "processTransaction-adjustAsset",
    "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_TRANSACTION_HEADER_ID\":\"209900\",\"X_RETURN_STATUS\":\"S\"}",
    "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-adjustAsset",
            "name": "erpintegrations",
            "kind": "item"
        },
        {
            "rel": "canonical",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-adjustAsset",
            "name": "erpintegrations",
            "kind": "item"
        }
    ]
}