Solved! Go to Solution.
Hi,
We have decided to port our Silverlight API application to JavaScript. I am starting to look at the API and I am trying to find out how I can query an ArcGIS server to find a list of services. I need to ask it to return only specific type of services. For example, I want to be able to get only a list of dynamic, tiled, WMS or WMTS one type at a time. I was looking at what the REST API returns, but it does not tell me the type I want. It only says "MapServer" as the type in the JSON I get back. Is there something in the API that will help me?
Thanks,
Paul
Hi,
We have decided to port our Silverlight API application to JavaScript. I am starting to look at the API and I am trying to find out how I can query an ArcGIS server to find a list of services. I need to ask it to return only specific type of services. For example, I want to be able to get only a list of dynamic, tiled, WMS or WMTS one type at a time. I was looking at what the REST API returns, but it does not tell me the type I want. It only says "MapServer" as the type in the JSON I get back. Is there something in the API that will help me?
Thanks,
Paul
Hi Manish,
I just tried that code. It returns all the services recursively in all folders whatever their type. It shows all services as having a type of "MapServer". I need to extract all dynamic services only or all tiled services only for example.
Hi,
I have talked to my client and we will modify our requirements and settle with what we can get out using the first sample you directed me too.
Thanks for your help.
Cheers,
Paul