Attachment in custom function

Attachment in custom function

In Zoho CRM, I have an attachment in potential data. But I can't get the attachment in a custom function. 

That custom function is used to push the data into Salesforce using API.

Please suggest how can I get the attachment and send to Salesforce using Zoho CRM custom functions.

Thanks.