Click or drag to resize
ParaPlan Logo

RouteService Class

[Missing <summary> documentation for "T:ParaPlanREST.RouteService"]

Inheritance Hierarchy
SystemObject
  ParaPlanRESTRouteService

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class RouteService

The RouteService type exposes the following members.

Constructors
  NameDescription
Public methodRouteService
Initializes a new instance of the RouteService class
Top
Methods
  NameDescription
Public methodBreakDetails
Get the detail of a break

GET restURL/RouteService/BreakDetails/{breakId}/?Token={token}&Device={device}

Public methodBreakTypes
Get all the break types

GET restURL/RouteService/BreakTypes/?Token={token}&Device={device}

Public methodBuildDate
Builds a day or checks if a date is built
Public methodDriverRoutes
Gets the routes for a driver on a work date.

For all routes for a date, call TripService/FleetmanagersInWrapper

GET restURL/RouteService/Routes?Token={token}&Device={device}&Driver={driverId}&Date={workDate}

Public methodDrivers
All the drivers available

GET restURL/RouteService/Drivers?Token={token}&Device={device}

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRoutes
All the Routes available

GET restURL/RouteService/Vehicles?Token={token}&Device={device}

Public methodSaveFleetmanager
Saves a fleetmanager in ParaPlan

POST restURL/RouteService/SaveFleetmanager?Token={token}&Device={device}

Public methodTestDriverRoutes
Public methodTestNewDB
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateBreak
Adds or saves a break

POST restURL/RouteService/Breaks/Update?Token={token}&Device={device}

Public methodUpdateRoute
Update a route

The only mandatory field is .fleetmanagerID + any fields that have changed. Any fields you pass in that are blank or that are not included will NOT overwrite anything in the database. It is only to going to look at values that are present.

If you need to modify the start or end times of a route, please populate.startTimeJson and.endTimeJson.Use UTC epoch timestamps for these values.

POST restURL/RouteService/Routes/Update?Token={token}&Device={device}

Public methodVehicles
All the vehicles available

GET restURL/RouteService/Vehicles?Token={token}&Device={device}

Top
See Also