Forum Discussion

MLachapelle's avatar
11 years ago

RESTAPI - Getting messages, tags, attachments, body in one request.

Hi,

 

Is there a call to get a thread with all the messages(topic/linear/solution) contained and for each message all information(body/tags/attachments)?

Thanks

4 Replies

  • Hi MLachapelle ,

     

    You can use the below call to get details of a individual thread.

          /restapi/vc/threads/id/144042

    You can use this call to get details of individual message , such as body , view count etc using this call

         /restapi/vc/messages/id/143992

     

    Hope that helps.

     

    Thanks,

    Sam

  • MLachapelle's avatar
    MLachapelle
    Helper
    11 years ago

    Hi Sam,

     

    Thanks for your answer.

     

    This is the call that I am doing right now and I need to do another one to get the tags related to this message and another call to get the attachments. Is there a call or an argument to add to the previous call to get all these informations at the same time?

     

    Thanks,

    Max

  • VarunLuthra's avatar
    VarunLuthra
    Advisor
    11 years ago
    Hi MLachapelle, I don't think if there is any single call to get all the details, you will have to make separate REST calls to get the appropriate data as samudhraa mentioned.