POST api/VesselDestinationVerbatimTranslation
Takes a vessel's IMO number, or a series of IMO numbers, and converts the vessel's destination according to its latest AIS transmission to a most-likely port.
Request Information
URI Parameters
None.
Body Parameters
VesselDestinationVerbatimTranslationPostParametersName | Description | Type | Additional information |
---|---|---|---|
VesselIMO |
Allows filtering for specific vessels using their IMO number(s) |
Collection of string |
Required Max length: 7 Min length: 7 |
Request Formats
application/json, text/json
Sample:
{ "VesselIMO": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<VesselDestinationVerbatimTranslationPostParameters xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <VesselIMO> <string>sample string 1</string> <string>sample string 2</string> </VesselIMO> </VesselDestinationVerbatimTranslationPostParameters>
Response Information
Resource Description
Collection of VesselDestinationVerbatimTranslationResultName | Description | Type | Additional information |
---|---|---|---|
VerbatimDestination |
The latest verbatim destination as transmitted by the vessel on AIS |
string |
None. |
DestinationPort |
The most likely destination port |
Port |
None. |
Likelihood |
The estimatied likelihood of that destination port being correct (scale 0 for unlikely to 100 for likely) |
decimal number |
None. |
VesselImoNumber |
The original IMO number provided to the query |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "VerbatimDestination": "sample string 1", "DestinationPort": { "Guid": "51cc4ee8-2052-47fa-992b-d6fd5b768b74", "Name": "sample string 2", "Locode": "sample string 3", "WpiNumber": "sample string 4", "Country": { "Name": "sample string 1", "Alpha2Code": "sample string 2", "Alpha3Code": "sample string 3", "NumericCode": "sample string 4", "Region": "sample string 5", "Continent": "sample string 6" } }, "Likelihood": 2.0, "VesselImoNumber": "sample string 3" }, { "VerbatimDestination": "sample string 1", "DestinationPort": { "Guid": "51cc4ee8-2052-47fa-992b-d6fd5b768b74", "Name": "sample string 2", "Locode": "sample string 3", "WpiNumber": "sample string 4", "Country": { "Name": "sample string 1", "Alpha2Code": "sample string 2", "Alpha3Code": "sample string 3", "NumericCode": "sample string 4", "Region": "sample string 5", "Continent": "sample string 6" } }, "Likelihood": 2.0, "VesselImoNumber": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfVesselDestinationVerbatimTranslationResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <VesselDestinationVerbatimTranslationResult> <VerbatimDestination>sample string 1</VerbatimDestination> <DestinationPort> <Guid>51cc4ee8-2052-47fa-992b-d6fd5b768b74</Guid> <Name>sample string 2</Name> <Locode>sample string 3</Locode> <WpiNumber>sample string 4</WpiNumber> <Country> <Name>sample string 1</Name> <Alpha2Code>sample string 2</Alpha2Code> <Alpha3Code>sample string 3</Alpha3Code> <NumericCode>sample string 4</NumericCode> <Region>sample string 5</Region> <Continent>sample string 6</Continent> </Country> </DestinationPort> <Likelihood>2</Likelihood> <VesselImoNumber>sample string 3</VesselImoNumber> </VesselDestinationVerbatimTranslationResult> <VesselDestinationVerbatimTranslationResult> <VerbatimDestination>sample string 1</VerbatimDestination> <DestinationPort> <Guid>51cc4ee8-2052-47fa-992b-d6fd5b768b74</Guid> <Name>sample string 2</Name> <Locode>sample string 3</Locode> <WpiNumber>sample string 4</WpiNumber> <Country> <Name>sample string 1</Name> <Alpha2Code>sample string 2</Alpha2Code> <Alpha3Code>sample string 3</Alpha3Code> <NumericCode>sample string 4</NumericCode> <Region>sample string 5</Region> <Continent>sample string 6</Continent> </Country> </DestinationPort> <Likelihood>2</Likelihood> <VesselImoNumber>sample string 3</VesselImoNumber> </VesselDestinationVerbatimTranslationResult> </ArrayOfVesselDestinationVerbatimTranslationResult>