RouteService Class |
[Missing <summary> documentation for "T:ParaPlanREST.RouteService"]
Namespace: ParaPlanREST
public class RouteService
The RouteService type exposes the following members.
Name | Description | |
---|---|---|
RouteService | Initializes a new instance of the RouteService class |
Name | Description | |
---|---|---|
BreakDetails |
Get the detail of a break
GET restURL/RouteService/BreakDetails/{breakId}/?Token={token}&Device={device} | |
BreakTypes |
Get all the break types
GET restURL/RouteService/BreakTypes/?Token={token}&Device={device} | |
BuildDate |
Builds a day or checks if a date is built
| |
DriverRoutes |
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} | |
Drivers |
All the drivers available
GET restURL/RouteService/Drivers?Token={token}&Device={device} | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Routes |
All the Routes available
GET restURL/RouteService/Vehicles?Token={token}&Device={device} | |
SaveFleetmanager |
Saves a fleetmanager in ParaPlan
POST restURL/RouteService/SaveFleetmanager?Token={token}&Device={device} | |
TestDriverRoutes | ||
TestNewDB | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateBreak |
Adds or saves a break
POST restURL/RouteService/Breaks/Update?Token={token}&Device={device} | |
UpdateRoute |
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} | |
Vehicles |
All the vehicles available
GET restURL/RouteService/Vehicles?Token={token}&Device={device} |