GET /udl/ais/tuple
Changed onService operation to dynamically query data and only return specified columns/fields. Requested columns are specified by the 'columns' query parameter and should be a comma separated list of valid fields for the specified data type. classificationMarking is always returned. See the queryhelp operation (/udl/<datatype>/queryhelp) for more details on valid/required query parameter information. An example URI: /udl/elset/tuple?columns=satNo,period&epoch=>now-5 hours would return the satNo and period of elsets with an epoch greater than 5 hours ago.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/udl/ais/tuple
- Authnone declared
Query parameters
Comma-separated list of valid field names for this data type to be returned in the response. Only the fields specified will be returned as well as the classification marking of the data, if applicable. See the ‘queryhelp’ operation for a complete list of possible fields.
The timestamp that the vessel position was recorded, in ISO 8601 UTC format. (YYYY-MM-DDTHH:MM:SS.ssssssZ)
Response
OK
Example response
[
{
"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"
}
]Changes
- info
added the new optional
queryrequest parameterfirstResult - info
added the new optional
queryrequest parametermaxResults
- info
- info
api operation id
findAllTuplesremoved and replaced with - info
the endpoint scheme security
BasicAuthwas removed from the API
- info
Some revisions have not been checked yet.