GET v1/portActivities/{companyCode}?apiToken={apiToken}
Returns a list of all port activities associated with a specific company
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyCode |
The company code you are retreiving information for |
string |
Required |
apiToken |
Your API Token |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "id": 2, "activityTypeCode": "sample string 3", "needsCargo": true, "needsBerth": true, "needsROB": true }, { "name": "sample string 1", "id": 2, "activityTypeCode": "sample string 3", "needsCargo": true, "needsBerth": true, "needsROB": true } ]
application/xml, text/xml
Sample:
<PortActivities xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PortActivity> <Name>sample string 1</Name> <ID>2</ID> <ActivityTypeCode>sample string 3</ActivityTypeCode> <NeedsCargo>true</NeedsCargo> <NeedsBerth>true</NeedsBerth> <NeedsROB>true</NeedsROB> </PortActivity> <PortActivity> <Name>sample string 1</Name> <ID>2</ID> <ActivityTypeCode>sample string 3</ActivityTypeCode> <NeedsCargo>true</NeedsCargo> <NeedsBerth>true</NeedsBerth> <NeedsROB>true</NeedsROB> </PortActivity> </PortActivities>