GET api/ports?includeServices={includeServices}&includeCruiseOperators={includeCruiseOperators}
Returns a list of ports with associated cruise operators and available services.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| includeServices |
Whether to include available services for each port. |
boolean |
Default value is False |
| includeCruiseOperators |
Whether to include cruise operators for each port. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
List of ports with optional cruise operators and services, ordered by number of cruise operators.
Collection of PortDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PortID | integer |
None. |
|
| PortName | string |
None. |
|
| CruiseOperators | Collection of CruiseOperatorDTO |
None. |
|
| ServicesAvailable |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.