Click or drag to resize
ParaPlan Logo

TripServiceAddTrip Method

Add a trip

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

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public AddTripResponse AddTrip(
	Trip trip,
	string token,
	string device
)

Parameters

trip
Type: ParaPlanREST.ModelsTrip
A of Trip to be added
token
Type: SystemString
device
Type: SystemString
Device name used when logging into API

Return Value

Type: AddTripResponse
Object that has updated tripid.
See Also