Hello:
I have this service:
Query: Parcels (ID: 0)
I want to get the coordinates where AIN or APN is specified and send that to a google map page I have that is locally hosted. The user will enter the AIN or APN on another site I also locally host which will then be sent to the google map page.
A query example:


How do I make a call for this in the script where the user enter the AIN or APN and then send the lat/long to the google map script using the ArcGIS JS API?
ArcGIS REST API
ArcGIS Server with JavaScript API