Click or drag to resize
ParaPlan Logo

TripServiceRemoveTripRequest Method

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

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ObjectResponse<Reservation> RemoveTripRequest(
	TripRequest trip,
	string token,
	string device,
	string tripStatus = "Rejected",
	string notifyRider = "false",
	string reason = ""
)

Parameters

trip
Type: ParaPlan.EntitiesTripRequest
Request to remove. Only the importTripID is required
token
Type: SystemString
device
Type: SystemString
Device name used when logging into API
tripStatus (Optional)
Type: SystemString
How the trip status should be marked. Defaults to Rejected. Can also be Cancelled by Rider and Cancelled by Mobility Manager
notifyRider (Optional)
Type: SystemString
If the rider should be notified. In the case that a Mobility Manager is removing. Defaults to false
reason (Optional)
Type: SystemString
The reason for the removal

Return Value

Type: ObjectResponseReservation
Simple
See Also