Topic: Creation of a new route
hello all , hope every one is okey
what i do is
"using remote API not javascript "
1 - login and get session id
2- get list for geofence by item search
try the route add api
but it give me error 4
i don't know at route add step how to get itemid or resource id ?
the zone i will create route for
"5":{"n":"xxx 1","i":5,"t":1,"d":0,"ar":0,"pr": xxxxxx secret ---- ,"dr":{"addr":1,"ride_begin":1,"ride_end":1,"color":1669936},"p":" ---Secret ----- ","cp":[{"at":0,"atd":300,"dt":0,"dtd":300,"n":"Jadah1"},{"at":0,"atd":300,"dt":0,"dtd":300,"n":"Jadah2"},{"at":0,"atd":0,"dt":0,"dtd":0,"n":"Jadah"}]}
and add route api
ajax.html?svc=resource/update_route¶ms={%22itemId%22:50936,%22id%22:0,%22callMode%22:create,%22resourceId%22:663,%22zoneId%22:5,%22d%22:%22xx%22,%22n%22:%22xx%22,%22f%22:%220%C3%971%22,%22at%22:%221457938000%22}&sid=XXXX
It give me error 4