CORE_ATTACHMENT_MANAGE CORE Endpoint
  /rpc/core/?method=CORE_ATTACHMENT_MANAGE  
  Manage attachment details.  Note:  You can only add SourceType = URL (2) attachments through this method.  For file attachments, 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
       
  AllSpaces Text (1) Y / N [default]. Used by SuperUsers in conjunction with ProcessingStatus
  FileName Text (300) Cannot be blank
  Notes Text (2000)  
  Object Numeric Mandatory when adding. When modifying, 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.
  ObjectContext Numeric Mandatory when adding. Cannot be modified
  ProcessingStatus Numeric For SuperUser platform management. 1 = New Upload [default], 2 = Checked, 3 = To Be Verified, 4 = Processed, 5 = Flagged
  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
  SourceType Numeric Mandatory when adding. Cannot be modified. When adding, the value must be URL (2)
  Status Numeric As per SETUP_ATTACHMENT_STATUS_SEARCH
  Title Text (250) Cannot be blank
  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  
  Attachment  
  AttachmentLink  
  Notes ADDED, UPDATED, REMOVED
Help!