FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL |
http://<adminservicecatalog-url>/<serviceName>.FeatureServer/edit |
---|---|
Parent Resource | Service |
The edit operation enables editing the service definition (feature service object) and applying changes.
Parameter | Details |
---|---|
f |
Description: The response format. The default
response format is html. Values: html | json | pjson |
Example 1: Edit a service named "WorldService":
http://sampleserver10.arcgisonline.com/arcgis/admin/services/WorldService.FeatureServer/edit{ "success": <true|false>, "error": { "code": <code>, "message": "<description>", "details": [ "<message>" ] } }
{ "success" : true }
{ "error" : { "code" : 400, "message" : "", "details" : [ "Invalid service definition specified.", "Invalid object passed in, ':' or '}' expected. (521): { \"adminServiceInfo\" : { \"name\" : \"WorldService\", \"type\" : \"FeatureServer\",.... ] } }