Loading ...

Getting the Content Id for the attachments in a Case | Communifire Support

Home » Spaces » Communifire Support » forum » Communifire API & Developers » Getting the Content Id for the attachments in a Case
Communifire Support

Leave Space :

Are you sure you want to leave this space?

Join this space:

Join this space?

Add a new tab

Add a hyperlink to the space navigation. You can link to internal or external web pages. Enter the Tab name and Tab URL. Upload or choose an icon. Then click Save.

The name that will appear in the space navigation.
The url can point to an internal or external web page.
Login to follow, share, and participate in this space.
Don’t have a support community login?Create your account now
Posted in: Communifire API & Developers

Getting the Content Id for the attachments in a Case

Subscribe to RSS
  • cbunts

    Hi.

    We are trying to get the attachments of a case through the Get Attachments REST API.  We are not able to find the ContentID parameter from either the Get Case or Get Cases List.  How do we get the ContentID to complete the request string?

    Thank you  

  • Foster

    Hey Chris,

    When you load content (like an article for example) on your site, the url will include the content ID.

    For example:

    /spaces/304/my-space/articles/news/8234/test

    I hope this helps,
    Foster

  • cbunts

    Hi Foster,

    These attachments have already been uploaded (days or weeks earlier).  We need to extract those through the API and download.  We wont have the ContentID at the time of the API call.   

     

  • gskamau
    Answered

    Hey Chris,

    Call Get Case or Get Case List and take the IssueID, then use it as ContentID in Get Attachments, with EntityType set to 19 for case.

    Grace

  • cbunts

    thanks, we try it out and let you know

Page 1 of 1 (5 items)