Click or drag to resize
ParaPlan Logo

RouteServiceUpdateRoute Method

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}

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public SimpleResponse UpdateRoute(
	Fleetmanager fm,
	string token,
	string device
)

Parameters

fm
Type: ParaPlanREST.ModelsFleetmanager
json object containing updated route information
token
Type: SystemString
Token from API Login
device
Type: SystemString
Device name used when logging into API

Return Value

Type: SimpleResponse
Response object with success or failure (with error message)
See Also