2 Replies Latest reply on Feb 9, 2015 10:24 PM by usharani

    How to reply to a discussion using REST API ? Please help !!

    usharani

      I followed example mentioned in following doc, but no success. I get following error though my discussion exists and that a valid ID. 

       

      Jive REST Rest API v3.9 → Comment service

       

      My request :

       

       

      curl -u user:user -H "Content-Type: application/json" --data '{ "type": "comment", "content": { "type": "text/html", "text":"<p>Your ideas for our budget ae great!</p>"}, "subject": "Insightful blog post", "parent": "http://jivedemo-abc.jiveon.com/api/core/v3/contents/2138"}' https://jivedemo-abc.jiveon.com/api/core/v3/comments

       

      Response error 

       

      {

        "error" : {

          "code" : "contentMissing",

          "message" : "Missing content ID 2138",

          "status" : 404

        }