This shows you the differences between two versions of the page.
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¶ms={"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> |
|