Notifications
Announcements
No record found.
Hi all,
Can someone suggest how to call an external api from NAV C/AL code ?
Thanks
*This post is locked for comments
Hi,
You can call external web services using "Web Service Request Mgt" codeunit. There are many examples related to this. Please refer below URLs :
https://community.dynamics.com/nav/b/moxie4nav/archive/2015/09/10/call-external-web-service-using-new-cu-1290
http://vjeko.com/web-services-black-belt-consuming-nav-web-services-using-pure-cal/#
HI, I am sorry but there is no such Code unit in NAV2013 I know the code unit 1290 and 1297 are available or can be import in 2015 and later versions.
But I am using NAV 2013 right now and I am really fedup while searching stuffs regarding the same but none of them were helpful.
I need to call API with some headers and xml body but I am unable to use Streamwriter and other in order to hit the api and get a proper response.
Its working fine with headers only but no idea how to add body content.
Is there some one who can help me?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HoangNam 7