API Reference

readOnlyGeoPresenceLink

Get a read-only image of vessels in an area to get an understanding of congestion and real-time traffic.

Query Schema

type Query {
   readOnlyGeoPresenceLink(area: GeoJSONPolygonGeometryScalar!, caption: String
  ): ReadOnlyGeoPresenceLinkResponse
}

Arguments

NameTypeDescription
areaGeoJSONPolygonGeometryScalar!Sample: { "type": "Polygon" "coordinates": [ [ [2.176516056060791, 41.38813490002815], [2.1565604209899902, 41.35480230882416], [2.1931135654449463, 41.34268079363133], [2.222381830215454, 41.388883479485], [2.176516056060791, 41.38813490002815] ] ] }
captionStringOptional text input to appear above the input area snapshot; the default value is "GEOGRAPHICAL PRESENCE REPORT".

Returns

NameDescription
ReadOnlyGeoPresenceLinkResponseThe link returned by the readOnlyVesselProfileLink query.

ReadOnlyGeoPresenceLinkResponse Fields

NameTypeDescription
linkStringThe link returned by the readOnlyVesselProfileLink query.

Example Code

Sample Query

query ReadOnlyGeoPresenceLink($area: GeoJSONPolygonGeometryScalar!, $caption: String) {
  readOnlyGeoPresenceLink(area: $area, caption: $caption) {
    link
  }
}

Variables

{
  "area": {
     "type": "Polygon"
     "coordinates": [
       [
         [2.176516056060791, 41.38813490002815],
         [2.1565604209899902, 41.35480230882416],
         [2.1931135654449463, 41.34268079363133],
         [2.222381830215454, 41.388883479485],
         [2.176516056060791, 41.38813490002815]
       ]
     ]
  },
  "caption": "Barcelona"
}

Response

{
  "data": {
    "readOnlyGeoPresenceLink": {
      "link":"https://int.wnwd.com/geographical-presence?path=ZjQ2MjFhZjMtNTQzNC00YjNhLWI4ZjctZmU0MzE5ZTMwYmRlLmpzb24%2FQVdTQWNjZXNzS2V5SWQ9QUtJQTJSSzJPSUVIM0U3SFBGR0gmRXhwaXJlcz0xNjcyMjQyNzI4JlNpZ25hdHVyZT1MbHhES1ZVSEtQVVpDJTJGMk52dHBxbWVKWTI5MCUzRA%3D%3D"
    }
  }
}