Table of Contents

Create route

To create a new route, use the command core/create_route:

svc=core/create_route&params={"creatorId":<long>,
			      "name":<text>,
			      "dataFlags":<uint>}

Parameters

Name Description
creatorId ID of a user who will be assigned a creator for a new route
name new route name (at least 4 characters)
dataFlags data flags for the response (see Data format: Routes)

Response

{
	"item":{	/* route created */
		...	
	},
	"flags":<uint>	/* applied data flags */
}

You can find the format of “item” in the chapter Data format: Routes.

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam