Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API for attachments

edited May 21, 2020 5:43AM in Sales 10 comments

Summary

REST to fetch all kinds of Attachment child rest collections

Content

We have so many different object with attachment child collections. Like Below - 

/crmRestApi/resources/11.13.18.05/accounts/{PartyNumber}/child/Attachment
/crmRestApi/resources/11.13.18.05/activities/{ActivityNumber}/child/Attachments
/crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/attachments
/crmRestApi/resources/11.13.18.05/products/{InventoryItemId}/child/ProductAttachments
/crmRestApi/resources/11.13.18.05/resources/{PartyNumber}/child/PictureAttachment
/crmRestApi/resources/11.13.18.05/serviceRequests/{SrNumber}/child/Attachment
 
So is it possible to fetch and all view all these attachments with a single REST API Rather than having to use each REST API with each unique IDs in like being used above.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!