2 Replies Latest reply on Jul 10, 2017 4:02 PM by rashedtalukder

    How can I set externalID while posting comment using REST API?

    parveens

      Hi,

       

      I tried to set externalID while creating comment using REST API  but  It is not there in response. I tried this :

       

      curl -X POST \
      
        http://XXXX/api/core/v3/contents/1111/comments \
      @
        -H 'authorization: Bearer xxxxxxxxxxxxxxxxxxxx' \
      
        -H 'cache-control: no-cache' \
      
        -H 'content-type: application/json' \
      
        -d '{ "type": "comment", "content": { "type": "text/html", "text":"test comment!"},
      
      "externalID":3
      
      }'

       

       

       

      Any way to set externalID?