Skip to main content

Notifications

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

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

Posted on by 50

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

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,339 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,234 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,234 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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans