Topic: How to generate routeId
Hello guys.
I traying create a route through sdk, For guide me,I use the browser debugger on logistics all right so far, when I try to create a route the service order / route_update asks me for the idRoute param, normally when creating an object in wialon the id of the object is zero (0), but in this case logistisc generates the next number "routeId": 1502145623982, I do not understand where that number comes from me. Could you explain me how to get it? or How I can generate this? or What is this number?.
request
{"itemId":14622130,"orders":[{"uid":0,"id":0,"n":"almacen 1","p":{"n":"","p":"","p2":"","e":"","a":"ADUANA TONCONTIN","v":0,"w":0,"c":"","ut":600,"t":"","d":"hola","uic":"","cid":"","r":{"vt":1502145504,"ndt":1200,"id":1502145623982,"i":0,"m":0,"t":0},"aff":"","z":"","ntf":0,"cm":"","tags":""},"f":4,"tf":1502085600,"tt":1502171940,"r":100,"y":14.0558204651,"x":-87.2209701538,"u":560458,"s":0,"sf":0,"trt":3600,"st":0,"cnm":0,"rp":"","ej":{},"callMode":"create"},{"uid":38,"id":8,"n":"tyrtyrtyrty","p":{"n":"","p":"","p2":"","e":"","a":"Aldea El Guayabal_FMO","v":0,"w":0,"c":0,"ut":600,"t":"","d":"","uic":"","cid":"","r":{"vt":1502146418,"ndt":1200,"id":1502145623982,"i":1,"m":6549,"t":914},"aff":"","z":"","ntf":0,"cm":"","pr":0,"tags":[]},"f":1,"tf":1502114400,"tt":1502146800,"r":100,"y":14.0568418503,"x":-87.252456665,"u":560458,"s":0,"sf":0,"trt":3600,"st":0,"cnm":0,"rp":"mixtAznjsOe@M??h@Lp@Pv@N??dAHX???J???`AE??p@C??VGb@G??`@Kx@Y??JdANfB??J???WsD??lBs@d@K??x@Ab@?d@?t@FdBj@FF??jGxBp@XrCjAfCxAfDdBdAl@??rBlAhBdA\\Tf@X`Ah@x@`@h@PV^ZX??`@l@x@jArCfEvG`KfDtF`@bAVz@NdAFjA?fAC^??OrAc@`BUp@??s@~B??C@_BvE??iB|E??e@vAeA`D??wBrGeA`DcDzH{BlHSx@??c@jB?L??a@fEKrD???x@CX??YnPOrG_@`DqA~CeAdA??a@d@g@`@??wFpE_CbAwBd@oDJ}AMkBWC???{H_AQ???uEG{BLaB^aAd@gDrBuAdAsAr@[F??q@Gc@Q]SOSGYC_A??Bk@??t@gBr@gAx@kA??t@MZY\\_AR_@","ej":{},"callMode":"update"},{"uid":39,"id":9,"n":"tytryrytyrty","p":{"n":"","p":"","p2":"","e":"","a":"Cuarta Avenida Sur, Colonia Altos De Miramontes, Distrito Central, Honduras","v":0,"w":0,"c":0,"ut":600,"t":"","d":"","uic":"","cid":"","r":{"vt":1502147568,"ndt":1200,"id":1502145623982,"i":2,"m":10807,"t":1150},"aff":"","z":"","ntf":0,"cm":"","pr":0,"tags":[]},"f":1,"tf":1502114400,"tt":1502146800,"r":100,"y":14.0802621841,"x":-87.1996688843,"u":560458,"s":0,"sf":0,"trt":3600,"st":0,"cnm":0,"rp":"goxtAbnpsOS^]~@[Xu@L??y@jAs@fAu@fB??[d@sAfC??Op@??y@???yBKkBe@aEaCkQoK??{CeBa@McG_E??SK??eAg@??[QwCgBkCyAwAeAiA_AyAoCq@yAg@_BO_A??Bk@JS??FKRS??RSTSFQFSFY??BWBs@Js@Fe@@[??Fq@JSReA|@sEd@gBJm@BQBSBQRyDNaC??FeB???M???Q?M?KCY??Ge@_@gB???K?M?QBOJ]V{@Xq@FQBSBM?K???E?S?QCMCQKYOSsB_DSa@QSOQ??OGeAQ}@Q[M}@g@a@YKK??KK??KKi@[WWOSMY??GSKWCM??KKGYGY?Y?M???I?YBY???MCMGQQG??OCKB]@WDSE??YKg@OKI??GAYOSASGQKSKWS??KSQWCAKYKWCMKYGQISOWS[CE??WKYY??GSGQ?_@?A???Q?GCKGY??Gi@IU??CE??CKCY?ECG???IG[??OYO_@QK??GG??WKSSKQ??BU?[EUOQSS[Ya@S??GK??OG]]WYe@_@KMCESSKMYWSK??q@_@o@YYa@CKCEBYFa@B]GWGI??CCSUYQ??c@S_@EYE??k@?m@CaAAi@Jo@LYD[ASI??UG_CcBOA_@@cBVaBB??gB`@G???gDl@[He@L??_@Ja@Cy@S??o@Y??]K??SSOSKYA_@Cy@Gk@SmA??O_EC_A??Y}N??G}C?aANgATy@j@}@Xa@V]`@Un@Yx@Q`AMnHPXC^GxAYp@Y??tAk@??pCgA??lAk@??jDqA??d@S|A{@|@q@??t@g@tByAvCqB`DsBlA[p@KlAW??n@EdAKx@IpAe@t@Y??l@k@Za@`@u@ZyA??Fg@BmAFsC??`@uP??J_B??By@BaA??F_EGaAWeAe@kAmBsD??_B{C_@m@??oCkF??mAaC??YeAF]PU^M\\?ZHRXFd@CjA??[dASf@QVST[b@??eAt@}@b@YLO@??c@Jm@Ne@@[D??g@@mCG??aCS??YqBKiA??GW?e@Fe@Fm@BYPYNQRQCOGWK_@Qy@Oa@We@uA_B??y@d@??i@Z??GBg@^uCgC??yAfC????","ej":{},"callMode":"update"},{"uid":0,"id":0,"n":"almacen 4","p":{"n":"","p":"","p2":"","e":"","a":"ADUANA TONCONTIN","v":0,"w":0,"c":"","ut":600,"t":"","d":"","uic":"","cid":"","r":{"vt":1502148478,"ndt":1200,"id":1502145623982,"i":3,"m":5856,"t":910},"aff":"","z":"","ntf":0,"cm":"","tags":""},"f":8,"tf":1502114400,"tt":1502146800,"r":100,"y":14.0558204651,"x":-87.2209701538,"u":560458,"s":0,"sf":0,"trt":3600,"st":0,"cnm":0,"rp":"c`}tAfdfsOy@m@Ss@Oe@OQ]Y??eApA??[[aE{C??i@\\w@b@??fDpC??}A`F]d@??bCf@bBj@??BrB??E?G?CFCH???F?HJH??w@vA??C???YfC??Bx@??J\\??vBQnCQ~BG~BK`BKtQU??zBHtBNpAHhAPp@Pl@Rf@^`AlA??vB~D`@fAR~@JdAOxFUzI??SrH??C|@GpC??CrAKdA]x@[d@W`@m@b@i@`@g@J??q@EWEQWG[?QB[h@eANQRG\\?RFNPXZ??R|@RxA??Fj@HTJPNXJVTLVLVJ??TR??VDZDXDZ?l@K??v@E`@?V?`@J??t@Rf@VRLLRNRZx@`@v@Zf@d@`@v@ZhATnBJ??t@LxA^tA^vAf@??^Nh@Xf@d@??\\ZR^R\\??Jb@Ph@??v@`B??TR^b@TT??b@^h@V^J??V@dAV??d@H??dAVt@Pn@JjALf@J??tA@vAPhANlAV??b@J\\L??r@P??nA^tA^??`Bl@??pDlAnDjA??t@RRJ??h@Lp@Pv@N??w@Oq@QC?","ej":{},"callMode":"create"}],"routeId":1502145623982,"callMode":"create"}