Get Booking Details
Get Booking Details
Returns a booking pushed through the Booking APIs, including its status, trip link, captured attributes, attachments and ticket details. Only bookings created through these APIs can be fetched (403 otherwise).
Request Parameters
Path parameters
transId
Your booking reference used at creation.
Headers
DICE-APP-ID
Company Code of client
X-CLIENT-ID
API Client ID
X-CLIENT-SECRET
API Client Secret
Response
OK
success
Always true on HTTP 200.
transId
Your booking reference.
transactionId
Internal Dice transaction id.
service
Booking type.
Allowed values:
amount
Booking amount.
currency
Currency.
bookingStatus
Booking status.
Allowed values:
expenseStatus
Expense status code: 3 = booked / active, 7 = cancelled.
bookingDate
Booking date. Epoch time in milliseconds (UTC).
tripId
Attached trip.
tripItineraryId
Attached itinerary leg.
fields
All captured booking attributes as key/value strings (PNR, airline, invoice fields, cancellation info, …).
files
Ticket / invoice attachments.
ticket
Structured ticket (flight / hotel / bus) as stored in Dice. Shape depends on service.
