I want to make a GET request from a custom Action on the Enter Sales Order screen (SO301000). We have a separate system we use for sending confirmation emails to customers. The Action will be used by customer service to manually trigger an email.
I've tried using the HttpClient class, but it tells me "The type or namespace name 'HttpClient' could not be found (are you missing a using directive or an assembly reference?)". I am referencing the System.Net, System.Net.Http, and System.Net.Http.Headers namespaces, so I'm wondering if the System.Net.Http assembly isn't referenced by Acumatica?
Is there a better way to make an external request?