http://myservernamehere.mydomain/ArcGIS/rest/services/TestGeology/MapServer/0/query?text=&geometry=%7B%22xmin%22%3A359116.578934065%2C%22ymin%22%3A3862731.70544748%2C%22xmax%22%3A401068.487002091%2C%22ymax%22%3A3890699.6441595%2C%22spatialReference%22%3A%7B%22wkid%22%3A102002%7D%7D&geometryType=esriGeometryEnvelope&inSR=102002&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=102002&outFields=PHOTO_NUM%2CPHOTO_LAT%2CPHOTO_LONG&f=html