MyEZToll
GET/api/partner/v1/cars/{carId}/violations

Car violations by period

List one car's violations over a period — no booking or driver required.

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

carIdstringpathrequired

Query parameters

fromstringquery

Start of the window (UTC, inclusive). Defaults to 30 days before to.

tostringquery

End of the window (UTC, exclusive). Defaults to now.

pageintegerquery

1-based page number.

Default: 1
pageSizeintegerquery

Rows per page. Capped at 1000.

Default: 100

Response

200 · application/json
successbooleanrequired
dataobject

The shape of data on every list endpoint. items is added by each list's own schema.

pageintegerrequired

1-based page number you asked for.

pageSizeintegerrequired
totalintegerrequired

Rows in the whole filtered set

hasMorebooleanrequired

Another page is waiting — request page+1.

itemsViolation[]
errorstringnullable

Status codes

200One page of the car's violations in the window.
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.