API - Cloud file attachment

  • 14 November 2019
  • 0 replies
  • 27 views

Hi,  I am working on to create a freshdesk ticket within salesforce. The problem I am facing is in attaching the files using API. As per documentation attachments[] only accepts absolute file path (eg. /usr/path/test.txt). However, if i am creating ticket from salesforce, i need to give file URL like https://my.salesforce.com/filepath/test.txt. How can i pass file URL in json API. 


Thanks



This topic has been closed for comments