update_history_period

To update the period during which the account data is stored, use the account/update_history_period method:

Copied!
svc=account/update_history_period&params={"itemId":<long>,
                      "historyPeriod":<int>}

Parameters

The request must contain the following parameters:

Name Description
itemId Resource (account) ID.
historyPeriod History period value, in days. If the value has mask 0x10000, the history period is measured in months.

Response

If the history period is updated successfully, an empty object is returned.

Otherwise, an error code is returned.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form

Download PDF file
Download Word document

See also