Skip to main content

Hi,

I’ve seen that I can get a RestAPI call for a report like it is mentioned in that topic:
 

 

How do I use this URL e.g. in a python script?
Have I just to run a command like the following after I’ve done a login?
 

payload={}
headers = {
'Accept': 'application/json',
'Authtoken': token
}
url = <API CALL URL>
response = requests.request("GET", url, headers=headers, data=payload)

 

Second Question, which permissions are necessary to keep the user rights as secure as possible?

 

BR
Jan

Hi @JanR , yes the url can be directly used. for the permission question, you could give “execute report” permission at the individual report level or the entire commcell level to execute the reports based on your preference.


Hi MaheshPrakash,

great, it works!
Thx!


Reply