| 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"
)
public:
ObjectResponse<TripRequest^>^ RejectTripRequest(
TripRequest^ trip,
String^ token,
String^ device,
String^ reason,
String^ notifyRider = L"true"
)
function RejectTripRequest(trip, token, device, reason, notifyRider);
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:
ObjectResponseTripRequestSimple
See Also