Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Merge action using Web API: how to dinamically set UpdateContent

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to perform a Merge action using Web API.

I need to merge two contacts and passing as a parameters the fields that are going to be updated.

Is there a way to do that?

Below an example of what I'd like to perform.

  "Target": {
    "name": "Contact1",
    "contactid": "bb8055c0-aea6-ea11-a812-000d3a55d474",
    "@odata.type": "Microsoft.Dynamics.CRM.contact"
  },
  "Subordinate": {
    "name""Contact2",
    "contactid": "c38055c0-aea6-ea11-a812-000d3a55d474",
    "@odata.type": "Microsoft.Dynamics.CRM.contact"
  },
    "UpdateContent": {
    "firstname":  Contact2.firstname,
    "@odata.type": "Microsoft.Dynamics.CRM.contact"
  },
  "PerformParentingChecks": false
}
Thank you in advance.
Best Regards,
Giulio Indennitate
  • ChrisW6 Profile Picture
    15 on at
    RE: Merge action using Web API: how to dinamically set UpdateContent

    Please can you advise how to use the "UpdateContent" in relation to the unbound action in Power Automate? It seems to expect a string, using the suggestion in the original question does not work.

  • Suggested answer
    a33ik Profile Picture
    84,325 Most Valuable Professional on at
    RE: Merge action using Web API: how to dinamically set UpdateContent

    Hello,

    In order to do it, you should retrieve the "Contact2" record's first name and use it in "UpdateContent".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans