Location based Assignments
HyperTrack can help you accurately determine nearby-N users from a particular location. This can be used to assign actions to your users
measure the distance and time traveled by your users. This may be used to charge your customers for their orders, or reimburse users for fuel and maintenance costs, or measure the productivity of your workforce.
Any transaction (pickup, delivery, visit etc.) is represented by Action objects in HyperTrack API. You can create, assign, and complete actions through API calls to HyperTrack. These calls can be made from your backend or smartphone app. We measure time elapsed and distance travelled between assign action and complete action calls. Mileage information is available to you through /meter API call.
Step 1: Plug in the SDK and start tracking
Step 2: Create an action
Follow the guides here to create an action. Remember to give an expected place, which will be used to find nearby users.
Step 3: Query for nearby users
Use the nearby API to query for nearby APIs, given the action you have created. The results are sorted in ascending order of time from the location.
Step 4: Assign the action
Use the assign actions API API to assign the action to a user of your choice.
Step 5: Stop tracking
HyperTrack.stopTracking() methods in the SDK, in case you want to stop tracking at any point. This will work for Android and iOS.