Overview
The list of Vessels.
|
Endpoint name |
|
|
Source table |
|
|
Fixed view |
|
|
Requests allowed |
GET, POST, PATCH, DELETE |
|
Primary key |
|
|
Record ID |
|
|
Procedures |
|
Data
Field List
|
Property |
Type |
Format |
Description |
|
|
|
string |
|
Code |
Record ID primary key |
|
|
string |
uuid |
SystemId |
non-editable |
|
|
string |
|
Name |
optional |
|
|
string |
|
Call Sign |
optional |
|
|
string |
|
Address |
optional |
|
|
string |
|
Country of Origin |
optional |
|
|
string |
|
Global Location No. |
optional |
|
|
string |
|
|
optional |
|
|
boolean |
|
Own Vessel (Landed in Stock) |
optional |
|
|
string |
|
Stock Center Code |
optional |
|
|
string |
|
Original Producer |
optional |
|
|
string |
uuid |
SystemId of the vendor in Owners Vendor No. |
non-editable |
|
|
string |
|
Owners Vendor No. |
optional |
|
|
string |
|
Landing Harbour Code |
optional |
|
|
string |
|
Home Port |
optional |
|
|
boolean |
|
Freezer Trawler |
optional |
|
|
string |
|
Fishing Equipment Code |
optional |
|
|
string |
|
Default Tub Code |
optional |
|
|
string |
|
Default Fishing Area |
optional |
|
|
string |
|
Default Landing Type |
optional |
|
|
string |
|
Default Raw Material Location |
optional |
|
|
string |
|
Default Product Location |
optional |
|
|
string |
|
Processing Stage at Landing |
optional |
|
|
string |
|
Exchange Value Ratio Code |
optional |
|
|
integer |
|
System row version. Increments every time the record is modified. |
non-editable |
|
|
string |
date-time |
SystemModifiedAt (date and time of last change) |
non-editable |
Object Example
An example of one object:
{
"@odata.etag": "W/\"JzIwOzEyNzY0NzcyMDMwMjU5MDg1NjM2MTswMDsn\"",
"code": "BS123",
"systemId": "cdb0bfcd-6853-f111-b032-a998af6b54b1",
"name": "my vessel",
"callSign": "",
"address": "",
"countryOfOrigin": "",
"gln": "",
"eMail": "",
"ownVessel": false,
"stockCenterCode": "",
"originalProducer": "",
"ownersVendorId": "00000000-0000-0000-0000-000000000000",
"ownersVendorNo": "",
"portOfLanding": "",
"homePort": "",
"freezerTrawler": false,
"fishingEquipmentCode": "",
"defaultTubCode": "",
"defaultFishingArea": "",
"defaultLandingType": "",
"defaultRawMaterialLocation": "",
"defaultProductLocation": "",
"processingStageAtLanding": "",
"exchangeValueRatioCode": "",
"systemRowVersion": 2582338,
"lastModified": "2026-05-19T09:55:25.867Z"
}
Examples
Read vessels
Read all entries
Reads all vessels. The response is a list of vessel objects, as shown in Object Example.
GET
.../vessels
Read a specific entry
To read vessel with code ‘BS123’:
GET
.../vessels('BS123')
Read own vessels with selected properties
Reads only the code, name, call sign and stock center of the own vessels (landed in stock), using $filter and $select (the response is shortened).
Request:
GET .../vessels?$filter=ownVessel eq true&$select=code,name,callSign,stockCenterCode
Response:
{
"@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#vessels(code,name,callSign,stockCenterCode)",
"value": [
{
"@odata.etag": "W/\"JzIwOzE2NzY0NzcyMDMwMjU5MDg1NjM2MjswMDsn\"",
"code": "BS124",
"name": "Northern Star",
"callSign": "TFNS",
"stockCenterCode": ""
}
]
}
Create, change and delete vessels
Create a new vessel
Creates the own vessel BS124 with a name and a call sign.
Request:
POST .../vessels
Body:
{
"code": "BS124",
"name": "Northern Star",
"callSign": "TFNS",
"ownVessel": true
}
Response:
{
"@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#vessels/$entity",
"@odata.etag": "W/\"JzIwOzE2NzY0NzcyMDMwMjU5MDg1NjM2MjswMDsn\"",
"code": "BS124",
"systemId": "4e7a1c22-8f53-f111-b032-a998af6b54b1",
"name": "Northern Star",
"callSign": "TFNS",
"address": "",
"countryOfOrigin": "",
"gln": "",
"eMail": "",
"ownVessel": true,
"stockCenterCode": "",
"originalProducer": "",
"ownersVendorId": "00000000-0000-0000-0000-000000000000",
"ownersVendorNo": "",
"portOfLanding": "",
"homePort": "",
"freezerTrawler": false,
"fishingEquipmentCode": "",
"defaultTubCode": "",
"defaultFishingArea": "",
"defaultLandingType": "",
"defaultRawMaterialLocation": "",
"defaultProductLocation": "",
"processingStageAtLanding": "",
"exchangeValueRatioCode": "",
"systemRowVersion": 2582351,
"lastModified": "2026-05-19T10:12:40.203Z"
}
Change a vessel
Sets the call sign and e-mail of vessel BS123. A PATCH request needs the If-Match header with the @odata.etag of the record (or *).
Request:
PATCH .../vessels('BS123')
If-Match: *
Body:
{
"callSign": "TFAB",
"eMail": "vessel@example.com"
}
Response:
{
"@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#vessels/$entity",
"@odata.etag": "W/\"JzIwOzE3Njc0NzcyMDMwMjU5MDg1NjM2MzswMDsn\"",
"code": "BS123",
"systemId": "cdb0bfcd-6853-f111-b032-a998af6b54b1",
"name": "my vessel",
"callSign": "TFAB",
"address": "",
"countryOfOrigin": "",
"gln": "",
"eMail": "vessel@example.com",
"ownVessel": false,
"stockCenterCode": "",
"originalProducer": "",
"ownersVendorId": "00000000-0000-0000-0000-000000000000",
"ownersVendorNo": "",
"portOfLanding": "",
"homePort": "",
"freezerTrawler": false,
"fishingEquipmentCode": "",
"defaultTubCode": "",
"defaultFishingArea": "",
"defaultLandingType": "",
"defaultRawMaterialLocation": "",
"defaultProductLocation": "",
"processingStageAtLanding": "",
"exchangeValueRatioCode": "",
"systemRowVersion": 2582356,
"lastModified": "2026-05-19T10:20:03.517Z"
}
Delete a vessel
Deletes vessel BS124. On success the response is empty (HTTP status 204 No Content).
DELETE .../vessels('BS124')