You need to sign in to do that
Don't have an account?
Andyux
Anyone used API call to NPI?
NPI (National Provider Identifier) provides an API, I also see bloomapi.com and
npibox.com that apparently provide the same information.
I want to be able to lookup NPI when sales reps are creating accounts (and or opportunities?) to get clean data and NPI Id.
Any preferences or experience with these?
Thanks!
Andres
npibox.com that apparently provide the same information.
I want to be able to lookup NPI when sales reps are creating accounts (and or opportunities?) to get clean data and NPI Id.
Any preferences or experience with these?
Thanks!
Andres
All Answers
SYNCHRONOUS method - you will need to override the "New" page link with your own Visualforce (or Lightning in Visualforce) so you can hook into keyboard/mouse/touch actions to fire the API callouts. You can provide instant feedback to your users this way.
ASYNCHRONOUS method - you can leave standard new/view pages in place. However, since you cannot make callouts in a trigger/synchronous use case, you'll need to spin up Future or Batch Apex from a trigger to make the callout asynchronously, parse results, and then save those results back in the record. Your users will not see updated information unless they refresh the "View" page a few moments after their initial save.
If it were me, and instant feedback was not a "first version" requirement, I would start with the asynchronous method so you can focus on the callout and parsing the results. You can always move that code into a synchronous solution if need be down the road.
We've implemented bloomapi.com and would recommend it.