MyEZToll
GET/api/partner/v1/bookings/{bookingId}

Get booking

Get one booking.

Authorization

X-Api-Key header

Send your partner key on every request. An owner key acts for its one owner; an integration token also needs the owner's id in the X-Owner-Id header.

Path parameters

bookingIdstringpathrequired

Response

200 · application/json
successbooleanrequired
dataobject
idstring
externalIdstringnullable

Your own booking id

carIdstring
carExternalIdstringnullable
renterIdstring
renterExternalIdstringnullable
dateFromstring <date-time>
dateTostring <date-time>
statusinteger

0=Init, 1=PendingApproval, 6=Approved, 7=Completed, 8=Draft, 17=Canceled.

statusNamestring
pricenumber
isApprovedboolean
sourcestringnullable

Where the booking came from (turo, hqrental, own, ...). A booking created through this API reads "own".

sourceReservationIdstringnullable

The reservation / trip number on that platform (e.g. the Turo trip id), when known.

errorstringnullable

Status codes

200The booking.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.