Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Short Description

 Port is a Read-Only Resource.

Chapter Contents:

Long Description

Supported Methods

GET /Port

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

GET /Port/{key}

Get a single Port object.

Properties

Property
Type
Length
Description
Comments
portName
String20  
unLoCode
StringN/A  
country
/Country   
isCanal
Boolean   
itdsCode
String6  
locationCode
String3  
rpCode
String2  
wpiCode
Integer   
timezone
/Timezone   
terminalsArray of /Terminal   
businessPartnersArray of /BusinessPartner   


Example Response Body

Updated for API version 2.0.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)

{
    "portName": "BERGEN",
    "unLoCode": "NOBGO",
    "country": {
        "countryCode": "NO",
        "countryName": "NORWAY",
        "key": 410154,
        "self": "http://localhost:8080/ws/rest/Country/410154"
    },
    "isCanal": false,
    "createdDate": "2004-04-29T16:55:08",
    "modifiedDate": "2014-01-27T02:53:47",
    "itdsCode": "40311",
    "locationCode": "BGO",
    "rpCode": null,
    "wpiCode": null,
    "timezone": {
        "key": 133966,
        "self": "http://localhost:8080/ws/rest/Timezone/133966",
        "timezoneName": "Europe/Oslo"
    },
    "remarks": [],
    "self": "http://localhost:8080/ws/rest/Port/104146",
    "key": 104146
}

Top
Back

Related Content

 Expand to see related content

Unknown macro: {dynamiccontentbylabel}

  • No labels