Hi,
I am getting error as “Invalid operation BATCH for the specified resource” in postman while trying to send batch request by following the oracle documentation. Can someone suggest on how to send the batch request to the api.
Providing the Content-Type as ‘application/vnd.oracle.adf.batch+json’
Oracle link: https://docs.oracle.com/en/cloud/saas/supply-chain-and-manufacturing/24a/fasrp/op-inventorystagedtransactions-post.html
Request payload:
{"parts":[
{
"id":"part1",
"path":"/inventoryStagedTransactions",
"operation":"create",
"payload":{
"TransactionTypeName": "Subinventory Transfer",
"AccountAliasCombination": "Inventory Adjustment",
"ItemNumber": "2290",
"SubinventoryCode": "7000",
"LocatorId": null,
"TransactionQuantity": 1,
"TransactionUnitOfMeasure": "EA",
"TransferSubinventory": "2000",
"TransferLocator": null,
"TransactionReference": "Kanban Number99",
"ChartOfAccountsId": null,
"TransactionDate": "2024-02-12T11:19:00",
"SourceCode": "KANBAN",
"SourceHeaderId": 1,
"SourceLineId": "1",
"UseCurrentCostFlag": "true",
"TransactionMode": "1"
}
},
{
"id":"part2",
"path":"/inventoryStagedTransactions",
"operation":"create",
"payload":{
"TransactionTypeName": "Subinventory Transfer",
"AccountAliasCombination": "Inventory Adjustment",
"ItemNumber": "2290-19",
"SubinventoryCode": "7000",
"LocatorId": null,
"TransactionQuantity": 1,
"TransactionUnitOfMeasure": "EA",
"TransferSubinventory": "2000",
"TransferLocator": null,
"TransactionReference": "Kanban Number99",
"ChartOfAccountsId": null,
"TransactionDate": "2024-02-12T11:19:00",
"SourceCode": "KANBAN",
"SourceHeaderId": 1,
"SourceLineId": "2",
"UseCurrentCostFlag": "true",
"TransactionMode": "1"
}
}
]
}