PortCall Dataset
The PortCall Dataset is included in the response of the PortCalls method.
The data is returned in JSON or XML format and includes the following fields:
| Field | Type | Description |
|---|---|---|
ID | integer | Unique ID of the event. Use with the last_id parameter to retrieve only events newer than the last one processed |
MMSI | integer | MMSI number of the vessel (AIS identifier) |
IMO | integer | IMO number of the vessel |
LOCODE | text | UN/LOCODE of the port |
EVENT | text | ARRIVAL or DEPARTURE |
TIMESTAMP | datetime | Date and time (UTC) of the arrival/departure, YYYY-MM-DD HH:MM:SS UTC |
PORT | text | Name of the port |
COUNTRY | text | Country of the port |
Example
{
"PORTCALL": {
"MMSI": 304491000,
"IMO": 9175717,
"LOCODE": "TRAMB",
"EVENT": "ARRIVAL",
"TIMESTAMP": "2017-08-06 20:57:34 UTC",
"PORT": "Ambarli",
"COUNTRY": "Turkey"
}
}
<PORTCALL MMSI="304491000"
IMO="9175717"
LOCODE="TRAMB"
EVENT="ARRIVAL"
TIMESTAMP="2017-08-06 20:57:34 UTC"
PORT="Ambarli"
COUNTRY="Turkey"/>