Get Trip Details
Get Trip Details
Returns the trip with all its legs (itineraries), dates, budgets and the bookings linked to each leg. Use the itineraryId of a leg as tripItineraryId when pushing bookings. If the trip was saved as <tripId>_<id>, pass the original tripId with employeeCode or employeeEmail.
Request Parameters
Path parameters
Trip reference (as returned by Create Trip).
Headers
Query parameters
Trip owner’s employee code. Optional – helps resolve trips saved as <tripId>_<id>.
Trip owner’s email. Used when employeeCode is not sent.
Response
Current Dice trip status: PENDING (approved / active), APPROVAL (waiting for approvers), COMPLETED (travel completed), CANCELLED or DECLINED.
Time-based state, present when both dates exist.
true while the current time is between start and end date.
Trip start. Epoch time in milliseconds (UTC).
Trip end. Epoch time in milliseconds (UTC).
<start> - <end> summary.
Cover image (first destination city).
Total trip budget (travel + stay + allowance + additional amount).
true if the employee books services themselves; false for admin / travel-desk booking.
