Start Services

Description

This operation starts the desired services on all (reachable) server machines in the cluster. If the minimum instances are 0 then 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

Parameter

Details

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"
        }
    ]
}

3/3/2017