A1914
A1914

Reputation: 21

How to get all fields from ArcGIS REST API?

I'm looking to obtain all of the available fields from the ArcGIS REST API. Here is the query link: https://services1.arcgis.com/zdB7qR0BtYrg0Xpl/ArcGIS/rest/services/ODC_CRIME_OFFENSES_P/FeatureServer/225/query

There are some ObjectID fields that I'd like to see.

Which is leaving out fields like: DISTRICT_ID, NEIGHBORHOOD_ID and IS_CRIME

Does anyone know how to craft a query that would return all fields? Thanks!

Upvotes: 0

Views: 1670

Answers (1)

R10t--
R10t--

Reputation: 828

Set outFields to *

You should really check out Esri's documentation on their REST endpoints as this is pretty commonly known. Next time do a bit of research before posting :)

Upvotes: 1

Related Questions