Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sidebar:remoteapi:apiref:core:create_route [24/01/2013 14:17]
zuve
en:sidebar:remoteapi:apiref:core:create_route [07/04/2014 06:29]
mast
Line 2: Line 2:
 ====== Create route ====== ====== Create route ======
  
-To create a new route use command **core/​create_route**: ​+To create a new routeuse the command **core/​create_route**: ​
 <code javascript>​ <code javascript>​
 svc=core/​create_route&​params={"​creatorId":<​long>,​ svc=core/​create_route&​params={"​creatorId":<​long>,​
Line 9: Line 9:
 </​code>​ </​code>​
  
-===== Параметры ​===== +===== Parameters ​===== 
-Название ​Описание ​+Name Description ​
-| creatorId | ID пользователя,​ который будет назначен создателем для нового маршрута ​+| creatorId | ID of a user who will be assigned a creator for a new route 
-| name | название нового маршрута ​(at least 4 characters) | +| name | new route name (at least 4 characters) | 
-| dataFlags | флаги видимости для возвращаемого результата ​(см. [[../​format/​route|Форматы объектовМаршруты]])|+| dataFlags | data flags for the response ​(see [[../​format/​route|Data formatRoutes]])|
  
-===== Возвращаемый результат ​=====+===== Response ​=====
 <code javascript>​ <code javascript>​
 { {
- "​item":​{ /​* ​созданный маршрут ​*/+ "​item":​{ /​* ​route created ​*/
  ...   ...
  },  },
- "​flags":<​unit>​ /​* ​примененные флаги видимости ​*/+ "​flags":<​uint>​ /​* ​applied data flags */
 } }
 </​code>​ </​code>​
-Формат поля "item" можно посмотреть в разделе ​[[../​format/​route|Форматы данныхМаршруты]].+You can find the format of “item” in the chapter ​[[../​format/​route|Data formatRoutes]].
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam