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
Next revision Both sides next revision
en:sidebar:remoteapi:apiref:order:update [15/08/2017 16:46]
stan
en:sidebar:remoteapi:apiref:order:update [09/04/2019 11:50]
chdi [Response]
Line 1: Line 1:
 {{indexmenu_n>​1}} {{indexmenu_n>​1}}
 ====== Update order ====== ====== Update order ======
-Basic method to work with orders is **orders/update**:+Basic method to work with orders is **order/update**:
  
 ====How to start?==== ====How to start?====
Line 13: Line 13:
  "​id":<​long>,​  ​   /* order id (0 if create) */  "​id":<​long>,​  ​   /* order id (0 if create) */
  "​n":<​text>,​  ​   /* order name */  "​n":<​text>,​  ​   /* order name */
 + "​oldOrderId":<​long>,​ /​* old oreder id */
 + "​oldOrderFiles":​[<​text>​],​ /* old order files array */
  "​​p":​​{  ​   /​* ser-defined object content */  "​​p":​​{  ​   /​* ser-defined object content */
       "​n":<​text>,​ /​* client name */       "​n":<​text>,​ /​* client name */
Line 139: Line 141:
  "​vt":<​text> ​   /* visit time according to the plan, UNIX_TIME */  "​vt":<​text> ​   /* visit time according to the plan, UNIX_TIME */
      },      },
- "​​rp":<​text>,​​ /​​* order route */+ "​​rp":<​text>,​​ /​​* order route, google polyline encoding format ​*/
  "​​f":<​​uint>,​​ /​​* order flags */  "​​f":<​​uint>,​​ /​​* order flags */
  "​tf":<​​uint>,​​ /​​* lower bound of order completion time, UNIX-time */   "​tf":<​​uint>,​​ /​​* lower bound of order completion time, UNIX-time */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam