SBX - Search With Button

SBX - Forum Post Title

how to consume an external web service from Dynamics 365 F&O

Dynamics 365 for Finance and Operations Forum

Rahul Kiran asked a question on 7 Nov 2018 10:42 AM
My Badges

Question Status

Verified

Hi ,


Can anybody help me  how to consume an external web service from Dynamics 365 F&O ?

I need to call (GET method) the external web service with the basic authentication and the return format will be JSON.

Reply
Suggested Answer

Please see the official documentation:

Reply
Verified Answer

D365FO doesn't come with it's own way for handling these things; simply take a .NET API of your choice and use it as in any other .NET application. It also means that you'll find a plenty of information on internet - tutorials, code samples and so on.

Just wrap the logic in a .NET class library, add a reference to your X++ project and call classes in the library when needed.

Reply
Rahul Kiran responded on 7 Nov 2018 2:02 PM
My Badges

Thank you Martin!

I'll try to create a .net class according to my requirement.

Reply
Verified Answer

D365FO doesn't come with it's own way for handling these things; simply take a .NET API of your choice and use it as in any other .NET application. It also means that you'll find a plenty of information on internet - tutorials, code samples and so on.

Just wrap the logic in a .NET class library, add a reference to your X++ project and call classes in the library when needed.

Reply
Suggested Answer

Please see the official documentation:

Reply

SBX - Two Col Forum

SBX - Migrated JS