Skip To Content
ArcGIS Developers
Dashboard

Start Service

Description

This operation starts the service. When a service is started, the server creates the minimum instances on all server machines in the site. If the minimum instances are 0, the instances are created dynamically based on the incoming requests.

Caution:

At 10.9.1, when installing ArcGIS Server you will have the option to disable the ArcMap service runtime, removing Python 2.x from your deployment. If the ArcMap runtime is disabled, all map, image, geodata, geoprocessing, and geocode services with ArcMap as the service provider (ArcObjects) will be stopped. Attempting to start these services will result in an error message. For more information, see the JSON Response examples section below.

Request parameters

ParameterDescription
f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for the start operation:

POST /webadaptor/admin/services/Maps/SeattleMap.MapServer/start HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

JSON Response examples

The following is a sample success response for the start operation, indicating that the service was started successfully:

{
  "status": "success"
}

The following error response is returned when an attempt is made to start a service with ArcMap as its service provider when the ArcMap runtime is disabled:

{
  "status": "error",
  "messages": ["This ArcMap based service cannot be started because the ArcMap Runtime Support feature is not installed. Information on how to migrate services to use the ArcGIS Pro service runtime is available in the help topic 'Migrating services to the ArcGIS Pro service runtime'."],
  "code": 500
}