/VesselCode
Short Description
Chapter Contents:
Long Description
Properties
Property | Type | Length | Mandatory | Description | Comments |
---|---|---|---|---|---|
master | /Individual | ||||
pool | /Pool | ||||
runningCostPerDay | Double | ||||
tcs | Array of /Tc | ||||
vessel | /Vessel | ||||
pniClub | /BusinessPartner | ||||
defaultBusinessUnit | /BusinessUnit | ||||
defaultCompany | /Company | ||||
nextDryDockDate | Date | ||||
nextDryDockDuration | Integer | ||||
vesselClass | /VesselClass | ||||
vesselCode | String | 6 | Yes | ||
fleetEntryDate | Date | ||||
fleetExitDate | Date | ||||
claimOperator | /User | ||||
vesselSeries | /VesselSeries | ||||
headOwnerPniClub | /BusinessPartner | ||||
hnmClub | /BusinessPartner | ||||
hnmGrossValue | Double | ||||
pniEntryDate | Date | ||||
pniExitDate | Date | ||||
masterAccount | /BusinessPartner | ||||
defaultBankAccount | /BankAccount | ||||
isSchedulable | Boolean | ||||
operator | /User | ||||
masterUser | /User | from API 3.15.0 | |||
technicalManager | /BusinessPartner | from API 3.19.0 | |||
accountantResponsible | /User | from API 3.19.0 | |||
calcFolsEca | Boolean | from API 3.19.0 |
Example Response Body
Updated for API version 2.0 using the new required date format yyyy-dd-MMThh:mi:ss to conform ISO 8601, (prior version has date format: yyyy-dd-MM hh:mi:ss)
{ "key": 1004472, "self": "http://platform-dev.dataloy.com:80/ws/rest/VesselCode/1004472", "createdDate": "2004-08-27T00:16:26", "modifiedDate": "2017-02-17T09:26:39", "createdById": 1000004, "vessel": { "vesselName": "VESSEL 1", "key": 1002473, "self": "http://platform-dev.dataloy.com:80/ws/rest/Vessel/1002473" }, "vesselCode": "7", "operator": null, "runningCostPerDay": 0, "master": { "individualName": "Master", "key": 185508392, "self": "http://platform-dev.dataloy.com:80/ws/rest/Individual/185508392" }, "defaultBusinessUnit": { "key": 170370718, "self": "http://platform-dev.dataloy.com:80/ws/rest/BusinessUnit/170370718", "businessUnitName": "BU 1", "businessUnitCode": "BU1" }, "defaultCompany": { "key": 163348582, "self": "http://platform-dev.dataloy.com:80/ws/rest/Company/163348582", "companyName": "Company AS", "companyCode": "123" }, "headOwnerPniClub": null, "hnmClub": null, "masterAccount": null, "masterUser": null, "pniClub": null, "vesselClass": { "key": 215686357, "self": "http://platform-dev.dataloy.com:80/ws/rest/VesselClass/215686357", "vesselClassCode": "S", "vesselClassDesc": "SW Small Vessel Type" }, "vesselSeries": null, "fleetEntryDate": null, "fleetExitDate": null, "hnmGrossValue": 0, "isSchedulable": true, "nextDryDockDate": null, "nextDryDockDuration": 0, "pniEntryDate": null, "pniExitDate": null, "claimOperator": null, "defaultBankAccount": null, "pool": null, "remarks": [], "isObjectActive": true }