Old Attachment V3 API Deprecation

Old Attachment V3 API Deprecation

Dear users,
We would like to inform you all that we have revamped the attachment V3 API (api/v3/attachments) for better security and performance. The older version will be deprecated from version 12000 and the support will be completely removed by April 2022. We recommend you to switch to the upgraded attachment V3 API as early as possible.

What's changed?

 

Add attachment

api/v3/{entity_name}/upload (POST Http method) - This API can be used to upload a file. The ID from the resulting response data can be sent as an input for the entity's add/edit operation for associating the uploaded file as an attachment.


api/v3/{entity_name}/{id}/upload (PUT Http method) - This API can be used to upload as well as associate the uploaded file as attachment to the respective entity.

 

 

Get all attachments

api/v3/{entity_name}/{id}/attachments - This API can be used to get all attachments.

 

Delete an attachment

api/v3/{entity_name}/{id}/attachments/{attachment_id} - This API can be used to delete a file attachment.

 

Download attachment

api/v3/{entity_name}/{id}/attachments/{attachment_id}/download - This API can be used to download a single attachment.

 
To learn more click here.‚Äč