POST api/ais/vessel
Request Information
URI Parameters
None.
Body Parameters
VesselInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Mmsi | unsigned integer |
None. |
|
| Name | string |
None. |
|
| CallSign | string |
None. |
|
| ShipType | string |
None. |
|
| NavStatus | string |
None. |
|
| ImoNumber | unsigned integer |
None. |
|
| Destination | string |
None. |
|
| Draught | decimal number |
None. |
|
| EtaMonth | unsigned integer |
None. |
|
| EtaDay | unsigned integer |
None. |
|
| EtaHour | unsigned integer |
None. |
|
| EtaMinute | unsigned integer |
None. |
|
| Latitude | decimal number |
None. |
|
| LatitudeDMS | string |
None. |
|
| Longitude | decimal number |
None. |
|
| LongitudeDMS | string |
None. |
|
| Distance | decimal number |
None. |
|
| PrevDistance | decimal number |
None. |
|
| Speed | decimal number |
None. |
|
| Course | decimal number |
None. |
|
| Heading | decimal number |
None. |
|
| LastUpdate | date |
None. |
|
| CPA | decimal number |
None. |
|
| PrevCPA | decimal number |
None. |
|
| TCPA | decimal number |
None. |
|
| PrevTCPA | decimal number |
None. |
|
| RiskLevel | string |
None. |
|
| PrevRiskLevel | string |
None. |
|
| Event | string |
None. |
|
| OwnVessel | string |
None. |
|
| DimensionToBow | unsigned integer |
None. |
|
| DimensionToStern | unsigned integer |
None. |
|
| DimensionToPort | unsigned integer |
None. |
|
| DimensionToStarboard | unsigned integer |
None. |
|
| LOA | unsigned integer |
None. |
|
| Beam | unsigned integer |
None. |
|
| HullDistance | decimal number |
None. |
|
| HullCPA | decimal number |
None. |
|
| SafetyRadius | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mmsi": 1,
"Name": "sample string 2",
"CallSign": "sample string 3",
"ShipType": "sample string 4",
"NavStatus": "sample string 5",
"ImoNumber": 6,
"Destination": "sample string 7",
"Draught": 8.1,
"EtaMonth": 9,
"EtaDay": 10,
"EtaHour": 11,
"EtaMinute": 12,
"Latitude": 13.1,
"LatitudeDMS": "sample string 14",
"Longitude": 15.1,
"LongitudeDMS": "sample string 16",
"Distance": 17.1,
"PrevDistance": 18.1,
"Speed": 19.1,
"Course": 20.1,
"Heading": 21.1,
"LastUpdate": "2026-11-01T18:46:04.3189746+07:00",
"CPA": 23.1,
"PrevCPA": 24.1,
"TCPA": 25.1,
"PrevTCPA": 26.1,
"RiskLevel": "sample string 27",
"PrevRiskLevel": "sample string 28",
"Event": "sample string 29",
"OwnVessel": "sample string 30",
"DimensionToBow": 31,
"DimensionToStern": 32,
"DimensionToPort": 33,
"DimensionToStarboard": 34,
"LOA": 63,
"Beam": 67,
"HullDistance": 35.1,
"HullCPA": 36.1,
"SafetyRadius": 37.1
}
application/xml, text/xml
Sample:
<VesselInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CPMS_Services.Models"> <CPA>23.1</CPA> <CallSign>sample string 3</CallSign> <Course>20.1</Course> <Destination>sample string 7</Destination> <DimensionToBow>31</DimensionToBow> <DimensionToPort>33</DimensionToPort> <DimensionToStarboard>34</DimensionToStarboard> <DimensionToStern>32</DimensionToStern> <Distance>17.1</Distance> <Draught>8.1</Draught> <EtaDay>10</EtaDay> <EtaHour>11</EtaHour> <EtaMinute>12</EtaMinute> <EtaMonth>9</EtaMonth> <Event>sample string 29</Event> <Heading>21.1</Heading> <HullCPA>36.1</HullCPA> <HullDistance>35.1</HullDistance> <ImoNumber>6</ImoNumber> <LastUpdate>2026-11-01T18:46:04.3189746+07:00</LastUpdate> <Latitude>13.1</Latitude> <LatitudeDMS>sample string 14</LatitudeDMS> <Longitude>15.1</Longitude> <LongitudeDMS>sample string 16</LongitudeDMS> <Mmsi>1</Mmsi> <Name>sample string 2</Name> <NavStatus>sample string 5</NavStatus> <OwnVessel>sample string 30</OwnVessel> <PrevCPA>24.1</PrevCPA> <PrevDistance>18.1</PrevDistance> <PrevRiskLevel>sample string 28</PrevRiskLevel> <PrevTCPA>26.1</PrevTCPA> <RiskLevel>sample string 27</RiskLevel> <SafetyRadius>37.1</SafetyRadius> <ShipType>sample string 4</ShipType> <Speed>19.1</Speed> <TCPA>25.1</TCPA> </VesselInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.