update_analytic
Updates the metadata for a previously stored report, favorite report, or snapshot of a report.
Parameters
- action
- update_analytic
- fid
- The type of the stored analytics object, either "analytics.snapshot" or "analytics.report"
- name
- The unique identifier for the stored analytics object
- favorite
- A flag to determine if this report is in the favorites list or not, "true" or "false"
Example URL
http://<host>:<port>/<context>/web/analytics.xql?action=update_analytic&fid=<value>&name=<value>&favorite=<value>
Successful Result
The full XML instance of the form that has been modified.
Failed Result
In the case of an error, this function returns a standard API result element with a non-zero statusCode (such as, <result status='FAIL' statusCode='200' message='Localized Failure Message' messageKey='message.key'/>). Refer to API Error Code Reference.