Hello I would like to use the API REST to interpolate a set of points stored in an ArcGIS Online layer.
I'm using this URL:
http: //www.arcgis.com/sharing/rest/content/features/analyze/InterpolatePoints/submitJob?token=ValidToken&url=67421744b8b549b49b5fb45ff836d45f&field=aqi&f=json
With a valid Token and in the url parameter the id of my points layer. But I get this result: {"error":{"code":400,"message":"Must specify either sourceUrl, input file or text."}}
How should I specify the input parameter if I want to use my layer stored in ArcGIS Online?
Thanks!