Update a Mass Addition Ready for Posting
You want to update multiple attributes for a given mass addition and set the posting status and queue to POST. The mass addition identifier is 300100180277508
.
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-updateMassAddition",
"ParameterList": "{ P_MASS_ADDITION_ID : 300100180277508, P_ASSET_NUMBER: BSSET10, P_TAG_NUMBER: DELL11, P_DESCRIPTION : COMPUTER DESKTOP ,P_CATEGORY_ID : 21,P_MANUFACTURER_NAME : Dell, P_SERIAL_NUMBER : B39048,P_MODEL_NUMBER : Optiplex, P_BOOK_TYPE_CODE : OPS CORP , P_DATE_PLACED_IN_SERVICE: '2007-03-31',P_COST : 15000,P_PAYABLES_UNITS :1, P_UNITS: 1, P_PAYABLES_CCID : 13528, P_FEEDER_SYSTEM_NAME: ORACLE SPREADSHEET,P_REVIEWER_COMMENTS: MGT REQUEST,P_INVOICE_NUMBER: D2938,P_PO_VENDOR_ID : 192382,P_PO_NUMBER: D2938, P_POSTING_STATUS: POST, P_QUEUE_NAME: POST,P_INVOICE_DATE: '2007-03-31', P_PROPERTY_1245_1250_CODE: 1245,P_IN_USE_FLAG: YES, P_OWNED_LEASED: OWNED,P_NEW_USED : NEW }"
}
Example Response
Here's an example of the response body in JSON format:
{
"OperationName": "processTransaction-updateMassAddition",
"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_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-updateMassAddition",
"name": "erpintegrations",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-updateMassAddition",
"name": "erpintegrations",
"kind": "item"
}
]
}