Ports
Resolve a destination
GET/v1/ports/resolvefree
Turn the free text a crew types into the AIS destination field ("RTM", "NL RTM", "ROTTERDAM PILOT") into a port.
Parameters
| Name | Description |
|---|---|
destinationrequiredstring | The AIS destination text. |
curl "https://gangwayais.com/v1/ports/resolve?destination=NL RTM" \ -H "Authorization: Bearer $GANGWAY_KEY"
{
"destination": "NL RTM",
"port": {
"code": "NLRTM",
"name": "Rotterdam",
"country": "NL",
"lat": 51.95,
"lon": 4.14
}
}
