We currently use microsoft flow to catch and transform webhooks/data from 3rd party services and post back into Acumatica. However, we would prefer to use Zapier. I know it is a bit more complicated than your standard https rest api, but does anyone have any guidance as to what might be possible with Zapier and how to do it?
Zapier - how to configure to post data back into Acumatica
Best answer by Gerhard van den Heever
For Web hooks, the information is received based on the URL it post the data to. Acumatica will consume the request and based on the config/dev, you would need to first do authentication and add it business rules.
See below to start with, you would need to pass the username and/or password with your POST:
private IDisposable GetAdminScope(string companyName)
{
var userName = "admin";
if (PXDatabase.Companies.Length > 0)
userName = userName + "@" + companyName;
return new PXLoginScope(userName,PXAccess.GetAdministratorRoles());
}
See link:
https://www.acumatica.com/blog/easily-send-post-requests-to-acumatica-using-webhooks/
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.