Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Create a company with the contact detail

Posted on by Microsoft Employee

I'm trying to create a contact along with its company detail. There is a node for company in the contact API but the detail is not reflected in the UI. Whereas when I created a contact with its company details, it can be fetched from the accounts API. 

How can I create a contact with its company detail using the contact API?

2330.A2.PNG

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Create a company with the contact detail

    Hi Hiba Ali,

    I don't have much experties on the Client Web API but believes this link may help you-

    msdn.microsoft.com/.../gg328090.aspx

    Hope this helps.

  • sardar ahmed Profile Picture
    sardar ahmed 520 on at
    RE: Create a company with the contact detail

    Hi Hiba,

    1. Use a POST request to create the entity.

    2. Multiple related entities can be created in single operation using 'deep insert'.

    Follow the below msdn link for more details.

    https://msdn.microsoft.com/en-us/library/gg328090.aspx#bkmk_CreateRelated

    Thanks and Regards

    Sardar Ahmed.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans