AnsweredAssumed Answered

How do I obtain a list of all fields in a web service?

Question asked by doncatanzaro on Feb 18, 2014
Latest reply on Feb 18, 2014 by khutchins-esristaff
Hi All,

I think this is an easy question but I cannot seem to find an API call that can return the list of fields in an ArcGIS web service. 

For instance, this webhttp://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Household_Income/MapServer

has the following fields:
[INDENT]OBJECTID
Shape
ID
NAME
ST_ABBREV
LANDAREA
TOTPOP_CY
MEDHINC_CY
HINCBASECY
HINC50_CY
HINC75_CY
HINC100_CY
HINC150_CY
HINC200_CY
MEDHHINC_pct_USAvg
HINC0_25
HINC35_50[/INDENT]

I basically want to be able to consume (dynamically) this list so I can put it into my UI.

Thank you in advance !

Outcomes