CORE_ATTACHMENT_MANAGE CORE Endpoint
  /rpc/core/?method=CORE_ATTACHMENT_MANAGE  
  Manage attachment details.  Note:  You cannot add attachments through this method, instead use ATTACH_FILE  
  Object: 322. Click here for more information.  
  Notes:
- You cannot move an attachment to a S3 Bucket via this method, instead use CORE_ATTACHMENT_MOVE
- DataReturn is not available for this method
 
  PARAMETERS TYPE NOTES
  DataReturn Text A comma delimited list of advanced search fields to be returned after a successful save
  Id Numeric Somewhat confusingly, there are two distinct ids for attachments, make sure you pass as per 'Attachment' returned from CORE_ATTACHMENT_SEARCH
  Remove Numeric 1
       
  FileName Text (300) Mandatory
  Notes Text (2000)  
  Object Numeric

If you are using Relationship Manage Security, and are updating or deleting an attachment, this option is mandatory. Pass the object that the attachment is linked to

  PublicType Numeric 1=As Per Normal Object Rules [default],2=Public,3=Not Public.  To be able to choose 2 you need the business profile item 460 set to Y
  ShowAsDownload Text (1) Y/N
  Status Numeric As per SETUP_ATTACHMENT_STATUS_SEARCH
  Title Text (250) Mandatory
  Type Numeric As per SETUP_ATTACHMENT_TYPE_SEARCH
  URL Text (200) Must be blank if SourceType = 1 (File). Cannot be blank if SourceType = 2 (URL)
  RETURN  
  notes ADDED, UPDATED, REMOVED
Help!