Table of Contents

OTA Code Lists

Public OTA API has a Code List for each enumerated field.

The OpenTravel Code List spreadsheet is available from the OpenTravel Alliance. The specific Code List to be used is always mentioned in the XSD annotation to that field.

<xs:attribute name="PhoneUseType" type="OTA_CodeType" use="optional">
    <xs:annotation>
		<xs:documentation source="Description" xml:lang="en">Describes the type of telephone 
		number [...]. 
		Refer to OpenTravel Code List Phone Use Type (PUT).</xs:documentation>
    </xs:annotation>
</xs:attribute>    

Code List Mapping

The Code List values are mapped to Seaware values in one of two ways:

  1. A limited set of codes is "hardcoded" to a fixed enumeration in Seaware (example: Reservation Statuses). See the list of hardcoded values below.
  2. All other lists are mapped in Seaware External Tables in accordance with Seaware setup. This mapping can change over time when cruise line setup changes (e.g., a new Phone Type is added).

"Hardcoded" Codes

OTA specification Code List values "hardcoded" in Seaware OTA. All other OTA Code Lists are dynamically mapped in Seaware External Tables in accordance with cruise line setup.

CPK - Cruise Package Type

  • PrePackage: OTA code 2, Seaware Package Class HOTEL
  • PostPackage: OTA code 3, Seaware Package Class HOTEL
  • ShoreEx: OTA code 4, Seaware Package Class SHOREX
  • PreCruiseBus: OTA code 5, Seaware Package Class TRANSFER
  • PostCruiseBus: OTA code 6, Seaware Package Class TRANSFER
  • PreCruiseTransfer: OTA code 7, Seaware Package Class TRANSFER
  • PostCruiseTransfer: OTA code 8, Seaware Package Class TRANSFER
  • PreLandPackage: OTA code 102, Seaware Package Class LAND
  • PostLandPackage: OTA code 103, Seaware Package Class LAND
  • PreTransferOptRequest: OTA code 104, Seaware Package Class TRANSFER_REQ
  • PostTransferOptRequest: OTA code 105, Seaware Package Class TRANSFER_REQ

STS - Status

  • Cancelled: OTA code 16, Seaware Res Status CX
  • Available: OTA code 36, Seaware Inventory Result OK, Seaware Availability Mode OK
  • Closed: OTA code 38, Seaware Inventory Result NO, Seaware Availability Mode ALL, Seaware Res Status CL
  • Offered: OTA code 42, Res Status OF
  • Held: OTA code 48, Res Status SH
  • Waitlisted: OTA code 46, Seaware Inventory Result WTL, Seaware Availability Mode WTL, Seaware Res Status WL
  • Guaranteed: OTA code 47, Seaware Inventory Result GTY, Seaware Availability Mode GTY
  • Booked: OTA code 49, Seaware Res Status BK
  • Confirmed: OTA code 39, Seaware Package Status CONFIRMED
  • PendingRequest: OTA code 70, Seaware Package Status REQUESTED
  • NotApplicable: OTA code 41
  • Terminated: OTA code 201, Seaware Res Status TM
  • Cancelled Terminated: OTA code 202, Seaware Res Status CT
  • No Action Taken: OTA code 19, Seaware Res Status QT

UIT - Unique ID Type

  • Customer: OTA code 1
  • TravelAgency: OTA code 5
  • Group: OTA code 9
  • Reservation: OTA code 14
  • Profile: OTA code 21
  • ProvisionalReservation: OTA code 23
  • TravelAgentPNR: OTA code 24
  • BookingAgent: OTA code 29
  • Contract: OTA code 39
  • Other: OTA code 18

TVS - Travel Service

  • Cruise: OTA code 8

TRP - Transportation

  • Plane: OTA code 14

CHG - Charge Type

  • PerOrder: OTA code 30
  • PerPerson: OTA code 7

AUT - Address Use Type

  • Mailing: OTA code 2

PRT - Profile Type

  • Customer: OTA code 1
  • TravelAgent: OTA code 4

BCT - Booking Channel Type

  • GDS: OTA code 1

DOC - Document Type

  • Visa: OTA code 1
  • Passport: OTA code 2
  • PermanentResidentCard: OTA code 14
  • NonStandard: OTA code 17
  • ID: OTA code ID
  • ID2: OTA code ID2

PMT - Payment Type

  • Cash: OTA code 1
  • Voucher: OTA code 3
  • CC: OTA code 5
  • DC: OTA code 6
  • Check: OTA code 7