Do we have a API in salesforce which is used for submitting attachment as part of composite request or some other way so that data and attachment can be uploaded together?
Many thanks
1 answer
Hi Chijie,
Attachment is nothing but another object. You can use Standard salesforce REST or SOAP API to insert data in Attachment object. The only difference is one of the column in attachment will take BLOB. To link it to your data there is parentId field on attachment object. Let me know if you need more help.