v1

latestOpenAPI 3.0.12026-07-26181265484.9 KB
Scheduling

Update Route

Updates the details of an existing route identified by routeId. The request body should include the updated route information.

put/v1/Scheduling/routes

Query parameters

routeIdinteger

The unique identifier of the route to be updated.

Request body

OperatorIdinteger

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

RouteNamestring nullable

The updated name of the route.

RouteCodestring nullable

The updated code used to identify the route.

DriverIdstring uuid

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

RouteRemarksstring nullable

Additional updated remarks or notes related to the route.

RouteStatusIdinteger

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

Response

The updated route details.

RouteIdinteger

The unique identifier of the route.

DriverIdstring uuid nullable

The unique identifier of the driver assigned to the route.

DriverNamestring nullable

The name of the driver assigned to the route.

DriverMobilestring nullable

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

RouteNamestring nullable

The name of the route.

RouteCodestring nullable

The code used to identify the route.

RouteRemarksstring nullable

Additional remarks or notes related to the route.

RouteStatusIdinteger

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

RouteMachineCountstring nullable

The number of machines assigned to the route.

CreatedDtstring date-time

The date and time when the route was created.

CreatedByinteger

The identifier of the user who created the route.

UpdatedDtstring date-time nullable

The date and time when the route was last updated.

UpdatedByinteger nullable

The identifier of the user who last updated the route.