Get a list of historical trips for a ship using the following API operation:
POST /ship/historical/trip
Payload:
{
"ship": {
"mmsi": 219018501,
"name": "MAJESTIC MAERSK"
},
"begin": "2018-10-30T00:00:00Z",
"end": "2018-11-15T00:00:00Z"
}
Response:
{
"records": [
{
"ata": "2018-11-04T04:45:34Z",
"atd": "2018-10-31T08:07:49Z",
"port": [
{
"id": 28710,
"locode": "PLGDN",
"name": "Port of Gdansk"
},
{
"id": 30810,
"locode": "DEBRV",
"name": "Port of Bremerhaven"
}
]
},
{
"ata": "2018-11-06T03:30:57Z",
"atd": "2018-11-05T09:58:12Z",
"port": [
{
"id": 30810,
"locode": "DEBRV",
"name": "Port of Bremerhaven"
},
{
"id": 31085,
"locode": "NLEUR",
"name": "EUROPOORT"
}
]
}
]
}
For basic description see Get historical trips for a ship.