FAQs
Endpoints for retrieving frequently asked questions (FAQs). Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/FAQs/{portID} |
Returns FAQs for a specific port. |
| GET api/FAQs |
Returns FAQs grouped by port for all ports that have FAQs available. |
EventsLocations
Endpoints for retrieving event parking location information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/eventslocations?includeServices={includeServices}&includeEvents={includeEvents} |
Returns event parking locations (ports) with associated event operators and available services. |
Ports
Endpoints for retrieving port information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/ports?includeServices={includeServices}&includeCruiseOperators={includeCruiseOperators} |
Returns a list of ports with associated cruise operators and available services. |
Whiteboard
| API | Description |
|---|---|
| GET api/whiteboard/cruise-ships |
Returns ship names that have live cruises present or in the future. |
| GET api/whiteboard/cruise-ship/{cruiseShipName}/parking-info?excludeZeroTotalCapacity={excludeZeroTotalCapacity} |
Returns parking info for a cruise ship, including per-zone spaces and currently parked vehicles. Includes operatorName. |
| GET api/whiteboard/cruise-ship/{cruiseShipName}/cruise-numbers |
Returns future live cruise numbers for a ship. |
| GET api/whiteboard/cruise-ships/spaces?portNames={portNames}&excludeZeroTotalCapacity={excludeZeroTotalCapacity}&lookupDate={lookupDate} |
Returns capacity info for the next cruise to depart per ship (optionally filtered by port names), excluding zero capacity when requested. Each item includes operatorName. |
| GET api/whiteboard/cruise-ships/spaces-between?start={start}&end={end}&portNames={portNames}&excludeZeroTotalCapacity={excludeZeroTotalCapacity} |
Returns capacity info for all cruises between two dates for all cruise ships, with optional port filter, ordered by operator, ship, then departure. Each item includes operatorName. |
| GET api/whiteboard/cruise-ship/{cruiseShipName}/cruise/{cruiseNumber}/parking-info?excludeZeroTotalCapacity={excludeZeroTotalCapacity} |
Returns cruise-specific capacity and booked counts, with per-zone breakdown. |
Vehicle
Endpoints for vehicle information and vehicle type lookups. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/Vehicle?registration={registration} |
Looks up vehicle details by registration number using external vehicle lookup services. |
| GET api/VehicleTypes |
Returns a list of all available vehicle types. |
VoucherCodeCheck
Endpoints for validating voucher codes and retrieving voucher information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| POST api/VoucherCodeCheck |
Validates a voucher code for a booking. This endpoint allows empty voucher codes. |
| POST api/VoucherCodeCheck/{newVoucherCode} |
Validates a specific voucher code for a booking. |
| GET api/VoucherCodeReverseLookup/{voucherCode} |
Performs a reverse lookup of a voucher code to retrieve associated cruise information and discount details. |
ParkingZones
Endpoints for retrieving parking zone information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/parkingzones?cruise_ID={cruise_ID}&vehicleType_ID={vehicleType_ID} |
Returns available parking zones for a specific cruise, optionally filtered by vehicle type and capacity availability. |
Cost
Endpoints for calculating booking costs and previews. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| POST api/CostPreview |
Calculates and returns a cost summary for a booking including vehicle costs, services, and voucher discounts. |
EventSubType
Endpoints for retrieving event sub-type (cruise ship) information for events. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/EventType/{eventTypeID}/Events?portID={portID} |
Returns a list of public-facing event sub-types (cruise ships) for a specific event type (cruise operator), optionally filtered by port. |
EventsParking
Endpoints for retrieving event parking information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/EventsParking/{eventSubType_ID}/Events |
Returns a list of public-facing event parking options for a specific event sub-type (cruise ship). |
Services
Endpoints for retrieving service information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/Cruise/{cruiseID}/Services |
Returns available services for a specific cruise, including service questions and fields. |
| GET api/Services |
Returns all available services grouped by port, including service questions and fields. |
CruiseShip
Endpoints for retrieving cruise ship information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/CruiseOperator/{cruiseOperatorId}/CruiseShips?portID={portID} |
Returns a list of public-facing cruise ships for a specific cruise operator, optionally filtered by port. |
Cruises
Endpoints for retrieving cruise information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/CruiseShip/{cruiseShip_ID}/Cruises |
Returns a list of public-facing cruises for a specific cruise ship, including availability and capacity information. |
Contact
Endpoints for contact form submissions. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| POST api/Contact |
Submits a contact form message and sends an email notification. |
CruiseOperators
Endpoints for retrieving cruise operator information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/CruiseOperators |
Returns a list of all public-facing cruise operators. |
Status
Endpoints for retrieving system status and configuration information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/Status |
Returns current system status including booking availability, call center hours, and maintenance warnings. |
Order
Endpoints for creating and managing parking bookings/orders. Refactored to use service layer with dependency injection for validation checks.
| API | Description |
|---|---|
| POST api/Order?fullScreen={fullScreen}&fiServRequest={fiServRequest} |
Creates or updates a parking booking/order. Validates the booking, processes payments, and initiates payment gateway redirect if required. |
PaymentComplete
Endpoints for retrieving order completion and payment confirmation information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/PaymentComplete?bookingID={bookingID}&bookingHash={bookingHash} |
Returns order success information after payment completion, including order details and confirmation status. |
CountryCodes
Endpoints for retrieving country code information. Refactored to use service layer with dependency injection.
| API | Description |
|---|---|
| GET api/CountryCodes |
Returns a list of all available country codes and names. |