Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

How to add Contact Information using API?

Posted on by 5

Hi, I'm in the process of migrating my current system data to Business Central. I have successfully added customer information and contacts using the provided API documentation. However, I'm facing an issue with adding contact information that links the customer with the contact. It appears that there is no API provided for this specific task. Could someone please guide me on how to add this contact information effectively?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    RE: How to add Contact Information using API?

    Hi,  unfortunately, as far as I know the standard API does not support this feature. Customers and Contacts are linked by table 5054 "Contact Business Relation". Because in addition to customers, other master data will also have contacts.

    If you need API processing, you need to customize the new API.

    Hope this helps.

    Thanks.
    ZHU

  • Fatima Nazeer Profile Picture
    Fatima Nazeer 5 on at
    RE: How to add Contact Information using API?

    Thank you for your response. No, i didn't try this. Since I'm new to Business Central, I would greatly appreciate more detailed guidance on how to add contact information that links customers with contacts. Currently, I'm utilizing the API provided at [https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/] for importing the data. However, I couldn't find a specific API endpoint or method to establish the relationship between customer and contact. Could you please provide more specific instructions or examples on how to achieve this task?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How to add Contact Information using API?

    Hi,

    Did you try this?

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