On This Page
REST API
travelInformation. legs[]. departureDate
Departure date and time of each leg of the trip.
For example, if route is
SFO-JFK: JFK-LHR: LHR-MUM
, then SFO-JFK
is leg 0 and LHR-MUM is leg2.The leg number can be a positive integer from 0 to N. The departure time in leg N+1 must be higher than the departure time in leg N.
Use one of the following shared formats:
- yyyy-MM-dd HH:mm z
- yyy-MM-dd hh:mm a z
- yyyy-MM-dd hh:mma z
HH = hour in 24-hour format
hh = hour in 12-hour format
a = a.m. or p.m. (case insensitive)
z = time zone of the departing flight, for example: If the airline is based in city A, but the flight departs from city B, z is the time zone of city B at the time of departure.
IMPORTANT
For travel information, use GMT or offset from GMT.
2020-03-20 11:30 pm GMT
2020-03-20 11:30 pm GMT-05:00
When specifying an offset from GMT, the format must be exactly as specified in the example. Insert no spaces between the time zone and the offset.
Specifications
- Data Type:Date Time
- Data Length:25
Mapping Information
- REST API Field:travelInformation.legs.[].departureDate
- SCMP API Field:decision_manager_travel_legnum_departure_time
- Simple Order API Field:decisionManager_travelData_leg_#_departureDateTime