airportalSegment Data Type

An abstract segment class that we can use to order our segment objects by.

Namespace
(Default)
Schema
ns0.xsd
Abstract Type
Subtypes
airSegment, carSegment, hotelSegment, trainSegment, travelSegment
Properties
name data type type namespace min/max occurs description
endDate string element 0/1 The end date of the segment
inGds boolean element 1/1 Whether or not the segment is stored in the GDS.
itinerary itinerary element 0/1 Get the itinerary that this segment is connected to.
number int element 0/1 The ordering number of the segment.
startDate string element 0/1 The start date of the segment.
status segmentStatus element 0/1 The status of the segment, like if it is confirmed or on wait list.
Properties inherited from baseHibernateEntity
id long element 0/1 The unique internal ID of the object.
version long element 0/1 For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from baseEntity
violations list of simpleViolation element 0/unbounded A list of constraint violations, if any, that this object has.

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
<a----->
  <number>...</number>
  <status>
    <code>...</code>
    <description>...</description>
    <accepted>...</accepted>
    <confirmed>...</confirmed>
    <virtual>...</virtual>
    <canceled>...</canceled>
    <id>...</id>
    <version>...</version>
  </status>
  <startDate>...</startDate>
  <endDate>...</endDate>
  <inGds>...</inGds>
  <itinerary>
    <recordLocator>...</recordLocator>
    <agentName>...</agentName>
    <client>
      <status/>
      <parentClient/>
      <accountNumber>...</accountNumber>
      <name>...</name>
      <type/>
    </client>
    <office>
      <pcc>...</pcc>
      <name>...</name>
      <address1>...</address1>
      <address2>...</address2>
      <address3>...</address3>
      <city>...</city>
      <state>...</state>
      <zip>...</zip>
      <parentCompany/>
      <active>...</active>
      <branch>...</branch>
      <clientPrefix>...</clientPrefix>
      <profileSettings/>
      <afterHoursNumber>...</afterHoursNumber>
      <collectVoidLogs>...</collectVoidLogs>
      <gds/>
      <arcNumber>...</arcNumber>
      <logo>...</logo>
      <logoLink>...</logoLink>
      <afterHoursInternationalNumber>...</afterHoursInternationalNumber>
      <tollFreeNumber>...</tollFreeNumber>
      <phoneNumber>...</phoneNumber>
      <onlineOffice/>
      <showTmcAppLinks>...</showTmcAppLinks>
      <vipTollFree>...</vipTollFree>
      <vipAfterHours>...</vipAfterHours>
      <cityCode/>
      <tmcHeadQuarters>...</tmcHeadQuarters>
    </office>
    <departureDate>...</departureDate>
    <completionDate>...</completionDate>
    <importDate>...</importDate>
    <gds>
      <code>...</code>
      <name>...</name>
      <enabled>...</enabled>
    </gds>
    <hide>...</hide>
    <citySummary>...</citySummary>
    <departureCity>
      <code>...</code>
      <countryCode>...</countryCode>
      <latitude>...</latitude>
      <longitude>...</longitude>
      <name>...</name>
      <stateOrCountry>...</stateOrCountry>
      <airportName>...</airportName>
      <region/>
      <timeZone/>
      <retentionOnly>...</retentionOnly>
      <position>...</position>
      <unique>...</unique>
      <alias>...</alias>
    </departureCity>
    <arrivalCity>
      <code>...</code>
      <countryCode>...</countryCode>
      <latitude>...</latitude>
      <longitude>...</longitude>
      <name>...</name>
      <stateOrCountry>...</stateOrCountry>
      <airportName>...</airportName>
      <region/>
      <timeZone/>
      <retentionOnly>...</retentionOnly>
      <position>...</position>
      <unique>...</unique>
      <alias>...</alias>
    </arrivalCity>
    <arrivalDate>...</arrivalDate>
    <utcArrivalDate>...</utcArrivalDate>
    <startDate>...</startDate>
    <endDate>...</endDate>
    <purpose>...</purpose>
    <explanation>...</explanation>
    <authorizationCode>...</authorizationCode>
    <costCenterCode>...</costCenterCode>
    <departmentCode>...</departmentCode>
    <clientCode>...</clientCode>
    <regionCode>...</regionCode>
    <billable>...</billable>
    <travelerCode>...</travelerCode>
    <managerCode>...</managerCode>
    <projectCode>...</projectCode>
    <id>...</id>
    <version>...</version>
  </itinerary>
  <id>...</id>
  <version>...</version>
  <violations/>
</a----->