Skip to content

MockServiceData

Interface

Mocked whole service, including server info, service definition, layers in the service.

Properties

PropertyTypeNotes
layersMockLayerInService[]

The layers of the service.

serverInfoArcGISServerInfo

The root server info.

serviceDefinitionServiceDefinition

The service definition.

urlstring

The service URL, e.g. https://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/FeatureServer

layers

optional
Interface Property
layers: MockLayerInService[]

The layers of the service.

serverInfo

Interface Property
serverInfo: ArcGISServerInfo

The root server info.

serviceDefinition

Interface Property
serviceDefinition: ServiceDefinition

The service definition.

url

Interface Property
url: string

The service URL, e.g. https://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/FeatureServer

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