Skip to content

Interface

A createParameters JSON object for a new service.

Properties

PropertyTypeNotes
allowGeometryUpdatesboolean

Indicates if updating the geometry of the service is permitted.

capabilitiesstring

Specify feature service editing capabilities for Create, Delete, Query, Update, and Sync.

copyrightTextstring

Copyright information associated with the dataset.

descriptionstring

A user-friendly description for the published dataset.

editorTrackingInfo{ allowAnonymousToDelete?: boolean; allowAnonymousToUpdate?: boolean; allowOthersToDelete?: boolean; allowOthersToQuery?: boolean; allowOthersToUpdate?: boolean; enableEditorTracking?: boolean; enableOwnershipAccessControl?: boolean }

Editor tracking info.

hasStaticDataboolean

Indicates whether the data changes.

initialExtentIExtent

The initial extent set for the service.

maxRecordCountnumber

A double value indicating any constraints enforced on query operations.

namestring

Name of the service to be created. This name must be unique. If the name already exists, the operation will fail. ArcGIS Enterprise does not allow spaces or special characters other than underscores in a service name.

serviceDescriptionstring

Description given to the service.

spatialReferenceISpatialReference

All layers added to a hosted feature service need to have the same spatial reference defined for the feature service. When creating a new empty service without specifying its spatial reference, the spatial reference of the hosted feature service is set to the first layer added to that feature service.

supportedQueryFormatsstring

The formats in which query results are returned.

unitsstring

Units used by the feature service

xssPreventionInfoany

A JSON object specifying the properties of cross-site scripting prevention.

allowGeometryUpdates

optional
Interface Property

capabilities

optional
Interface Property

copyrightText

optional
Interface Property

description

optional
Interface Property

editorTrackingInfo

optional
Interface Property

hasStaticData

optional
Interface Property

initialExtent

optional
Interface Property

maxRecordCount

optional
Interface Property

name

Interface Property

serviceDescription

optional
Interface Property

spatialReference

optional
Interface Property

supportedQueryFormats

optional
Interface Property

units

optional
Interface Property

xssPreventionInfo

optional
Interface Property

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.