Skip to main content
Create New Route

Authorizations

Authorization
string
header
required

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

Query Parameters

OperatorId
integer<int32>

The unique identifier of the operator for whom the route is being created.

Body

application/json
RouteName
string | null

The name of the route to be created.

RouteCode
string | null

The code used to identify the route to be created.

DriverId
string<uuid>

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

RouteRemarks
string | null

Additional remarks or notes related to the route.

RouteStatusId
integer<int32>

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

Response

200 - application/json

The newly created 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.