Click or drag to resize
ParaPlan Logo

TripServiceRejectTripRequest Method

Rejects a trip request

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

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ObjectResponse<TripRequest> RejectTripRequest(
	TripRequest trip,
	string token,
	string device,
	string reason,
	string notifyRider = "true"
)

Parameters

trip
Type: ParaPlan.EntitiesTripRequest
Request to remove
token
Type: SystemString
device
Type: SystemString
Device name used when logging into API
reason
Type: SystemString
Why the trip was rejected
notifyRider (Optional)
Type: SystemString
If the rider should be notified. In the case that a Mobility Manager is removing. Defaults to true

Return Value

Type: ObjectResponseTripRequest
Simple
See Also