Update Report


Updates the report identified by the report.id field; if this field does not exist, then report.external_id will be used if it exists. Any other fields on report that are not None will overwrite values on the report in TruSTAR’s system. Any fields that are None will simply be ignored; their values will be unchanged.

Parameters:report – A Report object with the updated values.
Returns:The Report object.


>>> report = ts.get_report_details(report_id)
>>> print((report.title))
Old Title
>>> report.title = "Changed title"
>>> updated_report = ts.update_report(report)
>>> print((updated_report.title))
Changed Title