Skip to main content
PATCH
Change a violation

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Path Parameters

id
string
required

The case's id.

violationId
string
required

The violation's id.

Body

application/json
ordinance_id
string

One of your ordinances, switched on. Its code and name are copied onto the violation.

action
enum<string>
Available options:
warning,
citation
person_id
string | null

Who it is issued to.

animal_id
string | null
happened_at
string<date-time>

Now when left out.

citation_number
string | null

A citation's. Left out or empty, it is numbered by the year, as C-2026-0001. Unique.

Maximum string length: 40
fine_cents
integer | null

A citation's. The ordinance's usual fine when left out.

Required range: x >= 0
fine_due_on
string<date> | null
notes
string | null
Maximum string length: 2000
status
enum<string>
Available options:
issued,
paid,
contested,
dismissed
paid_on
string<date> | null

With status paid; today when left out.

status_notes
string | null
Maximum string length: 1000

Response

The case as it now is, with its violations.

case
object