Update company event score weights
POST
https://fleet.roscolive.com/api/v1.0/driver/scoring/weights
driver
Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request
Body Params multipart/form-data
company_id
integer
optional
partner
user rolesExample:
{{$number.int(min=0,max=9999)}}
weights
string <json>
required
Example:
{
"idling": {
"weight": 2,
"enabled": true
},
"adas_fcw": {
"weight": 3,
"enabled": true
},
"adas_pcw": {
"weight": 3,
"enabled": true
},
"adas_ldw": {
"weight": 3,
"enabled": true
},
"gsensor": {
"weight": 3,
"enabled": true
},
"distraction": {
"weight": 5,
"enabled": true
},
"drowsiness": {
"weight": 4,
"enabled": true
},
"yawning": {
"weight": 3,
"enabled": true
},
"phone_use": {
"weight": 4,
"enabled": true
},
"harshaccel": {
"weight": 3,
"enabled": true
},
"harshbraking": {
"weight": 2,
"enabled": true
},
"low_speeding": {
"weight": 1,
"enabled": true
},
"moderate_speeding": {
"weight": 2,
"enabled": true
},
"high_speeding": {
"weight": 4,
"enabled": true
},
"severe_speeding": {
"weight": 5,
"enabled": true
},
"max_speed": {
"weight": 5,
"enabled": true
},
"seatbelt": {
"weight": 4,
"enabled": true
},
"smoking": {
"enabled": false,
"weight": 5
},
"camera_block": {
"weight": 2,
"enabled": true
}
}
Request samples
Responses
Modified at 2024-11-26 18:46:51