Menu
Home Track and Port Handling Examples Track ship with via points

Track ship with via points

To track a ship to a port via one or more points use the following API operation.

The waypoints listed in the payload can be either points or locations.

Request:

POST /ship/track

Payload:

{
   "source":{
      "ship":{
         "mmsi":219018501,
         "name":"MAJESTIC MAERSK"
      }
   },
   "destination":{
      "port":{
        "id": 31560,
        "name": "Felixstowe Port"
      }
   },
   "erp":{
      "waypoints":[
         {
            "position":{
               "type": "Point",
               "coordinates":[
                  10.697899363598,
                  57.796667485013
               ]
            }
         }, {
            "location": {
               "name": "English Channel"
            }
         }
      ]
   }
}

Response:

{
  "id": 1457992863621129
}

 

Updated on 14 November, 2018