okay, so with a bit of help from a colleague I got this working. If anyone wants the answer here is code that should work +++++++++++++++++++++++ Code sample +++++++++++++++++++++++++++++++++++++++++++++++ import jsonimport requests if __name__ == '__main__':headers = {'content-type': 'application/json'}user_details = {'UserName': user,'Password': password,'SessionType': 'API'}session_info = requests.post('https:// /api/SessionService/Sessions',verify=False,data=json.dumps(user_details),headers=headers)  headers['X-Auth-Token'] = session_info.headers['X-Auth-Token']  report_details = {'ReportDefId': 'id','FilterGroupId': '0'} hba_reports_response = requests.post('https:// /api/ReportService/Actions/ReportService.RunReport',verify=False,data=json.dumps(report_details),headers=headers)  hba_report_data = requests.get('https:// /api/ReportService/ReportDefs(id)/ReportResults/ResultRows',headers=headers, verify=False) print(hba_report_data.text)  +++++++++++++++++++++++++++++++++++++ End of code sample +++++++++++++++++++++++++++++++
Trying to run a report and download info via REST API and requests library in Python Have managed to get the report to run but cannot pass the parameter for the ReportID using  /api/ReportService/ReportDefs(Id)/ReportResults/Result as I cannot work out how to pass the Id parameter.  Can anyone give me a hint? As you can tell I am a bodger rather than a programmer.
REST API - Reading Report