GET
/api/partner/v1/bookings/{bookingId}/violationsBooking violations
List the violations of one booking.
The citations of a single rental: those already linked to the booking, plus the ones its car collected inside the rental window. A citation with no issue date is deliberately left out — with no date there is nothing tying it to this rental rather than the one before or after it.
Authorization
X-Api-Key headerSend 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
bookingIdstringpathrequiredOur booking id OR your own external booking id.
Query parameters
pageintegerquery1-based page number.
Default:
1pageSizeintegerqueryRows per page. Capped at 1000.
Default:
100Response
200 · application/jsonsuccessbooleanrequireddataobjectThe shape of data on every list endpoint. items is added by each list's own schema.
pageintegerrequired1-based page number you asked for.
pageSizeintegerrequiredtotalintegerrequiredRows in the whole filtered set
hasMorebooleanrequiredAnother page is waiting — request page+1.
itemsViolation[]errorstringnullableStatus codes
200One page of the booking's violations.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.
