Displaying Tabular Data in REST API

638
1
07-22-2020 08:33 PM
FPCWAGIS_Admin
New Contributor III

I have a feature service on a REST API in ArcGIS Online. I have generated a token using admin credentials which I hoped the AZURE API could utilize to read the point coordinates in the feature service. This has not been possible. The  AZURE consultant is able to access that information if it is successfully queried in postman.

Following this link I have made attempt to query the feature service.

Unfortunately what is output is an ImageData and not the tabular information as shown below;

My question how can I get the attribute table/Tabular table to display? 

0 Kudos
1 Reply
RandyBurton
MVP Alum

From your picture, it looks like you are getting the feature's definition information.  The "drawingInfo" and "imageData" is indicating the default symbology to use when drawing your feature.  My guess is that you missed the word "/query" at the end of the URL string.  The link you followed shows this example:

https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Trailheads/FeatureServer/0/query

Trailheads is the name of the feature service, and the first layer (zero) is being queried.

0 Kudos