Skip To Content
ArcGIS Developers
Dashboard

Status (Service)

Description

This resource provides the configured and current status of a GIS service. The configured status represents the state of the resource as you have configured it to be. For example, starting a service would set its configured status to be STARTED. However, it is possible that the configured state may not match the actual state of the resource. The realTimeState property represents the actual state of a service.

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