Click or drag to resize
ParaPlan Logo

TripServiceScheduleTrip Method

Schedule a trip to a route

POST restURL/ScheduleTrip?Token={token}&Device={device}&FleetManagerId={fleetManager}

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ObjectResponse<Trip> ScheduleTrip(
	Trip trip,
	string fleetmanagerId,
	string token,
	string device,
	string tripId = "0"
)

Parameters

trip
Type: ParaPlanREST.ModelsTrip
A of Trip to be approved
fleetmanagerId
Type: SystemString
Fleetmanager ID to assign the trip to. Do not pass 0 to unschedule. Use UnscheduleTrip(Trip, String, String) instead
token
Type: SystemString
device
Type: SystemString
Device name used when logging into API
tripId (Optional)
Type: SystemString
Id of trip

Return Value

Type: ObjectResponseTrip
Object that has updated trip.
See Also