Command disabled: backlink

Create, edit, delete route

To create/edit/delete route, use command: order/route_update: It used to check notification triggers.

svc=order/route_update&params={ "itemId":<long>,
				"orders":\[\],
				"routeId":<long>,
				"callMode":<text>}

Parameters

Param Description
itemId resource ID
orders array JSON orders and “callmode” for every each order
routeId route ID
callMode action: create, update, delete

:!: Result is similar to batch of order/update.

Response

{"orders":[{
	"id":<uint>,		/* order id */ 
	"f":<uint>,		/* order flags */
	"u":<uint>,		/* unit id */
	"uid":<uint>,		/* order uid */
	"callMode":<text>
    },
    ...
]}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam