AnsweredAssumed Answered

Query Services in ArcGIS Server Manager, then print the Original mxd document path and map service rest url

Question asked by andrescastillo08 Champion on Dec 4, 2018
Latest reply on Dec 6, 2018 by andrescastillo08

I would like to find out the Original mxd document path (under the 'General' tab) and map service rest url (under the 'Capabilities' tab) from all services available in ArcGIS Server Manager, rather than using the UI webpage to drill down into each service to find out this info.


This would most likely involve using the ArcGIS Rest API for Server Administration.


So far, I have found the server manifest json file for a specific service using this documentation:

This only lists the mxd path, but not the ms rest url.

In addition, this still only lists that information for one service only.


Ideally, a scripting language would be used to read the information for every service, and print it out to a document, such as a text file.


Any ideas?