1

importing route / routes into Logistics

(13/08/2017 02:56:48 отредактировано jonasf_ph)

Тема: importing route / routes into Logistics

Hello there. 

I have a client with over 1000 trucks to whom I am offering Wialon for their needs.

One of the important features they need is to be able to upload routes for their trucks.  They currently have a route planning software that can generate an Excel file that contains the delivery points/check points (order) with lat/long as well as pre-assigned truck/vehicle for the order. 

While I am not a developer myself, I can get a programmer to help me with creating the web service needed, eventually.. 

Currently, i would just like to ask for a sample of the code for /api/route and also, if possible, a sample file for upload using /api/route for my reference.  It will greatly help me during my meeting with client tomorrow so I can mention that what they want is entirely possible with Wialon.

Thanks.

2

importing route / routes into Logistics

Re: importing route / routes into Logistics

Have a look at Wialon Logistics. It allows importing orders as Excel files

http://apps.wialon.com/#logistics

Nishad Hussain Kaippally
Implementation Specialist, Middle East, Gurtam

"Computer science is no more about computers than astronomy is about telescopes."
3

importing route / routes into Logistics

Re: importing route / routes into Logistics

Hello Jonas,

We are currently working on a WS to integrate ERPs with the Logistics app. Contact me, maybe we can cooperate with you omc@goldenmcorp.com

4

importing route / routes into Logistics

(01/09/2017 19:14:44 отредактировано cerpas)

Re: importing route / routes into Logistics

Hello

In my case, I created a APi for this.But this is on beta.

5

importing route / routes into Logistics

Re: importing route / routes into Logistics

Hi, i'm trying to create a new route in gurtam with the request  order/route_update in the following link of the gurtam api docs https://sdk.wialon.com/wiki/en/sidebar/ … ute_update which has the next parameters
svc=order/route_update&params={ "itemId":<long>,
                "orders":\[\],
                "routeId":<long>,
                "callMode":<text>}
i Send the parameters with PHP like this
$paramsRoute = '{"itemId":15884440,
                "orders":[6,12],
                "routeId":0,
                "callMode":"create"}';   
$arregloRoutes = $wialon_api->order_route_update($paramsRoute."&sid=".$sid."");
where orders means the orders asignet to a specific unit, what i want to do is create a route with those orders in the array of the params orders in the request but in the response of the server i get the error: {"error":3}  which means     Invalid result
Any ideas of what i'm Doing wrong to get that error in the response ??
the final goal is to create a route whit many orders asigned to a unit in logistics.
Hope you can help me guys, Thanks !

6

importing route / routes into Logistics

Re: importing route / routes into Logistics

andresapodaca38 пишет:

Hi, i'm trying to create a new route in gurtam with the request  order/route_update in the following link of the gurtam api docs https://sdk.wialon.com/wiki/en/sidebar/ … ute_update which has the next parameters
svc=order/route_update&params={ "itemId":<long>,
                "orders":\[\],
                "routeId":<long>,
                "callMode":<text>}
i Send the parameters with PHP like this
$paramsRoute = '{"itemId":15884440,
                "orders":[6,12],
                "routeId":0,
                "callMode":"create"}';   
$arregloRoutes = $wialon_api->order_route_update($paramsRoute."&sid=".$sid."");
where orders means the orders asignet to a specific unit, what i want to do is create a route with those orders in the array of the params orders in the request but in the response of the server i get the error: {"error":3}  which means     Invalid result
Any ideas of what i'm Doing wrong to get that error in the response ??
the final goal is to create a route whit many orders asigned to a unit in logistics.
Hope you can help me guys, Thanks !


Hello, andresapodaca38

I answered earlier...
See my comment there https://forum.gurtam.com/viewtopic.php? … 70#p143270

Kind Regards, Gurtam Team

Команда LABS