AnsweredAssumed Answered

Using the reports API

Question asked by William Lehnertz on May 17, 2016
Latest reply on May 18, 2016 by William Lehnertz

Any admins use the APIs to pull reports?

Background: Trying to automate reports, so we can import certain data into our CRM.

Scripting Language: Python

Report: Zero activity report

 

I'm trying to automate a few report, but this one is specifically giving me problems right now. I only want a report for the past week. Currently, I receive the All Terms. I pass in the URL parameters below:

params['start_at'] = '2016-05-10T17:00:00Z'
params['enrollment_term_id'] = '13'

I know the term id is correct, as I have pulled it from a previous report I ran. My guess is the date format is wrong, or there's a bug in the API. I pulled the date format from the API docs. I wish the docs included more info about the reports.

 

Any help would be appreciated.

Outcomes