FRAMES | NO FRAMES Description | Parameters | Examples | Response
Refresh (Operation)
URL http://<adminfeatureservice-url>/<layerId>/refresh
Parent Resource Layer

Description

The refresh operation refreshes a layer in a service, which clears the web server cache for the layer.         

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json | pjson

Example Usage

Example 1: Refresh the first layer in a service named "WorldService":

http://sampleserver10.arcgisonline.com/arcgis/admin/services/WorldService.FeatureServer/0/refresh

JSON Response Syntax

 {
  "success" : "<true | false>"
}             

JSON Response Example

{
  "success" : true
}