Type name: TrainReservation
Extends Reservation
Name | Type | Description |
---|---|---|
bookingAgent | Organization or Person | Booking agent or agency. Also accepts a string (e.g. ""). |
bookingAgent.name | Text | Name of the agent/service. |
bookingAgent.url | URL | Website of the agent/service. |
bookingTime | DateTime | Date the reservation was made. |
cancelReservationUrl | URL | Web page where reservation can be cancelled. |
checkinUrl | URL | Webpage where the passenger can check in. |
confirmReservationUrl | URL | Web page where reservation can be confirmed. |
modifiedTime | DateTime | (recommended for Confirmation Cards/Search Answers) Time the reservation was last modified. |
modifyReservationUrl | URL | (recommended for Confirmation Cards/Search Answers) Web page where reservation can be modified. |
programMembership | ProgramMembership | Any membership in a frequent flyer, hotel loyalty program, etc. being applied to the reservation. |
programMembership.memberNumber | Text | The identifier of the membership. |
programMembership.program | Text | The name of the program. |
reservationFor (Required) |
TrainTrip | Information about the train trip. |
reservationFor.arrivalPlatform | Text | The platform where the train arrives. |
reservationFor.arrivalStation (Required) |
TrainStation | The station where the train ends. |
reservationFor.arrivalStation.name (Required) |
Text | Name of the TrainStation. |
reservationFor.arrivalTime (Required) |
DateTime | The expected arrival time. |
reservationFor.departurePlatform | Text | The platform where the train departs. |
reservationFor.departureStation (Required) |
TrainStation | The station where the train departs. |
reservationFor.departureStation.name (Required) |
Text | Name of the TrainStation. |
reservationFor.departureTime (Required) |
DateTime | The expected departure time. |
reservationFor.trainCode | Text | The unique identifier for the train. |
reservationFor.trainCompany | Organization | The organization that operates the train. Also accepts a string (e.g. ""). |
reservationFor.trainName | Text | The name of the train. |
reservationFor.trainNumber | Text | (recommended for Confirmation Cards/Search Answers) The number for the train. |
reservationNumber (Required) |
Text | The number or id of the reservation. |
reservationStatus (Required) |
ReservationStatus | Current status of the reservation. |
reservedTicket | Ticket | Ticket information. |
reservedTicket.additionalTicketText | Text | Additional explanatory text about the ticket. |
reservedTicket.downloadUrl | URL | . |
reservedTicket.price | Text | Total price of the ticket. |
reservedTicket.priceCurrency | Text | The currency (in 3-letter ISO 4217 format) of the ticket's price. |
reservedTicket.printUrl | URL | . |
reservedTicket.ticketedSeat | Seat | The location of the reserved seat (e.g., 27B). . |
reservedTicket.ticketedSeat.seatingType | Text | The type/class of the seat. |
reservedTicket.ticketedSeat.seatNumber | Text | The location of the reserved seat. |
reservedTicket.ticketedSeat.seatRow | Text | The row location of the reserved seat. |
reservedTicket.ticketNumber | Text | The number or id of the ticket. |
reservedTicket.ticketToken | URL or Text | If the barcode image is hosted on your site, the value of the field is URL of the image, or a barcode or QR URI, such as "barcode128:AB34" (ISO-15417 barcodes), "qrCode:AB34" (QR codes), "aztecCode:AB34" (Aztec codes), "barcodeEAN:1234" (EAN codes) and "barcodeUPCA:1234" (UPCA codes). |
reservedTicket.underName | Organization or Person | The Person or organization the ticket is for. |
reservedTicket.underName.name | Text | Name of the Person. |
underName | Organization or Person | The passenger. |
underName.email | Text | Email address. |
underName.name | Text | (recommended for Confirmation Cards/Search Answers) Name of the Person. |
url | URL | Web page where reservation can be viewed. |