You expect a deleted record to be returned in a Compound Employee API response payload with action code 'DELETE', but it's returned with action code 'CHANGE'.
SAP SuccessFactors HXM Suite
- Employee Central
- Compound Employee API
The action codes are applied to effective-dated segments (like personal_information) as well as to non-effective-dated entities (such as national_id_card). In case of effective-dated segments, the consumer should be aware that the action code doesn’t always resemble the action that has been performed on the UI.
Reference: Action Codes
If the effective-dated record that is deleted is not the first one, then it's expected that the action code in the Compound Employee response is 'CHANGE' instead of 'DELETE'. Please refer to 'Variant 2: Time Slice After First Time Slice Is Deleted' of the following page:
If the deleted record is a 'job_information' or 'compensation_information' record, the deletion of the time slice will be indicated in the 'job_event_information' or 'compensation_event_information' segment of the Compound Employee API response.
event, job_information, compensation_information, effective, dated, effective-dated, deletion, delete, code, wrong, incorrect, returned, payload, response, retrieved, showing, shows , KBA , LOD-SF-INT-CE , Compound Employee API , LOD-SF-INT , Integrations , Problem