Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Update an existing PortCost. Unchanged properties need not be updated.

Properties

PropertyTypeLengthMandatoryDescriptionComments
commissionOwnersCost
Float
 




portCost
 
Float
 




isPcFixed
 
Boolean
portCost




portCostCurrency
Float
    isPcFixed




documentLineText
String1024


portAgent
/PortAgent



portCostCode
/PortCostCode



portCostRevised
Float



isCharterersCost
Boolean
 




isOwnersCost
 
Boolean
 




portCostActual
 
Float
portCostCurrency




portCostEstimate
Float
    
documentLineText
String1024   
portAgent
/PortAgent    
portCostCode
/PortCostCode    
portCostRevised
Float    
isCharterersCost
Boolean    
isOwnersCost
Boolean    
portCostActual
Float    
portCostEstimate
Float    




vat/Vat



Response Body Example

GET /PortCost/1193297
Note

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)


Code Block
languagejs
{
    "key": 1193297,
    "self": "http://localhost:8080/ws/rest/PortCost/1193297",
    "commissionOwnersCost": 0,
    "createdDate": "2012-11-28T15:46:44",
    "modifiedDate": "2013-04-15T17:33:22",
    "portCost": 2000,
    "isPcFixed": false,
    "portCostCurrency": 0,
    "documentLineText": null,
    "portAgent": {
        "key": 1193295,
        "self": "http://localhost:8080/ws/rest/PortAgent/1193295"
    },
    "portCostCode": {
        "key": 1063744,
        "self": "http://localhost:8080/ws/rest/PortCostCode/1063744",
        "portCostCode": "SURVE",
        "portCostDesc": "Survey"
    },
    "portCostRevised": 0,
    "isCharterersCost": false,
    "isOwnersCost": false,
    "portCostActual": 2000,
    "portCostEstimate": 0,
    "remarks": []
}

Top
Back

Related Content

Expand
titleExpand to see related content


Wiki Markup
{dynamiccontentbylabel:showLabels=false|showSpace=false}



Short Description

Chapter Contents:

Table of Contents
maxLevel4
minLevel4

Long Description

Supported Methods

GET /PortCost

Get a list of PortCost objects. Filter to avoid huge amounts of data (see Filtering for search parameters). 

GET /PortCost/{key}

Get a single PortCost object.

POST /PortCost

Insert a new PortCost object.

PUT /PortCost/{key}

Update an existing PortCost. Unchanged properties need not be updated.

Properties

PropertyTypeLengthMandatoryDescriptionComments
commissionOwnersCost
Float



portCost
Float



isPcFixed
Boolean



portCostCurrency
Float



documentLineText
String1024


portAgent
/PortAgent



portCostCode
/PortCostCode



portCostRevised
Float



isCharterersCost
Boolean



isOwnersCost
Boolean



portCostActual
Float



portCostEstimate
Float



Response Body Example

GET /PortCost/1193297
Note

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)

...

Code Block
languagejs
{
    "key": 1193297,
    "self": "http://localhost:8080/ws/rest/PortCost/1193297",
    "commissionOwnersCost": 0,
    "createdDate": "2012-11-28T15:46:44",
    "modifiedDate": "2013-04-15T17:33:22",
    "portCost": 2000,
    "isPcFixed": false,
    "portCostCurrency": 0,
    "documentLineText": null,
    "portAgent": {
        "key": 1193295,
        "self": "http://localhost:8080/ws/rest/PortAgent/1193295"
    },
    "portCostCode": {
        "key": 1063744,
        "self": "http://localhost:8080/ws/rest/PortCostCode/1063744",
        "portCostCode": "SURVE",
        "portCostDesc": "Survey"
    },
    "portCostRevised": 0,
    "isCharterersCost": false,
    "isOwnersCost": false,
    "portCostActual": 2000,
    "portCostEstimate": 0,
    "remarks": []
}

Top
Back

Related Content

Expand
titleExpand to see related content


Wiki Markup
{dynamiccontentbylabel:showLabels=false|showSpace=false}