on 2022 Aug 30 11:30 AM
Dear all,
I using the ODATA Patch ContactOriginData API to make the IsObsolete to True,
After that I go to Job and create a task Delete Flagged Contacts as following setting
However, the result is no ids to found.
I also try Contacts: Delete Flagged Contacts
It is same result,
I am sure the IsObsolete is turned to True, becuase if I query the contact via ODATA, the response will turn to
<code>/IWBEP/CM_MGW_RT/020</code>
<message xml:lang="en">Resource not found for segment 'ContactOriginData'</message>
This mean the Contact already Obsolete and cannot be access.
Request clarification before answering.
Hi Leo,
"obsolete" does not mean "flagged for deletion".
You first have to execute the Job "Flag Contacts for Deletion" and there use your "obsolete" flag in the settings (like you did above).
After that you can execute the "Delete Flagged Contacts" Job.
P.S.: In the app "Browse Contact Data" you can see how many of your contacts are "obsolete" and how many are "flagged for deletion" and see that this does not mean the same.
BR Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But how do I have to delete contacts programmatically ?like using PHP to call ODATA service
I cannot find any method to delete the contact via API
https://api.sap.com/api/API_MKT_CONTACT_SRV_0004/resource
Because I have to delete amount of thousand contacts monthly.
leocheunghbs,
I think your way is the correct one.
You can set your Contacts to obsolete like you already did.
Then you can schedule the two application jobs (e.g. once per day) to flag the contacts and delete them.
After you set them to obsolete, they are no longer visible for the Business Users in segmentation or in the contacts app. So I would say it would be okay to run the mentioned Application Jobs every night for example.
Or what is the use case that you have to delete them immediately?
BR Tobias
Hi leocheunghbs,
Select the checkbox "Contact/IDs with Interaction" and retry.
br, Kunal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Tobias said, I was expecting you have already Flagged Contacts for Deletion.
Please do so and then it will work.
Thank you Bansal & Schneider
Yes, as you said, IsObsolete, doesn't mean flag as Deletion, there is another flag named - [Is Flagged for Deletion], once I understand the concept and finally make it work.
The most critical setting is don't run [Contacts: Flag Contacts for Deletion] in Test mode, this doesn't really flag the contacts, just preview the result.
And I have to check with [Origin IDs with Dep. IDs too], eventhought I don't know what this mean 🙂
Otherwise, it will throw error - [ID(s) not flagged for deletion as dependent IDs are not to be included]
Thanks you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.