Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Sristy Arya
    Rest API - Download all file attachments of an...
    Topic posted November 14, 2019 by Sristy AryaBronze Trophy: 5,000+ Points, tagged REST 
    27 Views, 1 Comment
    Title:
    Rest API - Download all file attachments of an Object(Opportunities)
    Summary:
    Rest API - Download all file attachments of an Object(Opportunities)
    Content:

    Hello Everyone,

    I have a requirement wherein I need to download all file attachments of Opportunities (Zip) using Rest API . I used the below to do the same but it downloads only 1 attachment in the Zip and not all and there are around 35 attachments in each Opportunity and there are 717 Opportunities for which Attachments are to be downloaded.

    https://sitename/services/rest/connect/v1.3/opportunities/opp_id/fileAttachments?download&compress=tgz

    Can anybody help in this ?

     

    Thanks

    Sristy

    Version:
    19B

    Comment