list_change_accounts
To get a list of accounts to which you can transfer a unit, use the list_change_accounts method:
svc=account/list_change_accounts¶ms={"units":[<long>],"dataFlags":<long>}
Parameters
The request must contain the following parameters:
| Parameter | Description |
|---|---|
| units | Array of unit IDs. |
| dataFlags | Optional. Response data flags. The default value is 0x1: the ID and name of each account are returned. If 0 is specified, an empty array is returned. |
Response
If the request is completed successfully, a response of the following format is returned:
[
{
"id":<long>, /* Account ID. */
"name":<text> /* Account name. */
},
... /* Other valid accounts (if any). */
]