/PortCost

Short Description

Chapter Contents:

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



vat/Vat



serviceOrderLine/ServiceOrderLine



Response Body Example

GET /PortCost/1193297

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": 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 to see related content


Unknown macro: {dynamiccontentbylabel}

Short Description

Chapter Contents:

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

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": 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 to see related content


Unknown macro: {dynamiccontentbylabel}