update fine
PUT
/update_fineRequisição
Body Params application/json
fine_id
string
required
organization_id
integer
required
vehicle_id
integer
required
driver_id
integer
required
fine_details
object
optional
ait_number
string
required
fine_date
string <date>
required
fine_hour
string <time>
required
due_date
string <date>
optional
driver_indication_deadline
string <date>
optional
fine_status_id
integer
optional
driver_indication_status_id
integer
optional
infraction_id
integer
required
amount_paid
number
optional
discounted_amount_from_driver
number
optional
vehicle_status_id
integer
optional
fine_vehicle_location
string
optional
system_vehicle_location
string
optional
system_vehicle_position
string
optional
fine_files
string
optional
activated
boolean
optional
vehicle_status
integer
optional
cost_center
integer
optional
observation
string
optional
Example
{
"fine_id": "string",
"organization_id": 0,
"vehicle_id": 0,
"driver_id": 0,
"fine_details": {
"ait_number": "string",
"fine_date": "2019-08-24",
"fine_hour": "14:15:22.123Z",
"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": "string",
"fine_files": "string",
"activated": true,
"vehicle_status": 0,
"cost_center": 0,
"observation": "string"
}
}
Exemplos de Requisição
Responses
OK(200)
Código HTTP: 200
Tipo de Conteúdo: JSONapplication/json
fine data
Data Schema
fine_id
string
optional
organization_id
integer
optional
vehicle_id
integer
optional
ait_number
string
optional
fine_date
string <date>
optional
fine_hour
string <time>
optional
driver_id
integer
optional
due_date
string <date>
optional
driver_indication_deadline
string <date>
optional
fine_status_id
integer
optional
driver_indication_status_id
integer
optional
infraction_id
integer
optional
amount_paid
integer
optional
discounted_amount_from_driver
integer
optional
vehicle_status_id
integer
optional
fine_vehicle_location
string
optional
system_vehicle_location
string
optional
system_vehicle_position
object
optional
lat
number
optional
lng
number
optional
fine_files
string
optional
activated
integer
optional
created
string <date>
optional
vehicle_status
string
optional
vehicle_name
string
optional
vehicle_plate_number
string
optional
infraction_code
string
optional
article
integer
optional
infraction
string
optional
seriousness
integer
optional
points_on_driver_license
integer
optional
default_amount
integer
optional
cost_center
integer
optional
Example
Not configured
Last modified: a month ago