 | 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)
Syntaxpublic AddTripResponse AddTrip(
Trip trip,
string token,
string device
)
public:
AddTripResponse^ AddTrip(
Trip^ trip,
String^ token,
String^ device
)
function AddTrip(trip, token, 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:
AddTripResponseObject that has updated tripid.
See Also