Skip To Content
ArcGIS Developers
Dashboard

Exists

Description

This operation checks if a folder or service exists on the GIS server.

Request parameters

ParameterDetails
folderName

The name of the folder.

Example

folderName=Maps
serviceName

The name of the service.

Example

serviceName=Test
type

The type of the service.

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for exists:

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

folderName=Maps&serviceName=Test&type=MapServer&f=json

JSON Response example

{"exists": true}