Interesting. I also have seen it some examples in some other languages. But the only 2 I am really missing are assembler and (more importantly) AL. Maybe you could also do a video on that (AL that is, although I would be curious to see it implemented in assembler...)? It is always for calling BC. But if I am in BC and I need to call another BC?
Nice one, thanks :) could you please do a video on how to create a custom bc webhook and use it within your external App (c# command line App)? Would be very intersting to see how you get recently modified data (eg. Credit Limit Field on the Customer).
That's not how BC webhooks works, check this: docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v1.0/dynamics_subscriptions
Hi Erik Very nice video. But it would nice to see how it works with SOAP webservices. Getting an access token is no problem, but how do we send it to a BC SOAP web service??
Hello Erik, I have tried the same, but got an error msg "StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent,...." Please help me how to solve this.
Depends, most cases, I simple get a token each time and never care about. Some cases I have a loop around the main ws call and if the token is expired I get a new one.
God knows how far this is away from basic login/pass method. Thanks, Erik! :)
Excellent video - exactly what I needed to know. This video is much appreciated - thanks!
Excellent video Erik! Thank you ...
Well, this is a timely video! ;)
good work Erik
This is the stuff I really need right now! Thank you very much!
Hi. Thanks for this! I think it would be interesting to have a video with examples for Onprem version and for webservices.
you can use basic authentication for on-prem web services. Check this video by Erik Hougaard ruclips.net/video/GUw9C1mILMY/видео.html
Very straight forward, great video 👍
Interesting. I also have seen it some examples in some other languages. But the only 2 I am really missing are assembler and (more importantly) AL. Maybe you could also do a video on that (AL that is, although I would be curious to see it implemented in assembler...)? It is always for calling BC. But if I am in BC and I need to call another BC?
BC to BC is relevant for Intercompany...
BC to BC and for developing/testing BC on docker?
I did not understand part with URL (variable named URL2). How we must form it ?
Nice one, thanks :) could you please do a video on how to create a custom bc webhook and use it within your external App (c# command line App)? Would be very intersting to see how you get recently modified data (eg. Credit Limit Field on the Customer).
I mean only get Customer data where credit Limit value has changed (get old and new value)
That's not how BC webhooks works, check this: docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v1.0/dynamics_subscriptions
So how can you tell what has changed from what value to the new one? Or do BC webhooks only tell you that something has changed??
Hi Erik
Very nice video.
But it would nice to see how it works with SOAP webservices.
Getting an access token is no problem, but how do we send it to a BC SOAP web service??
That depends on what soap framework you're using? Are you using WCF?
@@Hougaard Yes, we're using the WCF framework
I'll put that on the list..
cool..i am just surprise!!! hey sir can i reduce number of BC license required per user....as though they needed but don't want to pay for it....
No, you're not allowed to circumvent the license agreement with the th API access
Hello Erik, want to ask whether the environment name (e.g. Sandbox, Sandbox2) will affect the bearer token request URL?
Nope, not a all.
Hello Erik, I have tried the same, but got an error msg "StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent,...." Please help me how to solve this.
Bad request mean that you did/send something wrong...
Really interesting.
Couod you, please, reproduce it on PostMan?
Thnx.
Don't count on it :) (Not a huge PostMan fan/user)
How do you handle refresh token/token got expired scenario?
Depends, most cases, I simple get a token each time and never care about. Some cases I have a loop around the main ws call and if the token is expired I get a new one.
cool thing is no redirect url🥰
How to get token using interactive method (Ask username and password)
it would be interesting to have a video with examples for get token using interactive method
👍