Skip to main content

Notifications

Announcements

No record found.

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

Fetch Customer Template, General Business Posting Group and Customer Posting Group via api

(0) ShareShare
ReportReport
Posted on by 50

Is there a way we can fetch customer template or general business posting group or customer group through api 

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    RE: Fetch Customer Template, General Business Posting Group and Customer Posting Group via api

    Hi, The method mentioned by Rahul is relatively simple.

    It just so happens that I tested the API and just added an example.

    pastedimage1681171375502v1.png

    pastedimage1681171402820v2.png

    https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox220/ODataV4/Company('My Company')/GenBPG

    pastedimage1681171436911v3.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    RE: Fetch Customer Template, General Business Posting Group and Customer Posting Group via api

    Do you have access to BC? If not, you can request the execution of below steps from someone who does

    learn.microsoft.com/.../across-how-publish-web-service

    Follow the above link and create a web service for below pages. You'll then find a ODATA/SOAP URL to be used as an endpoint in your API call

    Page No 312

    Page No 110

    Page No 1382

  • Ashish Profile Picture
    Ashish 50 on at
    RE: Fetch Customer Template, General Business Posting Group and Customer Posting Group via api

    Yeah I want to fetch all the Gen Bus Posting Groups / Cust. POsting groups and also the all the cusotmer template existing in BC for that companies.

  • NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    RE: Fetch Customer Template, General Business Posting Group and Customer Posting Group via api

    Hi Ashish - These 2 fields are attached on each customer record. Are you willing to fetch each customer's Gen Bus Posting Group &/or Customer posting group?

    Or do you want to fetch all Gen Bus Posting Groups / Cust. POsting groups existing in BC?

  • Ashish Profile Picture
    Ashish 50 on at
    RE: Fetch Customer Template, General Business Posting Group and Customer Posting Group via api

    I had researched on the learn.microsoft.com/.../ but could not find which endpoint will give the result.

    Can you please guide me from which endpoint we can access the these three endpoints

  • Suggested answer
    Shawnsauve Profile Picture
    Shawnsauve 1,089 on at
    RE: Fetch Customer Template, General Business Posting Group and Customer Posting Group via api

    Yes, it's possible to fetch customer templates, general business posting groups, and customer groups through the Dynamics 365 Business Central API.

    You can use the Customer Templates, Gen. Business Posting Groups, and Customer Groups APIs to retrieve the relevant information. These APIs can be accessed using various programming languages, such as C#, Python, and JavaScript, to name a few.

    To access these APIs, you will need to have the necessary credentials and permissions. Additionally, it's important to ensure that your application meets the security requirements set by Microsoft.

    If you need further assistance with using the Dynamics 365 Business Central API, Microsoft offers various resources, such as documentation and developer support, to help you get started.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans