- URL:
- https://<adminservicecatalog-url>/services/<serviceName>/MapServer/edit
- Methods:
POST
Description
The edit operation enables editing the service source , min , max , export , and max parameters.
Parameters
| Parameter | Details |
|---|---|
f | The response format. The default response format is Values: |
service | The service definition. |
source | The source item ID is the map service's portal item ID. |
min | The minimum scale value of the map service. |
max | The maximum scale value of the map service. |
export | Enables or disables the exporting of tiles for a hosted map service. Values: |
max | Sets the maximum tile count for exporting tiles for a hosted map service. |
Example usage
https
Example 1
https
JSON Response syntax
{
"success": <true|false>,
"error": {
"code": <code>,
"message": "<description>",
"details": [
"<message>"
]
}
}JSON Response example (when edit succeeds)
{
"success" : true
}JSON Response example (when edit fails)
{
"error" :
{
"code" : 400,
"message" : "",
"details" : [
"Invalid service definition specified.",
"Invalid object passed in, ':' or '}' expected. (521): {\"adminServiceInfo\" : {\"name\" : \"WorldService\", \"type\" : \"MapServer\",....
]
}
}