Train Segment
Name |
Train Segment |
Code |
TrainSeg |
Source |
Entity TrainSeg |
XML Element |
BookingData/TravelSegments/TrainSegment |
Description
A train segment (train vendor's unit of inventory) that has been reserved as part of the itinerary represented by the Travel Order.
Fields
Travel Order Event Identifier
Field Label |
TravelOrderIdentifier |
XML Element |
No equivalent XML. |
Attributes |
4 N |
Status |
Mandatory |
Description |
A programmatically generated number that uniquely identifies travel order event. Passed to this table from the TravelOrderEvent table. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Train Segment Number
Field Label |
TrainSegmentNbr |
XML Element |
SegmentNbr |
Attributes |
2 N |
Status |
Mandatory |
Description |
Itinerary segment number as indicated in the PNR/Bookng File. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Train Service Type
Field Label |
ServiceType |
XML Element |
ServiceType |
Attributes |
1 A/N |
Status |
Optional |
Description |
Type of train service for this segment. |
Event Type |
Booking Fare Quote |
Allowable Values |
R Rail B Bus |
Segment Status
Field Label |
SegmentStatus |
XML Element |
StatusCode |
Attributes |
2 A/N |
Status |
Optional |
Description |
A value that indicates the status of an air travel segment from the airline. It communicates whether the air segment is confirmed, on request, waitlisted, unable to be confirmed or has undergone a schedule change. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Departure Date
Field Label |
DepartureDate |
XML Element |
DepartureDate |
Attributes |
10 A/N |
Status |
Optional |
Description |
The date on which travel for this segment is initiated. Formatted: YYYY-MM-DD. Blank if no date. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Departure Time
Field Label |
DepartureTime |
XML Element |
DepartureTime |
Attributes |
5 A/N |
Status |
Optional |
Description |
The time on which travel for this segment is initiated. Formatted in a 24-hour clock with a colon. For example: 13:45 equals 1:45 pm. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Vendor Code
Field Label |
VendorCode |
XML Element |
VendorCode |
Attributes |
3 A/N |
Status |
Optional |
Description |
The vendor providing air travel for this segment. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Train Number
Field Label |
TrainNbr |
XML Element |
TrainNbr |
Attributes |
5 A/N |
Status |
Optional |
Description |
The vendor-assigned number that identifies this specific train segment. Blank if not available. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Booking Code
Field Label |
BookingCode |
XML Element |
BookingCode |
Attributes |
2 A/N |
Status |
Optional |
Description |
A value that identifies the train class of service that is being purchased. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Arrival Time
Field Label |
ArrivalTime |
XML Element |
ArrivalTime |
Attributes |
5 A/N |
Status |
Optional |
Description |
The arrival time for this train segment. Formatted in a 24-hour clock with a colon. For example: 13:45 equals 1:45 pm. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Change Of Day
Field Label |
ChangeOfDay |
XML Element |
ChangeOfDay |
Attributes |
4 A/N |
Status |
Optional |
Description |
Indicates whether segment arrives on the next day. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Number of Seats
Field Label |
NumberofSeats |
XML Element |
NbrOfSeats |
Attributes |
2 N |
Status |
Optional |
Description |
Indicates the number of seats reserved for this segment. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Board Point
Field Label |
BoardPoint |
XML Element |
BoardPoint |
Attributes |
23 A/N Variable |
Status |
Optional |
Description |
The origin of the train segment. The board point is typically a city code; however, some vendors may return a full city name. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Off Point
Field Label |
OffPoint |
XML Element |
OffPoint |
Attributes |
23 A/N Variable |
Status |
Optional |
Description |
The destination of the train segment. The off point is typically a city code; however, some vendors may return a full city name. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Sell Type
Field Label |
SellType |
XML Element |
SellType |
Attributes |
1 A |
Status |
Optional |
Description |
Indicates the type of sell. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Tariff Type
Field Label |
TariffType |
XML Element |
TariffType |
Attributes |
1 A |
Status |
Optional |
Description |
Indicates the type of tariff. |
Event Type |
Booking Fare Quote |
Allowable Values |
M Metroliner C Conventional null Not Available |
Confirmation Number
Field Label |
ConfirmatinNbr |
XML Element |
ConfirmationNbr |
Attributes |
4 A/N |
Status |
Optional |
Description |
The confirmed reservation from the vendor. The value is null if not available. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |
Free-Form Text
Field Label |
Text |
XML Element |
FreeText |
Attributes |
255 A/N Variable |
Status |
Optional |
Description |
Free-form text. |
Event Type |
Booking Fare Quote |
Allowable Values |
Not applicable. |