8 Service APIs
This section provides a reference for APIs that should be implemented by this Building Block.
8.1 Map Display
Retrieve the type of the data viewer. This endpoint provides information about whether the client data viewer is desktop, mobile, web browser, or unknown.
Specifies the type of supported browser for the data viewer.
desktopPossible values: Successful retrieval of the data viewer type
desktopPossible values: The data viewer type information could not be found
Retrieve GIS map display details. This endpoint provides access to GIS data through a data viewer, allowing users to view and query geographic or spatial information presented as graphic representations (points, polygons, lines, or raster grids) through thematic GIS layers or attribute tables. The response will include the symbology (pre-defined styles) for each map layer, displayed as a legend alongside a table of contents listing all layers provided by the service.
Successful retrieval of GIS map display details
Map display details not found
Add or update spatial bookmarks. This endpoint allows users to capture the spatial extent of a given location as a spatial bookmark in a GIS data viewer. Users can name the bookmark and zoom to the exact extent whenever needed by selecting the bookmark's name. Users can also add, rename, and remove spatial bookmarks as necessary.
Bookmark A1truetruetrue12.345634.567812.78934.9012Successful bookmark creation or update
Invalid request parameters or missing required fields
Set minimum and maximum scale limits for each layer. This endpoint allows users to specify whether a layer is identifiable and/or selectable on the data viewer. These settings are saved as a cache by the data viewer app and are reserved for future data viewer displays. The settings are reset to default when the cache is cleared.
The name of the GIS layer
The minimum scale to show the layer's feature on the map display
The maximum scale to show the layer's feature on the map display
Successful setting of layer scale limits
Invalid request parameters or missing required fields
No content
Enable basic navigation capabilities on the GIS data viewer. This endpoint allows users to perform basic navigation actions such as zooming in and out of a map, and panning to explore the displayed GIS data.
Specifies if zooming is supported
The available zoom levels for the map
Specifies if panning is supported
Successful enabling of basic navigation capabilities
Invalid request parameters or missing required fields
No content
Add, view, delete, and mark map notes on the GIS data viewer. This endpoint allows GIS users to add and share brief notes on the GIS data viewer. Other users can view and comment on these notes. Notes can only be deleted by the creator of the note. Notes are saved and served as a web feature service.
John DoeThis is a map note.2023-08-01T12:34:56Ztruetruetruetrue12.345634.5678Successful note creation or update
Invalid request parameters or missing required fields
Perform measuring actions on the GIS data viewer. This endpoint allows users to measure distances and areas on the displayed map.
truetrueSuccessful measuring action
Invalid request parameters or missing required fields
No content
Retrieve the style applied to the data viewer. This endpoint provides information about the style used to portray the geographic features of each layer on the data viewer.
Successful retrieval of data viewer style
Successful retrieval of data viewer style
8.2 GIS Query
Execute GIS feature or attribute query operations interactively or through predefined expressions.
Successful response
Bad Request
Unauthorized
Internal Server Error
Execute a spatial query based on location.
Successful response
Bad Request
Unauthorized
Internal Server Error
8.3 GIS Data Management
Update details of a specific GIS data store.
ID of the GIS data store to update
Updated
No content
Bad Request
Not Found
No content
8.4 Geocoding and Reverse Geocoding
8.5 Spatial Awareness and Analysis
8.6 Reporting
Add a dynamic GIS layer to a map layout or report.
Successful response after adding dynamic GIS layer
No content
Bad Request
No content
Add a scale bar to a map layout or report.
Successful response after adding scale bar
No content
Bad Request
No content
Add a north arrow to a map layout or report.
Successful response after adding north arrow
No content
Bad Request
No content
8.7 Geofencing
Successful response after creating element action rule
Geofence or element not found
No content
8.8 Routing
Last updated
Was this helpful?