AnsweredAssumed Answered

What Esri API exist to wrap calls to MapServer/layers?

Question asked by eliprandi on May 8, 2015
Latest reply on May 12, 2015 by rscheitlin

Does Esri provide a JavaScript API to access information at the following URL:




We can obviously access it via a fairly plain HTTP call, but it seems that most of the Esri jsapi call handle authentication and error handling already. We would like to avoid rebuilding that if I don't have to.

We looked at the documentation for ArcGISDynamicMapServiceLayer as that is what we use for our data layer in the map, but it seems that LayerInfo does not contain a lot of information (it looks more like the straight call to /MapServer)


What we are really after for each layer is:

  • Field aliases
  • Subtype field information
  • Domains


This information is fully available on the /MapServer/layers call.