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:account:update_flags [29/11/2013 12:31]
127.0.0.1 external edit
en:sidebar:remoteapi:apiref:account:update_flags [28/10/2014 11:42] (current)
Line 2: Line 2:
 ====== Set account settings flags ====== ====== Set account settings flags ======
  
-To set account settings flags, use the command ​**account/​set_flags**: ​+To set account settings flags, ​block and/or deny balance values please ​use **account/​set_flags** ​command
  
 <code javascript>​ <code javascript>​
-svc=account/​set_flags&​params={"​itemId":<​long>,​ +svc=account/​update_flags&​params={"​itemId":<​long>,​ 
-       "​flags":<​long>​}+       "​flags":<​long>, 
 +       "​blockBalance":<​double>,​ 
 +       "​denyBalance":<​double>}
 </​code>​ </​code>​
  
Line 13: Line 15:
 | itemId | resource (account) ID | | itemId | resource (account) ID |
 | flags | account settings flags (see [[get_account_data#​Response | Detailed information about account]]) | | flags | account settings flags (see [[get_account_data#​Response | Detailed information about account]]) |
 +| blockBalance | block balance value |
 +| denyBalance | deny balance value |
 +:!: You can get additional info about kinds of balances in [[./​get_account_data#​account_flags|Account flags]] section.
 +
  
 ===== Response ===== ===== Response =====
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam