Click or drag to resize
ParaPlan Logo

TripService Class

Performs actions and collects information about Trips
Inheritance Hierarchy
SystemObject
  ParaPlanRESTTripService

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class TripService

The TripService type exposes the following members.

Constructors
  NameDescription
Public methodTripService
Initializes a new instance of the TripService class
Top
Methods
  NameDescription
Public methodAddAction
[Deprecated]
Public methodAddAction2
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}

Public methodAddBulkAction
Populate me
Public methodAddComment
Adds a driver comment to a trip
Public methodAddTrip
Add a trip

POST restURL/AddTrip?Token={token}&Device={device}

Public methodAddTripOLD
Add a trip

POST restURL/AddTrip?Token={token}&Device={device}

Public methodAddTripRequest
Request a trip in ParaPlan

POST restURL/TripService/AddTripRequest?Token={token}&Device={device}

Public methodApproveTripRequest
Approve a trip request

POST restURL/ApproveTripRequest?Token={token}&Device={device}

Public methodApproveTripRequest2
Public methodCollectPayment
Stores a payment collected by a driver
Public methodCurrentTrip
Public methodDBChecker
Provides an interface to check the status of a database
Public methodEkidzDate
Date and time of server and offset
Public methodEkidzProcessed
Public methodEkidzTrips
Call specifically designed to work with Ekidz Software
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFleetmanagers
Deprecated Fleetmanager call. Use FleetmanagersInWrapper(String, String, String)
Public methodFleetmanagersByRange
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)

Public methodFleetmanagersInWrapper
Get all available routes for a specific date

GET restURL/TripService/FleetmanagersInWrapper?Token={token}&Device={device}&Date={workDate}

Replaces deprecated Fleetmanagers(String, String, String)

Public methodGetContext
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLogoff
Public methodManifestChanges
Returns a list of trips that have changed since a given timestamp

Call - endpoint/TripService/Trips/Changes?token=(token)&device=(device)&timestamp=(timestamp)

How To Track Manifest Changes documentation
Public methodManifestChangesMarkAsCollected
Marks all manifest changes as collected that are older than timestamp

Call - endpoint/Trips/ManifestChangesProcessed?token=(token)&device=(device)&timestamp=(timestamp)

How To Track Manifest Changes documentation
Public methodManifestChangesSlim
Returns a list of tripIds that have changed since a given timestamp

Call - endpoint/TripService/Trips/ManifestChangesSlim?token=(token)&device=(device)&timestamp=(timestamp)

How To Track Manifest Changes documentation
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNextTrip
Public methodRejectTripRequest
Rejects a trip request

POST restURL/RejectTripRequest?Token={token}&Device={device}&NotifyRider=true&Reason=overcapacity

Public methodRemoveTripRequest
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

Public methodRequestedTrips
View Requested Trips

GET restURL/RequestedTrips?Token={token}&Device={device}&TripSource={tripSource}&TripStatus={tripStatus}&DateRangeStart={dateRangeStart}&DateRangeEnd={dateRangeEnd}

Public methodScheduleTrip
Schedule a trip to a route

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

Public methodScheduleTripFromDriver
Schedules a trip from driver
Public methodTestAddTripRequestNoDO
Public methodTestAddTripWithReturn
Public methodTestCurrent
Public methodTestDenisIssue
Public methodTestDenisIssue2
Public methodTestDenisIssueLandrum
Public methodTestPost
Public methodTestPOSTSub
Public methodTestRemoveTripRequest
Public methodTestRydeTrans
Public methodTestScheduleTripFromConnect2
Public methodTestScheduleTripFromDriver
Public methodTestScheduleTripFromDriver2
Public methodTestTripsForDriver
Public methodTestTripsForDriverKoot
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTripChanges
[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)&timestamp=(timestamp)
Public methodTripDetails
Returns details of specific set of trips
Call - endpoint/TripDetails?Token={token})&Device={device})&tripids={tripIds}
Public methodTripLogs
Returns Trip Schedule History for date range

GET restURL/TripService/TripLogs?Token={token}&Device={device}&StartTime={startTime}&endTime={endTime}

Public methodTrips
[Deprecated]Returns a list of stops based on paramters
Public methodTripsByClient
View ParaPlan Trips

GET restURL/TripsByClient?Token={token}&Device={device}&ClientID={clientId}&DateRangeStart={dateRangeStart}&DateRangeEnd={dateRangeEnd}&Sort={sort}

Public methodTripsByClientTestForDenis
Public methodTripsForDispatcher
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}

Public methodTripsInWrapper
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
Public methodTripsToBeScheduledByDriver
Public methodUnscheduleTrip
Unschedule a trip

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

Public methodUpdateExtraRiders
Updates the number of extra riders on a trip
Public methodUpdateTrip
Updates a trip. Only updates .scheduledPickUpTime and scheduledDropOffTime

POST restURL/TripService/UpdateTrip?Token={token}&Device={device}

Top
See Also