ArcGIS REST API

Start Services

  • URL:https://server:port/arcgis/admin/services/startServices
  • Version Introduced:10.3

Description

This operation starts the desired services on all (reachable) server machines in the site. If the minimum instances are 0, the instances are created dynamically based on the incoming requests. This operation requires three fields: folder name, service name, and service type. If the service resides in the root folder, leave the folder property blank ("folderName": "").

Request parameters

ParameterDetails
folderName

The name of the folder containing the service, for example, "Planning". If the service resides in the root folder, leave the folder property blank ("folderName": "").

serviceName

The name of the service, for example, "FireHydrants".

type

The service type, for example, "MapServer".

f

The response format. The default response format is html.

Values: html | json

Example

{
    "services": [
        {
            "folderName": "",
            "serviceName": "SampleWorldCities",
            "type": "MapServer"
        },
        {
            "folderName": "Planning",
            "serviceName": "FireHydrants",
            "type": "FeatureServer"
        }
    ]
}