POST api/VesselLatestPositionGeoJSON
Returns the latest position for a vessel or array of vessels
Request Information
URI Parameters
None.
Body Parameters
The IMO or MMSI number, or array of IMO or MMSI numbers, for the request
VesselIdentifiersName | Description | Type | Additional information |
---|---|---|---|
Identifiers | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identifiers": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<VesselIdentifiers xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identifiers> <string>sample string 1</string> <string>sample string 2</string> </Identifiers> </VesselIdentifiers>
Response Information
Resource Description
The API will return the route in GeoJSON format (see https://geojson.org/).
The unescaped GeoJSON string can be found in the Content of the HttpResponseMessage.
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |