| 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"
)
public:
ObjectResponse<Trip^>^ ScheduleTrip(
Trip^ trip,
String^ fleetmanagerId,
String^ token,
String^ device,
String^ tripId = L"0"
)
function ScheduleTrip(trip, fleetmanagerId, token, device, tripId);
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:
ObjectResponseTripObject that has updated trip.
See Also