HTTP POST for stream

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    HTTP POST for stream

    Hello.
    It's possible to GET stream from entity using URL example.com/api/v1/Account/%id%/stream, but i don't know why i can't create post in stream using POST. Anyone can help me with that?
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    in browser console you can check the URL

    api/v1/Note

    example of parameters

    {attachmentsIds:[]
    data:{}
    isInternal:false
    parentId:"53203b94286d1"
    parentType:"Account"
    post:"test post"
    type:"Post"
    }
    Last edited by tanya; 12-19-2017, 08:46 AM.

    Comment

    • emillod
      Active Community Member
      • Apr 2017
      • 1405

      #3
      I know how to check id, but i don't know how to add new post to STREAM under some record using API HTTP Any idea?

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        I wrote - POST on api/v1/Note

        Comment

        • emillod
          Active Community Member
          • Apr 2017
          • 1405

          #5
          Yep, You're right! Thanks

          Comment

          • emillod
            Active Community Member
            • Apr 2017
            • 1405

            #6
            One more thing:
            In cases i can create internal messages. I'm creating public site with access to some tasks from espo and user can comment there, but in espo we have also private comments. Is there any chance to separate those comments and allow users to view on public site just public comments?

            Comment

            • tanya
              Senior Member
              • Jun 2014
              • 4308

              #7
              use for this 'isInternal' field, like in the example

              Comment

              Working...