Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
What do you have for ":report"?
And what, if any, parameters are you passing?
Hi Oscar,
Here are some screen shots of using postman to start a report using postman. The first screen shot shows where I setup my Bearer Token and the second is how you can setup a parameter to pull for only a specific term.
Hope this helps.
Thanks Brian! That was it. I needed to put the parameters in the correct place. Once I saw your pic I was able to figure it out.
Using POSTMAN
I went to the body tab, selected “form-data”. For the key I entered “parameters[users]” and for value I entered “true”.
Thanks again!
It looks like you need to specify what to include.
If I POST $server/api/v1/accounts/1/reports/sis_export_csv with no parameters and get an error like yours. But if I specify some thing(s) it runs okay.
For example:
curl -X POST $server/api/v1/accounts/1/reports/sis_export_csv \
-F "parameters[users]=true" \
-F "parameters[enrollments]=true" \
-H "Authorization: Bearer $token"
Hi Peter,
Thanks for your reply. My issue was that I was putting the parameters in the wrong place in POSTMAN.
Using POSTMAN
I went to the body tab, selected “form-data”. For the key I entered “parameters[users]” and for value I entered “true”.
Thanks again!
To participate in the Instructure Community, you need to sign up or log in:
Sign In