...
Update an existing PortCost. Unchanged properties need not be updated.
Properties
Property | Type | Length | Mandatory | Description | Comments |
---|
commissionOwnersCost | Float |
portCost | | | | isPcFixed portCostCurrency | | | | documentLineText | String | 1024 | | | |
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 |
---|
|
{
"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 |
---|
title | Expand to see related content |
---|
|
Wiki Markup |
---|
{dynamiccontentbylabel:showLabels=false|showSpace=false} |
|
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
Property | Type | Length | Mandatory | Description | Comments |
---|
commissionOwnersCost | Float |
|
|
|
|
portCost | Float |
|
|
|
|
isPcFixed | Boolean |
|
|
|
|
portCostCurrency | Float |
|
|
|
|
documentLineText | String | 1024 |
|
|
|
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 |
---|
|
{
"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 |
---|
title | Expand to see related content |
---|
|
Wiki Markup |
---|
{dynamiccontentbylabel:showLabels=false|showSpace=false} |
|