Describe Named Maps
Description
Takes a list of maps as the input and gives the description of those maps.
ACL Authorization Flow
To get the description of maps, the user (or any roles they belong to) will need Execute permission on the named map in the following manner:
- “EXECUTE” for entity type “Location Intelligence.Named Resources”
HTTP POST URL Format
The following format is used for HTTP POST requests:
HTTP POST: /maps.json
POST DATA: {
"namedMapsList": ["/Samples/NamedMaps/CountriesWithShapeTable",
"/Samples/NamedMaps/MapWithLayer",
"/DoesNotExist"]
}
POST BODY: Content-Type:application/json {list of maps}
Returns
Returns the metadata of maps.
Example
Returns the metadata for the CountriesWithShapeTable and MapWithLayer maps located in the /Samples/NamedMaps directory in the repository, in the Locale English (US).
http://<server>:<port>/rest/Spatial/MappingService/maps.json
{
"namedMapsList": ["/Samples/NamedMaps/CountriesWithShapeTable",
"/Samples/NamedMaps/MapWithLayer",
"/DoesNotExist"]
}
The following example shows the JSON object returned in the response:
{
"mapDescriptions":[
{
"name":"/Samples/NamedMaps/CountriesWithShapeTable",
"mapDescription":{...}
},
{
"name":"/Samples/NamedMaps/MapWithLayer",
"mapDescription":{…}
},
{
"name":"/DoesNotExist",
"errorMessage":"RepositoryEx_ResourceNotFound: Resource was not found - /DoesNotExist"
}
]
}