web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to call a web API from GP

(1) ShareShare
ReportReport
Posted on by 75

Hello, I'm new to GP and I have to make a query to an API created by third parties, and I wanted to know if they have any suggestions.

The plan is that you make calls to the registered "Campaigns", and that internally you relate the "Sales Contracts" to the corresponding campaigns.

The base Url for consuming resources is as follows: cartel.ayudapreview.com/.../

Accessed with the different endpoinds, requires HMAC authorization. for which I have been suminated a key and a secret.

I've created a small project with C#, with which I can seamlessly consume the API.I want to know if there's any way to create a freeryou can send those resources to GP or consume them directly from the API.

I look forward to your answer, thank you!

Categories:
I have the same question (0)
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    The simplest solution would probably be to use a Visual Studio Tools for Microsoft Dynamics GP addin using C#.

    It is also possible to use the Dexterity .Net Interop to call .Net code from a Dexterity script.

    Hope this helps

    David

  • MarcosAP25 Profile Picture
    75 on at

    Thanks you David.

    Do you have any reference links on how to do what you say?

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    Hi Marcos

    Install VSTools from the DVD image from the \Tools\SDK\VS Tools folder.

    Developer Toolkit training (including VS Tools) available from 

    https://winthropdc.wordpress.com/training/

    Regards

    David

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans