- layerID: You can retrieve the layer ID from the content of the web map item:
https://<your portal url>/sharing/rest/content/items/<webmapItemID>/data/?f=pjson
(Layer names are also acceptable, but they can be changed which would break the link.) Tip: If you cannot access the service url (because the API is restricted by your AGOL admin in your organisation), you can use the ArcGIS Online Assistant to view the JSON of your web map and find the layer ID.
- queryField: this is the field from your layer to use for the query. (We use the OBJECTID in our example.)
- queryValue: value coming from your survey data, so your link is dynamic and will work with any close calls. (For testing purposes you can use a static value.)
Additional webhook settings on the Survey123 website