How To Delete Items in Bulk
—> How To Delete Items in Bulk?
Steps to delete items in bulk:
- Create a deletion group manually from Oracle UI
2. Run a REST service to populate the deletion group with items in bulk upto 20000 (Perform this task manually from UI)
Run the deleteGroups REST service using the Add items to the delete group operation to add items to a deletion group.
Sample Payload:
{
"deleteGroupName": "Item_Deletion_Group",
"itemsInfo":
[
{
"itemNumber": "Item1",
"orgCode": "IMO"
},
{
"itemNumber": "Item2",
"orgCode": "IMO"
}
]
} {
"deleteGroupName": "Item_Deletion_Group",
"itemsInfo":
[
{
"itemNumber": "Item3",
"orgCode": "IMO"
},
{
"itemNumber": "Item4",
"orgCode": "IMO"
},
{
"itemNumber": "Item5",
"orgCode": "IMO"
}
]
}
Note—> continue to add item details as per sample payload and a max to 20000 and then execute the payload to add the items to deletion group and from UI screen proceed next steps to delete the items.