Creating Reports using Report Executions - Where do I find ID? #1085
-
I'm trying to use the following code and don't know what it is looking for for id_list ='ID HERE' Can someone let me know how to specify (and find the ID). Thanks! from falconpy import ReportExecutions
# Do not hardcode API credentials!
falcon = ReportExecutions(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID HERE'
save_file = "some_file.ext"
response = falcon.get_download(ids=id_list)
open(save_file, 'wb').write(response) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @cyberbeach33 -
You can retrieve this ID from the following operations:
|
Beta Was this translation helpful? Give feedback.
Hi @cyberbeach33 -
You will need the Scheduled Reports scope (READ) assigned to the API client in order to access these operations. 😄
Most service collections (and therefore Service Classes) align to a scope, but there are several that encompass more than one. There are also READ / WRITE authorization requirements depending on the operation used. This is a good documentation enhancement suggestion, we'll add an issue for it.