Skip To Content
ArcGIS Developer
Dashboard

Status (Service)

Description

The status resource provides the configured and current status of a GIS service. The configured status represents the state of the resource as it is configured. For example, starting a service sets its configured status to STARTED. However, he configured state may not match the current state of the resource. For the current state of the service, review the value returned by the realTimeState property.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Response properties

PropertyDetails
configuredState

The configured state of the resource. The default state is STOPPED.

Values: STOPPED | STARTED

realTimeState

The actual (current) state of the resource.

Values: STOPPED | STARTED

Example usage

The following is a sample request URL used to access the status resource:

https://organization.domain.com/context/admin/services/Hosted/SampleService.FeatureServer/status?f=pjson

JSON Response example


{
  "configuredState": "STARTED",
  "realTimeState": "STARTED"
}