- URL:
- https://<adminservicecatalog-url>/services/<serviceName>/MapServer/updateTiles
- Methods:
GET
Description
The update
operation supports updating the cooking extent and cache levels in a hosted map service. The result of this operation is a response indicating success, which redirects you to the Job Statistics page, or failure, which includes an error code and description.
Parameters
Parameter | Details |
---|---|
f | The response format. The default response format is Values: |
token | An access token that identifies the authenticated user and controls access to restricted resources and operations. |
extent | The cooking extent of the map service to update.
|
levels | The cache levels of the map service to update.
|
merge | <Optional> Default is false and applicable to compact cache storage format. It controls whether bundles from the update are merged with the existing ones on the service, otherwise bundle files are overwritten. |
replace | <Optional> Default is false , applicable to compact cache storage format and used when merge . It controls whether new tiles will replace the existing ones when merging bundles. |
JSON Response syntax
{
"id":<id>,
"name": <service name>,
"status": <success | failed>,
"itemId": <item id>,
"type": <map service>,
"jobId": <job id>,
"error": {
"code": <code>,
"message": "<description>",
"details": [
"<message>"
]
}
}
HTML Response example (when update Tiles
succeeds)
The HTML response will redirect you to the Job Statistics.
JSON Response example (when update Tiles
succeeds)
{
"id" : "ca377ba3-6f19-4ebb-bd15-aaae0c055373",
"name" : "WorldService",
"status" : "Success",
"itemId" : "ca377ba36f194ebbbd15aaae0c055373",
"type" : "Map Service",
"jobId" : "e2e8a0bb-4b40-46ac-813a-0bbdf522195f",
"message" : "success"
}
JSON Response example (when update Tiles
- Cooking Extent fails)
{
"error" :
{
"code" : 400,
"message" : "",
"details" : [
"Invalid extent."
]
}
}
JSON Response example (when update Tiles
- Cache Levels fails)
{
"error" :
{
"code" : 400,
"message" : "",
"details" : [
"Invalid cache levels."
]
}
}