POST api/Vessels

Returns any records matching the search criteria provided.

Request Information

URI Parameters

None.

Body Parameters

The parameters for the search

VesselsPostParameters
NameDescriptionTypeAdditional information
Imo

The IMO number of the vessel

string

Required

Max length: 7

Min length: 7

Request Formats

application/json, text/json

Sample:
{
  "Imo": "sample string 1"
}

application/xml, text/xml

Sample:
<VesselsPostParameters xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Imo>sample string 1</Imo>
</VesselsPostParameters>

Response Information

Resource Description

Collection of VesselsAPIVessel
NameDescriptionTypeAdditional information
Gt

integer

None.

VesselIdentifier

string

None.

Name

string

None.

IMO

string

None.

MMSI

string

None.

CallSign

string

None.

Flag

Country

None.

AISType

string

None.

Type

string

None.

SubType

string

None.

Dwt

integer

None.

Length

decimal number

None.

Breadth

decimal number

None.

CommercialOwner

string

None.

EffectiveController

string

None.

TechnicalManager

string

None.

FinancialOwner

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Gt": 1,
    "VesselIdentifier": "sample string 1",
    "Name": "sample string 2",
    "IMO": "sample string 3",
    "MMSI": "sample string 4",
    "CallSign": "sample string 5",
    "Flag": {
      "Name": "sample string 1",
      "Alpha2Code": "sample string 2",
      "Alpha3Code": "sample string 3",
      "NumericCode": "sample string 4",
      "Region": "sample string 5",
      "Continent": "sample string 6"
    },
    "AISType": "sample string 6",
    "Type": "sample string 7",
    "SubType": "sample string 8",
    "Dwt": 1,
    "Length": 1.0,
    "Breadth": 1.0,
    "CommercialOwner": "sample string 9",
    "EffectiveController": "sample string 10",
    "TechnicalManager": "sample string 11",
    "FinancialOwner": "sample string 12"
  },
  {
    "Gt": 1,
    "VesselIdentifier": "sample string 1",
    "Name": "sample string 2",
    "IMO": "sample string 3",
    "MMSI": "sample string 4",
    "CallSign": "sample string 5",
    "Flag": {
      "Name": "sample string 1",
      "Alpha2Code": "sample string 2",
      "Alpha3Code": "sample string 3",
      "NumericCode": "sample string 4",
      "Region": "sample string 5",
      "Continent": "sample string 6"
    },
    "AISType": "sample string 6",
    "Type": "sample string 7",
    "SubType": "sample string 8",
    "Dwt": 1,
    "Length": 1.0,
    "Breadth": 1.0,
    "CommercialOwner": "sample string 9",
    "EffectiveController": "sample string 10",
    "TechnicalManager": "sample string 11",
    "FinancialOwner": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVesselsAPIVessel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <VesselsAPIVessel>
    <VesselIdentifier>sample string 1</VesselIdentifier>
    <Name>sample string 2</Name>
    <IMO>sample string 3</IMO>
    <MMSI>sample string 4</MMSI>
    <CallSign>sample string 5</CallSign>
    <Flag>
      <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>
    </Flag>
    <AISType>sample string 6</AISType>
    <Type>sample string 7</Type>
    <SubType>sample string 8</SubType>
    <Dwt>1</Dwt>
    <Length>1</Length>
    <Breadth>1</Breadth>
    <CommercialOwner>sample string 9</CommercialOwner>
    <EffectiveController>sample string 10</EffectiveController>
    <TechnicalManager>sample string 11</TechnicalManager>
    <FinancialOwner>sample string 12</FinancialOwner>
    <Gt>1</Gt>
  </VesselsAPIVessel>
  <VesselsAPIVessel>
    <VesselIdentifier>sample string 1</VesselIdentifier>
    <Name>sample string 2</Name>
    <IMO>sample string 3</IMO>
    <MMSI>sample string 4</MMSI>
    <CallSign>sample string 5</CallSign>
    <Flag>
      <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>
    </Flag>
    <AISType>sample string 6</AISType>
    <Type>sample string 7</Type>
    <SubType>sample string 8</SubType>
    <Dwt>1</Dwt>
    <Length>1</Length>
    <Breadth>1</Breadth>
    <CommercialOwner>sample string 9</CommercialOwner>
    <EffectiveController>sample string 10</EffectiveController>
    <TechnicalManager>sample string 11</TechnicalManager>
    <FinancialOwner>sample string 12</FinancialOwner>
    <Gt>1</Gt>
  </VesselsAPIVessel>
</ArrayOfVesselsAPIVessel>