Differences

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

Link to this comparison view

en:sidebar:remoteapi:apiref:account:list_change_accounts [11/03/2015 13:34]
en:sidebar:remoteapi:apiref:account:list_change_accounts [11/03/2015 13:34] (current)
Line 1: Line 1:
 +{{indexmenu_n>​4.25}}
 +====== Getting account list for unit migraiton ======
 +In order to get account list for unit migration please use **account/​list_change_accounts**:​
 +<code javascript>​
 +svc=account/​list_change_accounts&​params={"​units":​[<​long>​]}
 +</​code>​
  
 +=====Параметры=====
 +^ Name ^ Description ^
 +| units | unit id array |
 +
 +===== Response =====
 +===Got results===
 +<​code=javascript>​
 +[
 +    {
 + "​id":<​long>,​ /​* account id */
 + "​name":<​text>​ /​* account name */
 +    },
 +    ... /* other valid accounts (if any) */
 +]
 +</​code>​
 +===No results===
 +<​code=javascript>​
 +[]
 +</​code>​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam