Driver Tracking
Search
K

Add

Method Name - POST
ContentType - Application/json
Authorization - Bearer token
Required Json -
{
"addedBy": "
K2ewe5JPjFYl6YI5v30x9IKXAy62
",
"fleetOwner": "
K2ewe5JPjFYl6YI5v30x9IKXAy62
",
"mobileNum": "9999999999",
"name": "TTERHYR",
"phnCode": "91”,
"vehicleCreation":true
}
Param Description :
addedBy - Owner Account Id
fleetOwner - Organisation Owner Account Id
In this add driver API - End Point - addFleetDriver (PrdUrl/addFleetDriver), If the "vehicleCreation":true the trip will be created with the mobile number as vehicle number.
Response
{
"success": true,
"message": "Success",
"data": {
"message": "SUCCESS",
"errorDesc": null,
"errorCode": 100,
"successDesc": null,
"data": "Driver added successfully"
}
}