AnsweredAssumed Answered

How to ping a map service to determine status (Started, Stopped)

Question asked by BISYSTEMS on Apr 10, 2016
Latest reply on Dec 4, 2017 by csgeosol1

Hi all

I would like to know if there is a ping or healthcheck on an individual Map service that can be run similar to the below healthcheck for a server



I can see that if I manipulate the URL above specific to a map service it brings back information.



If the service is stopped it will display


"error": {

  "code": 500,

  "message": "Error handling service request :Could not find a service with the name 'MapServer/SampleWorldCities' in the configured clusters. Service may be stopped or ArcGIS Server may not be running.",

  "details": []




If the service is started it will return


"currentVersion": 10.31,

"serviceDescription": "Agencies Location",

"hasVersionedData": false,

"supportsDisconnectedEditing": false,

"syncEnabled": false,

"supportedQueryFormats": "JSON, AMF",

"maxRecordCount": 1000,

"capabilities": "Query,Create,Update,Delete,Uploads,Editing",

"description": "",

"copyrightText": "",

"spatialReference": {

  "wkid": 4283,

  "latestWkid": 4283




All I need is a way to test a map service is started or stopped with a simple response like the server


{"success": true} (Started)


Any assistance greatly appreciated.