5 Days and 10,000 lines of code later

Jothi Priyadharshan
Jothi Priyadharshan
Co-founder & CTO
May 16, 2019

Introducing Trips V2

Say hello to our new version of Trips feature which now allows you to improve your delivery service with optimized routes and real time tracking.

With this new version we currently support below types of trips.

  1. Destination Only
  2. Single Origin and Destination
  3. Multiple Origins and Destinations (Coming Soon!)

Destination Only

Usually these types of trips will have only destination and user assigned to that trip. The trip can be started by the user and can be stopped once the user reached the destination.

Single Origin and Destination

Here, trips are created with an origin and destination location along with a user assigned to that. The user has to reach the origin location to start the trip and it is completed once the user reaches the destination location.

Multiple Origins and Destinations (Coming Soon!)

Imagine your users have to go through multiple origin locations once the trip is started and to complete the trip, they have to go to multiple destinations. This is something our team will be updating next.

Additional Features

We did not stop there. To give more control over the trips, we have added below extras to do more.

  1. Realtime Webhook Events
  2. Live Trip Tracking URL

Realtime Webhook Events

To our current support to Webhook events for user activity change and geofence events, we are adding realtime events for trips. The supported events and its format will look something like below.

{ "id": "5bd8db1cea008447a0e2b5a8", "started_at": "2018-06-12T13:44:10.535Z", "created_at": "2018-06-12T13:44:10.535Z", "updated_at": "2018-06-12T13:44:10.535Z", "type": "trip:started", "user": { "id": "56db1f4613012711002229f4", "description": "Jane Doe" }, "location": { "coordinates": { "type": "Point", "coordinates": [ -73.977797, 40.783826 ] }, "accuracy": 5 }, "origins": [ { "id": "5c055fcadd93883304f007ac", "coordinates": { "type": "Point", "coordinates": [ -55.6721382, -27.1020693 ] }, "created_at": "2019-01-17T22:37:59.640", "updated_at": "2019-01-17T22:37:55.000" } ], "destinations": [ { "id": "5c055fcadd93883304f007ac", "coordinates": { "type": "Point", "coordinates": [ -55.6721382, -27.1020693 ] }, "created_at": "2019-01-17T22:37:59.640", "updated_at": "2019-01-17T22:37:55.000" } ] }

Below event types for the trips:

trip:started trip:completed trip:user_reached_origin trip:user_left_origin trip:user_reached_destination trip:created trip:user_added trip:origin_added trip:destination_added trip:updated trip:deleted

Live Trip Tracking URL

To ensure your deliveries are happening on-time, we provide you the live tracking url for optimizing the route realtime and tracking the delivery end to end .

This tracking url is unique for all the trips and are created along with the trips. These urls can be shared with anyone and they are optimized for all devices. The url can be accessed by anyone as they do not need any authentication.

Use Cases

With our Trips V2, you can track the trips realtime, provide realtime notifications and alerts and automate your entire logistics solution.

Below are the widely used use cases where our trips can be integrated.

  1. Delivery Management
  2. Field Service Management
  3. Appointments

How to get started

To start using our Trips V2 as your solution, follow the below steps.

  1. Create an account with Roam.
  2. Create a new project and add your application from GeoSpark dashboard.
  3. Integrate our SDKs into your mobile application.
  4. Create trips using our Trips V2 Exposed API collection.

Unlock Location Technology

Product
Jothi Priyadharshan
Jothi Priyadharshan
Co-founder & CTO
May 16, 2019