Trying to figure out how to DELETE Attachments from a Service Call ticket using Web API Java code.
Example9.Java ably shows how to *Add* a new attachment, but I can't figure out how to *delete* an already attached one.
Our situation is that we have inbound email turned on, which converts incoming emails into Service Call tickets, and converts embedded images and email attachments into HPSD Attachments.
This works great, except that we end up with our corporate logo (which is a default component of everybody's Email Signature file) being saved as an extra attachment to each Service Call that gets created.
I'm interested in using a Java program to rip through the attachments for a given Service Call ID number, and Delete any attachments that are the exact Size of our embedded logo file.
Would be grateful for ideas, and/or Sample Code would be ideal!