An abstract segment class that we can use to order our segment objects by.
| name | data type | type | namespace | min/max occurs | constraints | description |
|---|---|---|---|---|---|---|
| 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
<a----->
<number>...</number>
<confirmationNumber>...</confirmationNumber>
<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>
<latest>...</latest>
<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>
<status>
<name>...</name>
<position>...</position>
</status>
<observers>
<status/>
<parentClient/>
<accountNumber>...</accountNumber>
<name>...</name>
<type/>
</observers>
<id>...</id>
<version>...</version>
</itinerary>
<id>...</id>
<version>...</version>
<violations/>
</a----->