UPDATE Engagement API

Hi All,

Can someone please help me with below API

I am trying to change the assigned owner for TASK (ACTIVITY). But the assigned owner is showing invalid owner.

PATCH /engagements/v1/engagements/:engagementId

BODY -{ “engagement”: { “id”: 14251938878, “ownerId”: 12510804 } }

The API output is without errors. But I am not seeing any change.

Please advise!

Hi @ASawant0,

Thank you for reaching out to the Community!

I wanted to tag in a few experts: @DanielSanchez, @tominal, @dannio, @MichaelC do you maybe have any tips or a possible solution for @ASawant0? Thank you!

Mia

Hi @DanielSanchez, @RBThomas, @LPM, @MichaelC

Please advise!

Thanks,

Ankita

@ASawant0 , try removing the id from the body.

Like this

{
 "engagement": {
 "ownerId": 12510804
 }
}

You are already expressing the ID of the engagement in the uri so that does not need to be repeated in the body. I just tested and it works for me.

Hi Dennis,

Thank you for the solution

Looks like something changed. Now I see task assigned to userids. But it should show emails attached to it. Please advise!