1

Issue on service order/optimize

(26/09/2018 21:02:39 отредактировано cerpas)

Тема: Issue on service order/optimize

Hello i have an issue whit logistics optimizer i need create a route on demand based in a w3w direction all works fine but with I need the time from be the current time flag 0x80 = 128,  This does not happen. For your information i send flags 131 like your on wialon logistics but the time to visit my first point allways is the initial time when the order or warehouse was create.

Request and response bellow.

request with flag131

{"itemId":resourcce id,"orders":[4026,4027,4028],"units":[unit id],"warehouses":[],"flags":131,"criterions":[],"gis":{"addPoints":1,"provider":1,"speed":60,"cityJams":1,"countryJams":1},"priority":{}}

Request if you convert this time stamp in the GTM time is Wednesday, 26 September 2018 6:00:00 but should be Wednesday, 26 September 2018 17:53:56

{"unit id":{"orders":[{"id":2,"ml":0,"tm":1537941600,"p":""},{"id":1,"ml":1961,"tm":1537942430,"p":"q_cuA|jesOB_BJm@??FWN{@??t@eCTe@VGR?TR??FkAJM??BGV]??`@Kb@Jh@Jn@`A`@j@RVBJ??Ow@?_@JYXS^G??GCOYaAe@OSI_@??HuA??B]Nm@??BEp@_Af@Y??lAy@??aAyA??g@yBOe@??EK??GS??K_@??GKe@oAk@wA??SSQY_@_@GKKG??a@Yc@E??BeBJgA??Be@Fm@B_@??CeA?q@?s@Cg@?WGG??We@??Qk@??jBB"},{"id":0,"ml":5231,"tm":1537943299,"p":"awbuAbgcsON???{BC??Pj@??Vd@??FF?VBf@?r@?p@BdA??C^Gl@Cd@??KfACdB??b@D`@X??JFFJ^^PXRR??j@vAd@nAFJ??J^??FR??DJ??Nd@f@xB??`AxA??J`@l@v@x@xA??|@nB??b@~@??T\\??`AzBZd@NL??FBJ?PFNBNFFLJVH^JX??RXR^H^Nl@?D??O`@Q\\GT??RH??\\L??Js@^a@`Aw@??PSJq@B_@??f@mD??x@gI??PmA??Fe@Jo@??x@gH??F]??f@kE??BY??LUR_B??j@K??c@_@??RgB??BK??XyBJS??F?BEBK??BG???E?KCG??GC???g@CaC??p@?lAE??bDA??F???B???|@C??`@J??Z?J?NE??`@AV?T?R???^CLE^???hAQ??J???ImI"}]},"success":1}

Really I have no idea what I do wrong .

Best regards