Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Financials API (online) Questions

(0) ShareShare
ReportReport
Posted on by 115

I am trying to consume the API for financials for integration needs. I have attempted many scenarios but cannot seem to get any of the documented samples to function.

https://docs.microsoft.com/en-us/dynamics-nav/fin-graph/api/dynamics_customer_get

  • Using AzureAD to obtain a Bearer Token with my registered app (no problems getting the token from AzureAD)

then I try to invoke the get customer call based on the documentation


Is there a setting somewhere I am missing to allow access to the API? I believe I have granted consent and correct permissions via AzureAD. Thanks for reading.

Categories:
  • TigerJ Profile Picture
    115 on at
    RE: Financials API (online) Questions

    I added the id field to the views in Financials (added the column) using the designer

    I was able to execute the message but receive a {"message":"Unauthorized"} response

    Here is a screenshot of the designer/edit screen. This is for the customer but I performed the same action to retrive the company id

    www.dropbox.com/.../id_example.png

  • AndersLarsen Profile Picture
    70 on at
    RE: Financials API (online) Questions

    Thanks for asking. I have a few clarifying questions

    How did you find the first id in api.financials.dynamics.com/.../companies({id})

    And did you manage to execute api.financials.dynamics.com/.../companies({id})/customers ? with success?

    Thanks

    Anders

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans