ApiBookingInfo Data Type

Info about how a trip might be booked at a particular stop. All of this is pass-through information, except information about booking time and booking notice.

Implemented Interfaces
Serializable
Properties
name data type description
contactInfo ApiContactInfo How to contact the agency to book a trip or requests information.
bookingMethods array of string What booking methods are available at this stop time.
earliestBookingTime ApiBookingTime Cannot be set at the same time as minimumBookingNotice or maximumBookingNotice
latestBookingTime ApiBookingTime Cannot be set at the same time as minimumBookingNotice or maximumBookingNotice
minimumBookingNoticeSeconds number Cannot be set at the same time as earliestBookingTime or latestBookingTime
maximumBookingNoticeSeconds number Cannot be set at the same time as earliestBookingTime or latestBookingTime
message string Message to riders utilizing service at a stop_time when booking on-demand pickup and drop off. Meant to provide minimal information to be transmitted within a user interface about the action a rider must take in order to utilize the service.
pickupMessage string Functions in the same way as message but used when riders have on-demand pickup only.
dropOffMessage string Functions in the same way as message but used when riders have on-demand drop off only.

Example

{
  "contactInfo" : {
    "contactPerson" : "...",
    "phoneNumber" : "...",
    "eMail" : "...",
    "faxNumber" : "...",
    "infoUrl" : "...",
    "bookingUrl" : "...",
    "additionalDetails" : "..."
  },
  "bookingMethods" : [ "...", "..." ],
  "earliestBookingTime" : {
    "time" : 12345,
    "daysPrior" : 12345
  },
  "latestBookingTime" : {
    "time" : 12345,
    "daysPrior" : 12345
  },
  "minimumBookingNoticeSeconds" : 12345,
  "maximumBookingNoticeSeconds" : 12345,
  "message" : "...",
  "pickupMessage" : "...",
  "dropOffMessage" : "..."
}