Show all
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/map/list';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/map/list \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Retrieve all map configurations owned by the specified managing entity.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”UUID of the managing entity that owns the maps.
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”Map configurations owned by the managing entity
Inventory map configuration for displaying sellable inventory on an embedded map
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Map owner identifier
UUID of the customization context (e.g., Wink Links, channel manager)
Display name for this map
UUID of the inventory source: single channel inventory, curated list, or dynamic search
Category of inventory being displayed (SINGLE, LIST, or SEARCH)
GeoJSON point defining map center (longitude, latitude)
object
User can move around / pan the map
User can zoom in/out of the map
Initial zoom level (0-21, where 0 shows the entire world)
Map visual style (normal, clean, or bluish)
Hexadecimal color code for map markers
Height of the embedded map in pixels
Indicate which initial values to display first on the front-facing card
Custom-defined circles
object
Circle radius from center
Circle center point
object
Custom-defined rectangles
object
A GeoJSON rectangle
object
South-west corner of the geographic bounding rectangle
object
North-east corner of the geographic bounding rectangle
object
Custom-defined markers
object
A GeoJSON point
object
Custom-defined polygons
object
A GeoJSON polygon
object
object
object
object
Example
[ { "id": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51", "ownerIdentifier": "d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69", "customizationIdentifier": "a2c8f1d4-5e9b-4a7c-9f23-6b1e8d4c2f05", "name": "Premium Hotels in Southeast Asia", "typeIdentifier": "e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18", "type": "LIST", "center": { "type": "Point", "coordinates": [ 100.5581533, 13.7370197 ] }, "draggable": true, "zoomable": true, "initialZoomLevel": 15, "mapStyle": "normal", "mapMarkerColor": "cc2138", "mapHeight": 500, "displayType": "NATIVE" }]Bad Request — missing or invalid request parameter or body
object
object
Example
Unauthorized — authentication is required or the session has expired
object
object
Example
Forbidden — authenticated but lacking the required permission or scope
object
object
Example
Not Found — the requested resource does not exist
object
object
Example
Method Not Allowed — the HTTP verb is not supported on this endpoint
object
object
Example
Unsupported Media Type — use application/json
object
object
Example
Internal Server Error — an unexpected failure occurred on the server
object
object
Example
Service Unavailable — a downstream dependency is unreachable