Looking at the header for the JSAPI query, parsed request looks like this, so geometry is expecting rings (which i presume is my circle):
f: json
where:
returnGeometry: true
spatialRel: esriSpatialRelIntersects
geometry: {"rings":[[[-475303.63745402906,7507176.940403111],[-475304.29482658487,7507189.483818703],[-475306.259741941,7507201.88980601],[-475309.51067207364,7507214.022442436],[-475314.011999112,7507225.7488002805],[-475319.71440557495,7507236.940403111],[-475326.5554147041,7507247.474633386],[-475334.4600749718,7507257.236075874],[-475343.341781266,7507266.117782169],[-475353.103223754,7507274.022442436],[-475363.63745402906,7507280.863451566],[-475374.82905685995,7507286.565858029],[-475386.5554147041,7507291.067185067],[-475398.6880511309,7507294.318115199],[-475411.09403843695,7507296.283030556],[-475423.63745402906,7507296.940403111],[-475436.18086962117,7507296.283030556],[-475448.5868569272,7507294.318115199],[-475460.71949335403,7507291.067185067],[-475472.44585119816,7507286.565858029],[-475483.63745402906,7507280.863451566],[-475494.17168430414,7507274.022442436],[-475503.93312679214,7507266.117782169],[-475512.81483308633,7507257.236075874],[-475520.71949335403,7507247.474633386],[-475527.56050248316,7507236.940403111],[-475533.26290894614,7507225.7488002805],[-475537.7642359845,7507214.022442436],[-475541.0151661171,7507201.88980601],[-475542.98008147324,7507189.483818703],[-475543.63745402906,7507176.940403111],[-475542.98008147324,7507164.396987519],[-475541.0151661171,7507151.991000213],[-475537.7642359845,7507139.858363787],[-475533.26290894614,7507128.132005942],[-475527.56050248316,7507116.940403111],[-475520.71949335403,7507106.406172836],[-475512.81483308633,7507096.644730348],[-475503.93312679214,7507087.763024054],[-475494.17168430414,7507079.858363787],[-475483.63745402906,7507073.017354657],[-475472.44585119816,7507067.314948194],[-475460.71949335403,7507062.813621156],[-475448.5868569272,7507059.562691024],[-475436.18086962117,7507057.597775667],[-475423.63745402906,7507056.940403111],[-475411.09403843695,7507057.597775667],[-475398.6880511309,7507059.562691024],[-475386.5554147041,7507062.813621156],[-475374.82905685995,7507067.314948194],[-475363.63745402906,7507073.017354657],[-475353.103223754,7507079.858363787],[-475343.341781266,7507087.763024054],[-475334.4600749718,7507096.644730348],[-475326.5554147041,7507106.406172836],[-475319.71440557495,7507116.940403111],[-475314.011999112,7507128.132005942],[-475309.51067207364,7507139.858363787],[-475306.259741941,7507151.991000213],[-475304.29482658487,7507164.396987519],[-475303.63745402906,7507176.940403111],[-475303.63745402906,7507176.940403111]]],"spatialReference":{"wkid":102100,"latestWkid":3857}}
geometryType: esriGeometryPolygon
inSR: 102100
outFields: UFRM_BLPU_POINT_ADDRESS
outSR: 102100
URL Encoded
f=json&where=&returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=%7B%22rings%22%3A%5B%5B%5B-475303.63745402906%2C7507176.940403111%5D%2C%5B-475304.29482658487%2C7507189.483818703%5D%2C%5B-475306.259741941%2C7507201.88980601%5D%2C%5B-475309.51067207364%2C7507214.022442436%5D%2C%5B-475314.011999112%2C7507225.7488002805%5D%2C%5B-475319.71440557495%2C7507236.940403111%5D%2C%5B-475326.5554147041%2C7507247.474633386%5D%2C%5B-475334.4600749718%2C7507257.236075874%5D%2C%5B-475343.341781266%2C7507266.117782169%5D%2C%5B-475353.103223754%2C7507274.022442436%5D%2C%5B-475363.63745402906%2C7507280.863451566%5D%2C%5B-475374.82905685995%2C7507286.565858029%5D%2C%5B-475386.5554147041%2C7507291.067185067%5D%2C%5B-475398.6880511309%2C7507294.318115199%5D%2C%5B-475411.09403843695%2C7507296.283030556%5D%2C%5B-475423.63745402906%2C7507296.940403111%5D%2C%5B-475436.18086962117%2C7507296.283030556%5D%2C%5B-475448.5868569272%2C7507294.318115199%5D%2C%5B-475460.71949335403%2C7507291.067185067%5D%2C%5B-475472.44585119816%2C7507286.565858029%5D%2C%5B-475483.63745402906%2C7507280.863451566%5D%2C%5B-475494.17168430414%2C7507274.022442436%5D%2C%5B-475503.93312679214%2C7507266.117782169%5D%2C%5B-475512.81483308633%2C7507257.236075874%5D%2C%5B-475520.71949335403%2C7507247.474633386%5D%2C%5B-475527.56050248316%2C7507236.940403111%5D%2C%5B-475533.26290894614%2C7507225.7488002805%5D%2C%5B-475537.7642359845%2C7507214.022442436%5D%2C%5B-475541.0151661171%2C7507201.88980601%5D%2C%5B-475542.98008147324%2C7507189.483818703%5D%2C%5B-475543.63745402906%2C7507176.940403111%5D%2C%5B-475542.98008147324%2C7507164.396987519%5D%2C%5B-475541.0151661171%2C7507151.991000213%5D%2C%5B-475537.7642359845%2C7507139.858363787%5D%2C%5B-475533.26290894614%2C7507128.132005942%5D%2C%5B-475527.56050248316%2C7507116.940403111%5D%2C%5B-475520.71949335403%2C7507106.406172836%5D%2C%5B-475512.81483308633%2C7507096.644730348%5D%2C%5B-475503.93312679214%2C7507087.763024054%5D%2C%5B-475494.17168430414%2C7507079.858363787%5D%2C%5B-475483.63745402906%2C7507073.017354657%5D%2C%5B-475472.44585119816%2C7507067.314948194%5D%2C%5B-475460.71949335403%2C7507062.813621156%5D%2C%5B-475448.5868569272%2C7507059.562691024%5D%2C%5B-475436.18086962117%2C7507057.597775667%5D%2C%5B-475423.63745402906%2C7507056.940403111%5D%2C%5B-475411.09403843695%2C7507057.597775667%5D%2C%5B-475398.6880511309%2C7507059.562691024%5D%2C%5B-475386.5554147041%2C7507062.813621156%5D%2C%5B-475374.82905685995%2C7507067.314948194%5D%2C%5B-475363.63745402906%2C7507073.017354657%5D%2C%5B-475353.103223754%2C7507079.858363787%5D%2C%5B-475343.341781266%2C7507087.763024054%5D%2C%5B-475334.4600749718%2C7507096.644730348%5D%2C%5B-475326.5554147041%2C7507106.406172836%5D%2C%5B-475319.71440557495%2C7507116.940403111%5D%2C%5B-475314.011999112%2C7507128.132005942%5D%2C%5B-475309.51067207364%2C7507139.858363787%5D%2C%5B-475306.259741941%2C7507151.991000213%5D%2C%5B-475304.29482658487%2C7507164.396987519%5D%2C%5B-475303.63745402906%2C7507176.940403111%5D%2C%5B-475303.63745402906%2C7507176.940403111%5D%5D%5D%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D&geometryType=esriGeometryPolygon&inSR=102100&outFields=UFRM_BLPU_POINT_ADDRESS&outSR=102100
I have tried taking the URL encoded string and pasting it into the url from my query builder, but this results in a 404. I have also tried copying just the encoded geometry but that also results in a 404.
Why is the query builder going to a 404 page when i input geometry rings?
Based on a user clicking the map, how do I take the x/y coordinates and create a circle that generates the rings above?
thanks