TripService Class |
Namespace: ParaPlanREST
public class TripService
The TripService type exposes the following members.
Name | Description | |
---|---|---|
TripService | Initializes a new instance of the TripService class |
Name | Description | |
---|---|---|
AddAction |
[Deprecated]
| |
AddAction2 |
Attaches a log event to a trip
GET restURL/Trips/AddAction2/{tripId}/{actionType}?Token={token}&Device={device}&UserID={userId}&Timestamp={timestamp}&Value={value}&lat={lat}&lng={lng} | |
AddBulkAction |
Populate me
| |
AddComment |
Adds a driver comment to a trip
| |
AddTrip |
Add a trip
POST restURL/AddTrip?Token={token}&Device={device} | |
AddTripOLD |
Add a trip
POST restURL/AddTrip?Token={token}&Device={device} | |
AddTripRequest |
Request a trip in ParaPlan
POST restURL/TripService/AddTripRequest?Token={token}&Device={device} | |
ApproveTripRequest |
Approve a trip request
POST restURL/ApproveTripRequest?Token={token}&Device={device} | |
ApproveTripRequest2 | ||
CollectPayment |
Stores a payment collected by a driver
| |
CurrentTrip | ||
DBChecker |
Provides an interface to check the status of a database
| |
EkidzDate |
Date and time of server and offset
| |
EkidzProcessed | ||
EkidzTrips |
Call specifically designed to work with Ekidz Software
| |
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.) | |
Fleetmanagers |
Deprecated Fleetmanager call. Use FleetmanagersInWrapper(String, String, String) | |
FleetmanagersByRange |
Get all available routes for a specific date range
GET restURL/TripService/FleetmanagersByRange?Token={token}&Device={device}&StartRange={startEpoch}&EndRange={endEpoch} Replaces deprecated Fleetmanagers(String, String, String) | |
FleetmanagersInWrapper |
Get all available routes for a specific date
GET restURL/TripService/FleetmanagersInWrapper?Token={token}&Device={device}&Date={workDate} Replaces deprecated Fleetmanagers(String, String, String) | |
GetContext | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Logoff | ||
ManifestChanges |
Returns a list of trips that have changed since a given timestamp Call - endpoint/TripService/Trips/Changes?token=(token)&device=(device)×tamp=(timestamp) How To Track Manifest Changes documentation | |
ManifestChangesMarkAsCollected |
Marks all manifest changes as collected that are older than timestamp Call - endpoint/Trips/ManifestChangesProcessed?token=(token)&device=(device)×tamp=(timestamp) How To Track Manifest Changes documentation | |
ManifestChangesSlim |
Returns a list of tripIds that have changed since a given timestamp Call - endpoint/TripService/Trips/ManifestChangesSlim?token=(token)&device=(device)×tamp=(timestamp) How To Track Manifest Changes documentation | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NextTrip | ||
RejectTripRequest |
Rejects a trip request
POST restURL/RejectTripRequest?Token={token}&Device={device}&NotifyRider=true&Reason=overcapacity | |
RemoveTripRequest |
Removes a TripRequest. Intended for the case where rider is removing on their own. Deprecated
POST restURL/RemoveTripRequest?Token={token}&Device={device}&TripStatus=Rejected&NotifyRider=true&Reason=Overcapacity | |
RequestedTrips |
View Requested Trips
GET restURL/RequestedTrips?Token={token}&Device={device}&TripSource={tripSource}&TripStatus={tripStatus}&DateRangeStart={dateRangeStart}&DateRangeEnd={dateRangeEnd} | |
ScheduleTrip |
Schedule a trip to a route
POST restURL/ScheduleTrip?Token={token}&Device={device}&FleetManagerId={fleetManager} | |
ScheduleTripFromDriver |
Schedules a trip from driver
| |
TestAddTripRequestNoDO | ||
TestAddTripWithReturn | ||
TestCurrent | ||
TestDenisIssue | ||
TestDenisIssue2 | ||
TestDenisIssueLandrum | ||
TestPost | ||
TestPOSTSub | ||
TestRemoveTripRequest | ||
TestRydeTrans | ||
TestScheduleTripFromConnect2 | ||
TestScheduleTripFromDriver | ||
TestScheduleTripFromDriver2 | ||
TestTripsForDriver | ||
TestTripsForDriverKoot | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TripChanges |
[Deprecated] Use ManifestChanges(String, String, String)
Returns a list of trips that have changed since a given timestamp
Call - endpoint/Trips/Changes?token=(token)&device=(device)×tamp=(timestamp) | |
TripDetails |
Returns details of specific set of trips
Call - endpoint/TripDetails?Token={token})&Device={device})&tripids={tripIds} | |
TripLogs |
Returns Trip Schedule History for date range
GET restURL/TripService/TripLogs?Token={token}&Device={device}&StartTime={startTime}&endTime={endTime} | |
Trips |
[Deprecated]Returns a list of stops based on paramters
| |
TripsByClient |
View ParaPlan Trips
GET restURL/TripsByClient?Token={token}&Device={device}&ClientID={clientId}&DateRangeStart={dateRangeStart}&DateRangeEnd={dateRangeEnd}&Sort={sort} | |
TripsByClientTestForDenis | ||
TripsForDispatcher |
Returns full trips to be used by dispatchers. Has full PU and DO information. Different than TripsInWrapper which returns individual stops.
GET restURL/TripService/TripsForDispatchers?Token={token}&Device={device}&StartTime={startTime}&endTime={endTime} | |
TripsInWrapper |
Returns a list of stops based on paramters
Call - restUrl/TripsService/TripsInWrapper/Changes?token=(token)&device=(device)&Driver=(driverID)&Date=(tripDate)&Client=(clientID)&DateDelta=(dateDelta)&v2=1 | |
TripsToBeScheduledByDriver | ||
UnscheduleTrip |
Unschedule a trip
POST restURL/UnscheduleTrip?Token={token}&Device={device}&FleetManagerId={fleetManager} | |
UpdateExtraRiders |
Updates the number of extra riders on a trip
| |
UpdateTrip |
Updates a trip. Only updates .scheduledPickUpTime and scheduledDropOffTime
POST restURL/TripService/UpdateTrip?Token={token}&Device={device} |