AIS
POST /filedrop/udl-ais
Changed onService operation to take multiple AIS objects as a POST body and ingest into the database. This operation is intended to be used for automated feeds into UDL. A specific role is required to perform this service operation. Please contact the UDL team for assistance.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/filedrop/udl-ais
- Authnone declared
Request body
Example request
[
{
"id": "AIS-ID",
"classificationMarking": "U",
"idTrack": "TRACK-ID",
"idVessel": "VESSEL-ID",
"mmsi": 304010417,
"imon": 9015462,
"ts": "2021-02-25T12:00:00.123456Z",
"shipName": "DORNUM",
"shipType": "Passenger",
"engagedIn": "Cargo",
"specialCraft": "Tug",
"cargoType": "Freight",
"callSign": "V2OZ",
"vesselFlag": "United States",
"lat": 47.758499,
"lon": -5.154223,
"posHiAccuracy": true,
"posHiLatency": true,
"speed": 10.5,
"trueHeading": 329.1,
"course": 157.1,
"rateOfTurn": 22.1,
"navStatus": "Underway Using Engine",
"posDeviceType": "GPS",
"antennaRefDimensions": [
50.1,
50.1,
20.1,
20.1
],
"length": 511.1,
"width": 24.1,
"draught": 21.1,
"shipDescription": "Search and rescue vessels",
"destination": "USCLE",
"destinationETA": "2021-02-25T12:00:00.123456Z",
"currentPortGUID": "0ABC",
"currentPortLOCODE": "XF013",
"lastPortGUID": "0VAX",
"lastPortLOCODE": "USSKY",
"nextPortGUID": "0Z8Q",
"nextPortLOCODE": "USCLE",
"etaCalculated": "2021-02-25T12:00:00.123456Z",
"etaUpdated": "2021-02-25T12:00:00.123456Z",
"distanceToGo": 150.5,
"distanceTravelled": 200.3,
"avgSpeed": 12.1,
"maxSpeed": 13.3,
"createdAt": "2018-01-01T16:00:00.123Z",
"createdBy": "some.user",
"source": "Bluestaq",
"sourceDL": "AXE",
"origin": "THIRD_PARTY_DATASOURCE",
"dataMode": "TEST",
"origNetwork": "OPS1"
}
]Response
Accepted
Changes
- info
the endpoint scheme security
BasicAuthwas removed from the API
- info
Some revisions have not been checked yet.