Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Get multiple customers in a single API call in Business central

(0) ShareShare
ReportReport
Posted on by 72
Hello,
 
Is there any way where I can get multiple customers data in a single call via API in a business central?
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 75,848 Super User 2024 Season 2 on at
    Get multiple customers in a single API call in Business central
    Hi, if you do not specify a system ID or filter, all customers will be obtained by default.
    For example, https://api.businesscentral.dynamics.com/v2.0/c8558e71-6ad8-4fcd-9f29-3ca165b41bbe/Sandbox223/api/v2.0/companies(554f4f15-9c8e-ee11-be3e-6045bde96b9a)/customers


    If you mean a different environment, as far as I know this can't be done.

    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 13,057 Most Valuable Professional on at
    Get multiple customers in a single API call in Business central
    Hi
    You have to use the filter option in URL, like this: /customers?$filter=startswith(displayName, 'A')
    Check out this: 
    Best Regards
    Gerardo

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans