Business Use Case:
What is SIF Delete API?
- Records in the ACTIVE state are set to the DELETED state.
- Records in the PENDING state are hard deleted.
- Records in the DELETED state are retained in the DELETED state.
Sample API Request:
RecordKey recordKey = new RecordKey();
ArrayList recordKeys = new ArrayList();
DeleteResponse response = (DeleteResponse) sipClient.process(request);
RecordResultobjects which contains all necessary information such as the record key with ROWID_XREF, PKEY_SRC_OBJECT, ROWID_SYSTEM etc which can be retrieved as below.
//iterate through response records
RecordResult result = (RecordResult) iter.next();
System.out.println("Record: " + result.getRecordKey());
System.out.println("Message: " + result.getMessage());