Announcement

Collapse
No announcement yet.

HTTP POST for stream

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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


    • #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


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

        Comment


        • #5
          Yep, You're right! Thanks

          Comment


          • #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


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

              Comment

              Working...
              X