Nemo Ship Database Service (1.0.0)

Download OpenAPI specification:

License: MIT

API for managing vessel data.

Vessel Management

Create ice class approval request to Traficom

Set ice class status PENDING and submit email to Traficom

Authorizations:
bearerAuth
path Parameters
esdId
required
string

The unique identifier for the ship.

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Request Body schema: application/json
required
requestIceClassConfirmation
required
boolean

Indicator that authorities should study ship certificates and approve new ice class

businessId
required
string

Business id of the requester's company

certificateIssueDate
string <date>

The issue date of the certificate

certificateDateOfExpiry
string <date>

The expiry date of the certificate

certificateIssuerCode
string

The issuer code of the certificate

certificateIssuerTypeCode
string

The type code of the certificate issuer

certificateIssuerName
string

The name of the certificate issuer

certificateIssuerFlagStateCode
string

The flag state code of the certificate issuer

visitId
string

The visitId of the port call for which a certificate has been sent with the CRT formality. This information is required when requestIceClassConfirmation is false.

formalityId
string <uuid>

The formalityId of the CRT formality. This information is required when when requestIceClassConfirmation is false.

Responses

Request samples

Content type
application/json
{
  • "requestIceClassConfirmation": true,
  • "businessId": "string",
  • "certificateIssueDate": "2019-08-24",
  • "certificateDateOfExpiry": "2019-08-24",
  • "certificateIssuerCode": "string",
  • "certificateIssuerTypeCode": "string",
  • "certificateIssuerName": "string",
  • "certificateIssuerFlagStateCode": "string",
  • "visitId": "string",
  • "formalityId": "6b69b3cd-3bc7-4873-890f-da9ceb6f2b40"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "string"
}

Delete ship certificate.

Delete certificate TM("International Tonnage Certificate"), REG("Certificate of Registry"), CL("Classification certificate"), LL("International Load Line Certificate or Exception"), ISPS(

Authorizations:
bearerAuth
path Parameters
esdId
required
string

The unique identifier for the ship.

certificateType
required
string

The unique identifier of the certificate.

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Responses

Response samples

Content type
application/json
{
  • "errorCode": "string",
  • "errorMessage": "string"
}

Create or update ship certificate

Create or update certificate TM("International Tonnage Certificate"), REG("Certificate of Registry"), CL("Classification certificate"), LL("International Load Line Certificate or Exception"), ISPS(

Authorizations:
bearerAuth
path Parameters
esdId
required
string

The unique identifier for the ship.

certificateType
required
string

The unique identifier of the certificate.

query Parameters
sendNotificationEmail
boolean
Default: true

Whether to send notification email to authorities

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Request Body schema: application/json
required
attachmentId
required
string <uuid>

The unique identifier of the attachment

attachmentFileName
required
string

The file name of the attachment

attachmentNameCode
required
string

The code name of the attachment

certificateTypeCode
required
string

The type code of the certificate. Types: TM ('International Tonnage Certificate'), REG ('Certificate of Registry'),CL ('Classification certificate'), LL ('International Load Line Certificate or Exception'), ISPS ('International Ship Security Certificate or Interim International Ship Security Certificate') and OTHER ('Other type of certificate')

certificateDescription
string

The description of the certificate. Required if certificateTypeCode is 'OTHER'

certificateIssueDate
required
string <date>

The issue date of the certificate

certificateDateOfExpiry
required
string <date>

The expiry date of the certificate

certificateIssuerCode
required
string

The issuer code of the certificate

certificateIssuerTypeCode
required
string

The type code of the certificate issuer

certificateIssuerName
required
string

The name of the certificate issuer

certificateIssuerFlagStateCode
required
string

The flag state code of the certificate issuer

visitId
required
string

The visitId of the port call for which a certificate has been sent with the CRT formality. This information is required when sending an email.

formalityId
required
string <uuid>

The formalityId of the CRT formality. This information is required when sending an email.

Responses

Request samples

Content type
application/json
{
  • "attachmentId": "96b9bbac-86d3-4497-9e0c-1f8e3803eddb",
  • "attachmentFileName": "string",
  • "attachmentNameCode": "string",
  • "certificateTypeCode": "string",
  • "certificateDescription": "string",
  • "certificateIssueDate": "2019-08-24",
  • "certificateDateOfExpiry": "2019-08-24",
  • "certificateIssuerCode": "string",
  • "certificateIssuerTypeCode": "string",
  • "certificateIssuerName": "string",
  • "certificateIssuerFlagStateCode": "string",
  • "visitId": "string",
  • "formalityId": "6b69b3cd-3bc7-4873-890f-da9ceb6f2b40"
}

Response samples

Content type
application/json
{
  • "errorCode": "string",
  • "errorMessage": "string"
}

API

Get S3 presigned url for certificate download

Get S3 presigned url for certificate download

Authorizations:
bearerAuth
path Parameters
esdId
required
string

The unique identifier for the ship.

attachmentId
required
string

The unique s3 identifier for attachment.

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Responses

Response samples

Content type
application/json
{
  • "errorCode": "string",
  • "errorMessage": "string"
}

Scan attachment for viruses and move to archive

Scan attachment for viruses and move to archive

Authorizations:
bearerAuth
path Parameters
esdId
required
string

The unique identifier for the ship.

attachmentId
required
string

The unique s3 identifier for attachment.

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Responses

Response samples

Content type
application/json
{
  • "errorCode": "string",
  • "errorMessage": "string"
}

Certificates

Get S3 presigned url for certificate upload

Get S3 presigned url for certificate upload

Authorizations:
bearerAuth
header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Responses

Response samples

Content type
application/json
{
  • "url": "string",
  • "objectKey": "string"
}

Integrations API

Get for a list of ships by imoId

Authorizations:
bearerAuth
path Parameters
imoId
required
string
Example: 9220330

A ship’s permanent identification number in international maritime transport.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Ship API

Get single ship by ESDId

Authorizations:
bearerAuth
path Parameters
esdId
required
string

The ESDId (e.g. ESDID1234567890) of the ship

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Responses

Response samples

Content type
application/json
{
  • "activeShipData": {
    },
  • "iceClass": {
    },
  • "certificates": [
    ]
}

Search ships

Authorizations:
bearerAuth
query Parameters
search
required
string

Search by ESD ID, ship name, imo number, mmsi number or call sign

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Search ships by query parameter

Authorizations:
bearerAuth
query Parameters
esdId
string

Partial or exact match on ESDId

callSignId
string

Partial or exact match on the callSignId

imoId
string

Filter by ImoId

name
string

Partial or exact match on the vessel name

cfrId
string

Partial or exact match on the CFR Id

eniId
string

Partial or exact match on the ENI Id

mmsiId
string

Partial or exact match on the MMSI Id

otherId
string

Partial or exact match on the Other ID

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

V2 Vessel Management

Create ice class approval request to Traficom

Set ice class status PENDING and submit email to Traficom

Authorizations:
bearerAuth
path Parameters
vesselId
required
string

The unique identifier for the ship.

header Parameters
organizationBusinessId
required
string

The business ID (y-tunnus) of the organization (default is empty string for virtu users)

Request Body schema: application/json
required
requestIceClassConfirmation
required
boolean

Indicator that authorities should study ship certificates and approve new ice class

businessId
required
string

Business id of the requester's company

certificateIssueDate
string <date>

The issue date of the certificate

certificateDateOfExpiry
string <date>

The expiry date of the certificate

certificateIssuerCode
string

The issuer code of the certificate

certificateIssuerTypeCode
string

The type code of the certificate issuer

certificateIssuerName
string

The name of the certificate issuer

certificateIssuerFlagStateCode
string

The flag state code of the certificate issuer

visitId
string

The visitId of the port call for which a certificate has been sent with the CRT formality. This information is required when requestIceClassConfirmation is false.

formalityId
string <uuid>

The formalityId of the CRT formality. This information is required when when requestIceClassConfirmation is false.

Responses

Request samples

Content type
application/json
{
  • "requestIceClassConfirmation": true,
  • "businessId": "string",
  • "certificateIssueDate": "2019-08-24",
  • "certificateDateOfExpiry": "2019-08-24",
  • "certificateIssuerCode": "string",
  • "certificateIssuerTypeCode": "string",
  • "certificateIssuerName": "string",
  • "certificateIssuerFlagStateCode": "string",
  • "visitId": "string",
  • "formalityId": "6b69b3cd-3bc7-4873-890f-da9ceb6f2b40"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "string"
}

V2 internal

Internal use only. Search ships from portnetdump

Search ship from portnetdata dump. This will be deprecated in the future.

Authorizations:
bearerAuth
query Parameters
name
string
imoid
string
callsignid
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

V2 Ships

Search ships (v2)

Authorizations:
bearerAuth
query Parameters
name
string
imoid
string
callsignid
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new Ship

Create a new Ship with the provided data.

Authorizations:
bearerAuth
Request Body schema: application/json
required
required
object or null (ShipId)

Details of the ship ID.

required
object (ShipData)

Additional data about the ship.

Responses

Request samples

Content type
application/json
{
  • "shipId": {
    },
  • "shipData": {
    }
}

Response samples

Content type
application/json
{
  • "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "deleted": "2019-08-24T14:15:22Z",
  • "name": "string",
  • "imoid": "string",
  • "callsignid": "string",
  • "mmsiid": "string",
  • "registrationcountry": "string",
  • "typecode": "string",
  • "iceclasscode": "string",
  • "grossweight": 0.1,
  • "netweight": 0.1
}

Modify a new Ship

Modify ship a new Ship with the provided data.

Authorizations:
bearerAuth
Request Body schema: application/json
required
required
object or null (ShipId)

Details of the ship ID.

required
object (ShipData)

Additional data about the ship.

Responses

Request samples

Content type
application/json
{
  • "shipId": {
    },
  • "shipData": {
    }
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "string"
}

Search ship id's

Authorizations:
bearerAuth
query Parameters
name
string
callsignid
string
mmsid
string
imoid
string
eniid
string
cfrid
string
otherid
string
header Parameters
organizationBusinessId
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Search ship id's

Authorizations:
bearerAuth
query Parameters
queryparameter
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get ship by UUID (v2)

Authorizations:
bearerAuth
path Parameters
uuid
required
string <uuid>
header Parameters
organizationBusinessId
required
string

Responses

Response samples

Content type
application/json
{
  • "shipId": {
    },
  • "shipData": {
    },
  • "UsedTransportMeans": {
    },
  • "ShipV2": {
    },
  • "ShipCertificates": [
    ]
}

Get ship history (v2)

Authorizations:
bearerAuth
query Parameters
datefrom
required
string <date>

Start date for the history query (inclusive)

dateto
required
string <date>

End date for the history query (inclusive)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

V2 Ships EMSA

Get ship by UUID (v2)

Authorizations:
bearerAuth
path Parameters
uuid
required
string <uuid>

Responses

Response samples

Content type
application/json
{
  • "callSignId": "SVDJ4",
  • "name": "Knossos Palace",
  • "IMONumberIndicator": true,
  • "IMOId": "9220330",
  • "MMSIId": "051726000",
  • "ENIId": "47000279",
  • "CFRId": "ESP000015003",
  • "otherId": "FOO123BAR",
  • "typeCode": 8454,
  • "grossWeight": 34.541,
  • "netWeight": 34.541,
  • "relatedTransportMode": 8,
  • "externalMarkingText": "CHRISTINA",
  • "widthMeasure": 13.45,
  • "ICEClassCode": "FS1A",
  • "mainEngineAvailabilityIndicator": true,
  • "deadWeightTonnage": 550.427,
  • "summerDraught": 10.2,
  • "freshWaterDraught": 10.2,
  • "reducedGrossWeight": 50234.8,
  • "overallLength": 150.42,
  • "betweenPerpendicularsLength": 20.2,
  • "openWaterSpeedMeasure": 16.4,
  • "registrationCountry": {
    },
  • "operator": {
    },
  • "owner": {
    },
  • "registrationEvent": {
    },
  • "specifiedSatelliteIdentification": [
    ],
  • "shipCompanyParty": {
    },
  • "chartererParty": {
    },
  • "vesselCharacteristic": {
    },
  • "onboardMainEngine": [
    ],
  • "onboardAuxiliaryEngine": [
    ],
  • "commercialManagerParty": {
    },
  • "technicalManagerParty": {
    }
}

V2 Documents

Upload a PDF document bound to the Ship (v2)

Authorizations:
bearerAuth
path Parameters
uuid
required
string <uuid>
Request Body schema: multipart/form-data
required
file
required
string <binary>

Responses

Upload an additional JSON document bound to the Ship (v2)

Authorizations:
bearerAuth
path Parameters
uuid
required
string <uuid>
Request Body schema: application/json
required
object

Arbitrary JSON document associated with the ship

Responses

Request samples

Content type
application/json
{ }