Skip to main content
Update Route

Authorizations

Authorization
string
header
required

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

Query Parameters

routeId
integer<int32>

The unique identifier of the route to be updated.

Body

application/json
OperatorId
integer<int64>

The unique identifier of the operator associated with the route being updated.

RouteName
string | null

The updated name of the route.

RouteCode
string | null

The updated code used to identify the route.

DriverId
string<uuid>

The unique identifier of the driver to be assigned to the updated route.

RouteRemarks
string | null

Additional updated remarks or notes related to the route.

RouteStatusId
integer<int32>

The updated status identifier of the route, indicating its current status.

Response

200 - application/json

The updated route details.

RouteId
integer<int64>

The unique identifier of the route.

DriverId
string<uuid> | null

The unique identifier of the driver assigned to the route.

DriverName
string | null

The name of the driver assigned to the route.

DriverMobile
string | null

The mobile phone number of the driver assigned to the route.

RouteName
string | null

The name of the route.

RouteCode
string | null

The code used to identify the route.

RouteRemarks
string | null

Additional remarks or notes related to the route.

RouteStatusId
integer<int32>

The status identifier of the route, indicating its current status.

RouteMachineCount
string | null

The number of machines assigned to the route.

CreatedDt
string<date-time>

The date and time when the route was created.

CreatedBy
integer<int64>

The identifier of the user who created the route.

UpdatedDt
string<date-time> | null

The date and time when the route was last updated.

UpdatedBy
integer<int64> | null

The identifier of the user who last updated the route.