Call an external API from NAV C/AL code

Question Status

Verified
Tina Menezes asked a question on 19 Jun 2017 6:30 AM

Hi all,

Can someone suggest how to call an external api from NAV C/AL code ?

Thanks

Reply
Verified Answer
Tharanga Chandrasekara responded on 20 Jun 2017 11:37 PM

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/#

Reply
Verified Answer
Tharanga Chandrasekara responded on 20 Jun 2017 11:37 PM

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/#

Reply