Task: Cruise Cabin Availability

The Cruise Category Selection task allows the user to request available cabins in a specified category (cabin type), based on the sailing and rate code.

Section 1: Short Answer

Transaction Name:

CruiseCabinAvailability_1_0

Can any other transactions perform this same task?

No other transaction can perform this same task.

Can this task be performed in a sessionless environment?

This task can be performed in a sessionless environment.

Are the request and response identical on both the Apollo and Galileo systems?

The request and response are allowed only on Apollo.

Industry-specific knowledge required to understand this task.

Understanding of cruise-industry concepts, such as rate codes, categories, features, and options, is required. Knowledge of Galileo's LeisureShopper product is helpful.

Special limits or distinct restrictions to the input data.

There is no cruise-industry standard for encoded data such as credit card codes, ports of call, and airports. The specific data formats must be confirmed with individual vendors. Also, a number of response fields, such as status codes for dining and other options, are free-form text fields. Vendors may supply non-standard responses for these fields.

Note: For Galileo Web Services client applications only, this transaction must be submitted using the SubmitCruiseTransaction method.

Section 2: Detailed Description

Request

Unless otherwise specified, use ALL CAPS in any request data.

The CruiseCabinAvailability_1_0 request follows the same iterative process as CruiseAvailability_1_0. <CabinAvailMods> is sent with all of the following child elements to request specific availability:

Prerequisite Tasks

Sailing, rate code, and category availability are requested using CruiseAvailability_1_0 prior to requesting cabin availability.

Expected Response

If the transaction completes successfully, <CabinAvail> is returned with one or more of the following child elements:

If the vendor needs to verify the agency, <CustomerIdentification> returns with the <TextDisplay>. If it returns with a negative response 'N', the agency needs to contact the cruise line. If a positive response 'Y', the agency will need to re-submit the request.

Error and Warning Responses

If Cruise Category Selection transaction encounters an error, <CabinAvail> is returned with the <ErrText> element. <ErrText> contains the error code, the ID of the element, and text providing a complete error message, including any inserted text items. The following error messages may be received:

0002 – Transaction Not Allowed
0024 – Link Not Available
0042 - Invalid Destination
0045 – Invalid Vendor Code
0048 - Invalid Currency Code
0054 – LeisureShopper Not Available
0091 - Invalid Length
0245 - Invalid Ship Name
0390 – System Error Occurred
1075 - Request Not Available - Cruise Line Air
1076 - Request Not Available - Number in Cabin
1077 - Request Not Available - Origin City Transportation
1078 - Request Not Available - Destination
1079 - Request Not Supported - Destination
1080 - Request Not Supported - Cruise Line Air
1081 – Invalid Package ID
1082 - Request Not Available - Cabin
1083 - Request Not Available - Sailing
1084 - Children Not Allowed
1085 - Time Restriction Applies - Please Call Vendor
1086 - Vendor Air Required
1087 - Invalid Ship Name
1088 - Request Not Supported - Length of Cruise
1089 - Request Not Available - Category
1090 - Request Not Supported - Cruise Line Air
1091 - Request Not Supported - PSGR Departure City
1092 - Invalid Embarkation Port
1093 - Infants Not Allowed
1094 - No Adults Included in Request
1095 - Request Not Available - Rate Code
1096 - Request Not Available - Charter
1097 - Request Not Available - Date Out of Range
1098 - Request Not Supported - Number in Party Exceeds Category Limit
1099 - Cruise Availability - Agency Recognized
1100 - Agency Not Recognized
1101 - Date Requested - Too Close to Departure to Book in LeisureShopper
1330 – KLR ID Does Not Match Request
1333 – Uniglobe Not Allowed
1334 - Invalid Category Changed Indicator
1335 - Invalid Category
1340 - Invalid Vendor Confirmation Number
1341 - Invalid Number of Passengers
1342 - Invalid Rate Code
1343 - Invalid Rate Code Change Indicator
1344 - Invalid Vendor Record ID
1345 - Invalid Disembarkation Port
1346 – Invalid Departure Date
1347 - Invalid Departure City
1348 - Invalid Departure City Changed
1349 - Invalid Air Transportation
1350 - Invalid Air Transportation Change
1351 - Invalid Age
1358 - Invalid Lowest Rate Code Indicator
Text Not Found for MSG NBR - #### (error message number)

For a complete list of cruise errors, see Cruise Error Messages.

Follow-On Requests

After the cabin is selected, the cabin is held for a period of time (typically 15 to 30 minutes) to allow the user to complete the booking.  After the cabin is held, the cabin selection should be finalized by using CruiseCabinHold_1_0.

Section 3: Tables

Request (Input) Tags

<CabinAvailMods>

 Terminal Equivalents:

 Apollo: LSN

 Not available on Galileo.

Ordering

KLR

Min/Max

XML Tag

1

LCA0

1-1

<VendorRegionMods>

2

LCA1

1-1

<SailingMods>

3

LCAC

1-1

<CabinCategoryAvailMods>

Response (Output) Tags

<CabinAvail>

 

Ordering

KLR

Min/Max

XML Tag

1

LCCB

1-1

<CruiseCabins>

2

LCVV

1-1

<VendorChangedData>

 

LCTD

1-1

<CustomerIdentification>

 

LCCX

1-1

<TextDisplay>

 

TEXT

1-1

<TextMsg>

  EROR 1-1

<ErrText>

 

Availability Agency Error

<CabinAvail>

 

Ordering

KLR

Min/Max

XML Tag

1 LCTD 1-1 <CustomerIdentification>
2 LCCX 1-1 <TextDisplay>

 

Related Samples

CruiseCabinAvailability_1_0_1