Skip to main content
Update Driver

Authorizations

Authorization
string
header
required

Enter your Bearer token. It's required to authenticate API requests.

Query Parameters

DriverId
string<uuid>

The unique identifier of the driver to be updated.

Body

application/json
UserId
integer<int64>

The unique identifier of the user associated with the driver.

OperatorId
integer<int64>

The unique identifier of the operator associated with the driver.

DriverStatusId
integer<int32> | null

The status identifier of the driver, indicating their current status.

StartDate
string | null

The date when the driver started working.

DriverLicense
string | null

The driver's license number of the driver.

IdNumber
string | null

The identification number of the driver.

Skills
integer<int32>[] | null

A list of skill identifiers associated with the driver.

WorkingHours
object[] | null

A list of working days and hours for the driver.

Response

200 - application/json

The updated driver details.

Id
string<uuid>

The unique identifier of the driver.

DistributorId
integer<int64>

The unique identifier of the distributor associated with the driver.

OperatorId
integer<int64>

The unique identifier of the operator associated with the driver.

OperatorName
string | null

The name of the operator associated with the driver.

UserId
integer<int64>

The unique identifier of the user associated with the driver.

FullName
string | null

The full name of the driver.

Mobile
string | null

The mobile phone number of the driver.

Email
string | null

The email address of the driver.

DriverLicense
string | null

The driver's license number of the driver.

IdNumber
string | null

The identification number of the driver.

Img
string | null

The URL to the driver's image.

DriverStatusId
integer<int32> | null

The status identifier of the driver, indicating their current status.

StartDate
string | null

The date when the driver started working.

Skills
integer<int32>[] | null

A list of skill identifiers associated with the driver.

WorkingHours
string | null

The working hours of the driver.

CreatedBy
integer<int64>

The identifier of the user who created the driver entry.

CreatedDt
string<date-time>

The date and time when the driver entry was created.

UpdatedBy
integer<int64> | null

The identifier of the user who last updated the driver entry.

UpdatedDt
string<date-time> | null

The date and time when the driver entry was last updated.