1

Route/Round Configuration

Тема: Route/Round Configuration

Please take a look in the attached screenshot.

As per our requirement, Admin can create journey, select unit, passenger, driver and trailor.

Journey can be one way, two way or multi-way.

When clicking on Done button what we need to do? Which API we need to call create round OR create route ?

  • Route/Round Configuration
2

Route/Round Configuration

Re: Route/Round Configuration

samir.agile пишет:

Please take a look in the attached screenshot.

As per our requirement, Admin can create journey, select unit, passenger, driver and trailor.

Journey can be one way, two way or multi-way.

When clicking on Done button what we need to do? Which API we need to call create round OR create route ?

Good afternoon!

It is possible to use the request create_route for route creation. After that you can use the request update_checkpoints to add checkpoints to the route. And also you can use the request update_round to create/update/delete round

3

Route/Round Configuration

(21/02/2019 08:09:44 отредактировано samir.agile)

Re: Route/Round Configuration

muev пишет:
samir.agile пишет:

Please take a look in the attached screenshot.

As per our requirement, Admin can create journey, select unit, passenger, driver and trailor.

Journey can be one way, two way or multi-way.

When clicking on Done button what we need to do? Which API we need to call create round OR create route ?

Good afternoon!

It is possible to use the request create_route for route creation. After that you can use the request update_checkpoints to add checkpoints to the route. And also you can use the request update_round to create/update/delete round


Thanks for your help.
Now after creating route using create_route and update_checkpoints, we need to also track that journey so Do we need to create round (update_round)?

In our case as per above attached screenshot, Do we need to create round after create_route and update check_points?

As per above screenshot can you please tell me which update_check points we should use from map, geofence or unit ?

4

Route/Round Configuration

Re: Route/Round Configuration

Now after creating route using create_route and update_checkpoints, we need to also track that journey so Do we need to create round (update_round)?

Yes, you are right. You neeed to use round for route tracking. See more about round here https://docs.wialon.com/en/hosting/user/routes/rounds

In our case as per above attached screenshot, Do we need to create round after create_route and update check_points?

Yes, you need to create round after route creation because you assign round with route.

As per above screenshot can you please tell me which update_check points we should use from map, geofence or unit ?

It depends on your goal.

5

Route/Round Configuration

Re: Route/Round Configuration

muev пишет:

Now after creating route using create_route and update_checkpoints, we need to also track that journey so Do we need to create round (update_round)?

Yes, you are right. You neeed to use round for route tracking. See more about round here https://docs.wialon.com/en/hosting/user/routes/rounds

In our case as per above attached screenshot, Do we need to create round after create_route and update check_points?

Yes, you need to create round after route creation because you assign round with route.

As per above screenshot can you please tell me which update_check points we should use from map, geofence or unit ?

It depends on your goal.

That sounds great.

How can I track the Journey?
Is there any APIs for that?
We need to track the journey in map (live tracking)

6

Route/Round Configuration

Re: Route/Round Configuration

You can subscribe on necessary unit events by update_data_flags. For example, set 0x20 to "flags" field to subscribe for unit messages. Periodically receive events by request avl_evts, get position data from these messages and track them on your map. Or you can subscribe on Route events with flag 0x00000800 for rounds and check round state

7

Route/Round Configuration

Re: Route/Round Configuration

muev пишет:

Now after creating route using create_route and update_checkpoints, we need to also track that journey so Do we need to create round (update_round)?

Yes, you are right. You neeed to use round for route tracking. See more about round here https://docs.wialon.com/en/hosting/user/routes/rounds

In our case as per above attached screenshot, Do we need to create round after create_route and update check_points?

Yes, you need to create round after route creation because you assign round with route.

As per above screenshot can you please tell me which update_check points we should use from map, geofence or unit ?

It depends on your goal.

Hello Team,

While creating Journey using below APIs as per our previous discussion in this post :-

for create_route :: https://sdk.wialon.com/wiki/en/sidebar/ … eate_route
update check points :: https://sdk.wialon.com/wiki/en/sidebar/ … heckpoints
create round :: https://sdk.wialon.com/wiki/en/sidebar/ … date_round

in create round API there field name sh(schedule id) then do we also need to create_schedule API?
because we need to track this journey also.
please help us regarding this.