Differences
This shows you the differences between two versions of the page.
Next revision
|
Previous revision
|
en:sidebar:remoteapi:apiref:account:update_history_period [23/01/2013 08:43] 127.0.0.1 external edit |
en:sidebar:remoteapi:apiref:account:update_history_period [29/11/2013 13:31] (current) |
{{indexmenu_n>13}} | {{indexmenu_n>13}} |
====== Изменить период хранения статистики ====== | ====== Update history period ====== |
Чтобы изменить срок хранения статистики учетной записи, нужно использовать команду **account/update_history_period**: | |
| To update history period (storage period for account data), use the command **account/update_history_period**: |
| |
<code javascript> | <code javascript> |
</code> | </code> |
| |
===== Параметры ===== | ===== Parameters ===== |
^ Название ^ Описание ^ | ^ Name ^ Description ^ |
| itemId | ID ресурса (учетной записи) | | | itemId | resource (account) ID | |
| historyPeriod | период, дней | | | historyPeriod | history period value, days | |
| |
===== Возвращаемый результат ===== | ===== Response ===== |
<code=javascript> | <code=javascript> |
{} /* пустой объект при удачном выполнении, при неудачном - код ошибки */ | {} /* empty object if execution successful, if not - error code */ |
</code> | </code> |