Layer name versus alias

Discussion created by mileskelly on Jan 25, 2013
Latest reply on May 29, 2013 by citrusmosquito
Hi -
I have the name of a layer in a map service, and want to find the ID number of the layer so that I can query the features. If I query like this


I get back the collection of layers with their names and ids, but the 'name' that is returned is actually the layer alias, and therefore it's possible for several layers in a map service to have the same name. Is there any REST call that would allow me to verify the fully qualified layer name?