Click or drag to resize
ParaPlan Logo

TripServiceAddTripRequest Method

Request a trip in ParaPlan

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

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public AddTripRequestResponse AddTripRequest(
	TripRequest[] trips,
	string token,
	string device
)

Parameters

trips
Type: ParaPlan.EntitiesTripRequest
An array of TripRequest
token
Type: SystemString
device
Type: SystemString
Device name used when logging into API

Return Value

Type: AddTripRequestResponse
Object that describes which trips were entered and which were invalid.
See Also