An element that represents a segment of air travel in an itinerary.
| name | data type | type | namespace | min/max occurs | constraints | description |
|---|---|---|---|---|---|---|
| airVendor | airVendor | element | 0/1 | The airline that provides the flight. | ||
| aircraft | aircraftType | element | 0/1 | The aircraft that is used on the flight. | ||
| arrivalAirport | city | element | 0/1 | Arrival Airport Code. | ||
| arrivalDate | dateTime | element | 1/1 | required | Arrival date for the air segment | |
| arrivalTerminal | string | element | 0/1 | max size: 50, min size: 0 | Arrival terminal for the segment. | |
| classOfService | classOfService | element | 0/1 | The class of service code for this segment. | ||
| string | element | 0/1 | max size: 20, min size: 0 | The code share flight number. | ||
| string | element | 0/1 | max size: 100, min size: 0 | Code share information. | ||
| departureAirport | city | element | 0/1 | Departure Airport Code. | ||
| departureDate | dateTime | element | 1/1 | required | Departure date for the air segment | |
| departureTerminal | string | element | 0/1 | max size: 50, min size: 0 | Departure terminal for the segment. | |
| elapsedFlightTime | int | element | 0/1 | The time that elapsed during the flight. | ||
| flightMiles | long | element | 0/1 | Miles that the flight covers. | ||
| flightNumber | string | element | 0/1 | max size: 5, min size: 0 | The flight number. | |
| flightTime | long | element | 0/1 | The accumulated flight time of the flight | ||
| groundTime | int | element | 0/1 | The time elapsed on the ground. Timezones are taken into account. | ||
| legMileage | int | element | 0/1 | The mileage for this flight. | ||
| meal | meal | element | 0/1 | The meal plan that the traveler will enjoy on the flight. | ||
| percentageOnTime | int | element | 0/1 | The percentage that this trip is on time. | ||
| reservation | reservation | element | 0/1 | The reservation / ticket this segment was bought with. | ||
| responseLocator | string | element | 0/1 | max size: 11, min size: 0 | Response locator string. | |
| seats | list of seat | element | 0/unbounded | The seats bought for this flight. | ||
| stopOvers | list of stopOver | element | 0/unbounded | The stop overs that this flight will have. | ||
Properties inherited from airportalSegment |
||||||
| confirmationNumber | string | element | 0/1 | The ordering number of the segment. | ||
| endDate | string | element | 0/1 | The end date of the segment | ||
| inGds | boolean | element | 1/1 | required boolean | 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
<airSegment>
<classOfService>
<vendor>
<airlineNumber>...</airlineNumber>
<checkinLink>...</checkinLink>
<baggageLink>...</baggageLink>
<alliance/>
<lowCostCarrier>...</lowCostCarrier>
<longCode>...</longCode>
<manualTicketingOnly>...</manualTicketingOnly>
<airTicketsUseOrigIssueDate>...</airTicketsUseOrigIssueDate>
<mcoTicketsUseOrigIssueDate>...</mcoTicketsUseOrigIssueDate>
<minDomesticValue>...</minDomesticValue>
<minIntlValue>...</minIntlValue>
<position>...</position>
<imageUrl>...</imageUrl>
</vendor>
<code>...</code>
<description>...</description>
<serviceLevel>
<name>...</name>
<code>...</code>
<value>...</value>
</serviceLevel>
<basic>...</basic>
<transAtlantic>...</transAtlantic>
<id>...</id>
<version>...</version>
</classOfService>
<arrivalAirport>
<code>...</code>
<countryCode>...</countryCode>
<latitude>...</latitude>
<longitude>...</longitude>
<name>...</name>
<stateOrCountry>...</stateOrCountry>
<airportName>...</airportName>
<region>
<name>...</name>
<code>...</code>
<country/>
<position>...</position>
</region>
<timeZone>
<name>...</name>
<offset>...</offset>
<daylightSavingsOffset>...</daylightSavingsOffset>
</timeZone>
<retentionOnly>...</retentionOnly>
<position>...</position>
<unique>...</unique>
<alias>...</alias>
<id>...</id>
<version>...</version>
</arrivalAirport>
<arrivalDate>...</arrivalDate>
<arrivalTerminal>...</arrivalTerminal>
<departureAirport>
<code>...</code>
<countryCode>...</countryCode>
<latitude>...</latitude>
<longitude>...</longitude>
<name>...</name>
<stateOrCountry>...</stateOrCountry>
<airportName>...</airportName>
<region>
<name>...</name>
<code>...</code>
<country/>
<position>...</position>
</region>
<timeZone>
<name>...</name>
<offset>...</offset>
<daylightSavingsOffset>...</daylightSavingsOffset>
</timeZone>
<retentionOnly>...</retentionOnly>
<position>...</position>
<unique>...</unique>
<alias>...</alias>
<id>...</id>
<version>...</version>
</departureAirport>
<departureDate>...</departureDate>
<departureTerminal>...</departureTerminal>
<flightTime>...</flightTime>
<flightMiles>...</flightMiles>
<flightNumber>...</flightNumber>
<airVendor>
<airlineNumber>...</airlineNumber>
<checkinLink>...</checkinLink>
<baggageLink>...</baggageLink>
<alliance>
<sharesFrequentFlyerNumbers>...</sharesFrequentFlyerNumbers>
<name>...</name>
<code>...</code>
</alliance>
<lowCostCarrier>...</lowCostCarrier>
<longCode>...</longCode>
<manualTicketingOnly>...</manualTicketingOnly>
<airTicketsUseOrigIssueDate>...</airTicketsUseOrigIssueDate>
<mcoTicketsUseOrigIssueDate>...</mcoTicketsUseOrigIssueDate>
<minDomesticValue>...</minDomesticValue>
<minIntlValue>...</minIntlValue>
<position>...</position>
<imageUrl>...</imageUrl>
<code>...</code>
<name>...</name>
</airVendor>
<responseLocator>...</responseLocator>
<seats>
<seatNumber>...</seatNumber>
<passenger>
<age>...</age>
<customNameData>...</customNameData>
<prefix>...</prefix>
<firstName>...</firstName>
<middleName>...</middleName>
<lastName>...</lastName>
<suffix>...</suffix>
<worldspanName>...</worldspanName>
<itinerary/>
<user/>
<email>...</email>
<position>...</position>
<passportLastDigits>...</passportLastDigits>
<knownTravelerNumberLastDigits>...</knownTravelerNumberLastDigits>
</passenger>
<status>
<code>...</code>
<description>...</description>
</status>
<id>...</id>
<version>...</version>
</seats>
<reservation>
<ticketNumber>...</ticketNumber>
<issueDate>...</issueDate>
<electronic>...</electronic>
<type>
<name>...</name>
</type>
<status>
<name>...</name>
</status>
<payments>
<amount>...</amount>
<currency>...</currency>
<paymentCode>...</paymentCode>
<creditCardType>...</creditCardType>
<notes>...</notes>
<lastDigits>...</lastDigits>
</payments>
<hidden>...</hidden>
<passengerName>...</passengerName>
<totalAmount>...</totalAmount>
<baseAmount>...</baseAmount>
<taxes>
<amount>...</amount>
<code>...</code>
</taxes>
<vendor>...</vendor>
<addCollect>...</addCollect>
<commissionAmount>...</commissionAmount>
<refundable>...</refundable>
<exchangedTicketNumber>...</exchangedTicketNumber>
<fareCalculation>...</fareCalculation>
<endorsement>...</endorsement>
<id>...</id>
<version>...</version>
</reservation>
<stopOvers>
<arrivalDate>...</arrivalDate>
<departureDate>...</departureDate>
<segment/>
<city>
<code>...</code>
<countryCode>...</countryCode>
<latitude>...</latitude>
<longitude>...</longitude>
<name>...</name>
<stateOrCountry>...</stateOrCountry>
<airportName>...</airportName>
<region/>
<timeZone/>
<retentionOnly>...</retentionOnly>
<position>...</position>
<unique>...</unique>
<alias>...</alias>
</city>
<id>...</id>
<version>...</version>
</stopOvers>
<legMileage>...</legMileage>
<percentageOnTime>...</percentageOnTime>
<codeShareInformation>...</codeShareInformation>
<codeShareFlightNumber>...</codeShareFlightNumber>
<groundTime>...</groundTime>
<meal>
<mealCode>...</mealCode>
<description>...</description>
<position>...</position>
<id>...</id>
<version>...</version>
</meal>
<elapsedFlightTime>...</elapsedFlightTime>
<aircraft>
<code>...</code>
<name>...</name>
<id>...</id>
<version>...</version>
</aircraft>
<number>...</number>
<confirmationNumber>...</confirmationNumber>
<status>
<code>...</code>
<description>...</description>
<accepted>...</accepted>
<confirmed>...</confirmed>
<virtual>...</virtual>
<canceled>...</canceled>
</status>
<startDate>...</startDate>
<endDate>...</endDate>
<inGds>...</inGds>
<itinerary>
<recordLocator>...</recordLocator>
<agentName>...</agentName>
<client/>
<office/>
<departureDate>...</departureDate>
<completionDate>...</completionDate>
<importDate>...</importDate>
<gds/>
<latest>...</latest>
<citySummary>...</citySummary>
<departureCity/>
<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>
<status/>
<observers/>
</itinerary>
<id>...</id>
<version>...</version>
</airSegment>