list fines
GET
/list_finesRequest
Parâmetros Query
per_page
number
opcional
per_page
Padrão:
15
page
number
opcional
Pagination
Padrão:
0
search_term
string
opcional
search term
start_date
string
opcional
start date
end_date
string
opcional
end date
vehicle_ids
array[number]
opcional
vehicle ids
driver_ids
array[number]
opcional
driver ids
fine_status_ids
array[number]
opcional
fine status ids
ait_number
string
opcional
ait number
due_date_range
array[string]
opcional
due date range
fine_hour_range
array[string]
opcional
fine hour range
Request samples
Respostas
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
list of fines
Esquema de Dados
fines
array [object {31}]
opcional
fine_id
integer
opcional
organization_id
integer
opcional
vehicle_id
integer
opcional
ait_number
string
opcional
fine_date
string <date>
opcional
fine_hour
string <time>
opcional
driver_id
integer
opcional
due_date
string <date>
opcional
driver_indication_deadline
string <date>
opcional
fine_status_id
integer
opcional
driver_indication_status_id
integer
opcional
infraction_id
integer
opcional
amount_paid
integer
opcional
discounted_amount_from_driver
integer
opcional
vehicle_status_id
integer
opcional
fine_vehicle_location
string
opcional
system_vehicle_location
string
opcional
system_vehicle_position
object
opcional
fine_files
string
opcional
activated
integer
opcional
created
string <date>
opcional
vehicle_status
string
opcional
vehicle_name
string
opcional
vehicle_plate_number
string
opcional
infraction_code
string
opcional
article
integer
opcional
infraction
string
opcional
seriousness
integer
opcional
points_on_driver_license
integer
opcional
default_amount
integer
opcional
cost_center
integer
opcional
Exemplo
{
"fines": [
{
"fine_id": 0,
"organization_id": 0,
"vehicle_id": 0,
"ait_number": "string",
"fine_date": "2019-08-24",
"fine_hour": "14:15:22.123Z",
"driver_id": 0,
"due_date": "2019-08-24",
"driver_indication_deadline": "2019-08-24",
"fine_status_id": 0,
"driver_indication_status_id": 0,
"infraction_id": 0,
"amount_paid": 0,
"discounted_amount_from_driver": 0,
"vehicle_status_id": 0,
"fine_vehicle_location": "string",
"system_vehicle_location": "string",
"system_vehicle_position": {
"lat": 0,
"lng": 0
},
"fine_files": "string",
"activated": 0,
"created": "2019-08-24",
"vehicle_status": "string",
"vehicle_name": "string",
"vehicle_plate_number": "string",
"infraction_code": "string",
"article": 0,
"infraction": "string",
"seriousness": 0,
"points_on_driver_license": 0,
"default_amount": 0,
"cost_center": 0
}
]
}
Last modified: a month ago