Announcement

Collapse
No announcement yet.

Stream note API post

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

  • Stream note API post

    Hello, I would like to ask if its possible to define "createdById" in API stream note post manualy?

    The thing is that every stream note created through API has API user listed in "createdById" and "createdByName"

    We tried this payload attributes but 'createdById' => $espoUserId doesnt work. $espoUserId has correct data (ticket user ID)

    $stream_data = array(
    'type' => 'Post',
    'parentId' => $ticket_id,
    'parentType' => 'Case',
    'post' => $streamComment,
    'createdById' => $espoUserId
    );

    Thanks

  • #2
    Not possible by design. You need to create your custom API action.

    Comment

    Working...
    X